mirror of
https://github.com/intel/llvm.git
synced 2026-01-12 18:27:07 +08:00
[docs][NFC] Resolve mismatched backticks (#155883)
Fix various backtick mismatches. NFC.
This commit is contained in:
@@ -297,7 +297,7 @@ Instrumentation code outlining
|
||||
|
||||
By default AddressSanitizer inlines the instrumentation code to improve the
|
||||
run-time performance, which leads to increased binary size. Using the
|
||||
(clang flag ``-fsanitize-address-outline-instrumentation` default: ``false``)
|
||||
(clang flag ``-fsanitize-address-outline-instrumentation`` default: ``false``)
|
||||
flag forces all code instrumentation to be outlined, which reduces the size
|
||||
of the generated code, but also reduces the run-time performance.
|
||||
|
||||
|
||||
@@ -343,7 +343,7 @@ Class:
|
||||
Description:
|
||||
This is a formatter which represents the argument number in a human-readable
|
||||
format: the value ``123`` stays ``123``, ``12345`` becomes ``12.34k``,
|
||||
``6666666` becomes ``6.67M``, and so on for 'G' and 'T'.
|
||||
``6666666`` becomes ``6.67M``, and so on for 'G' and 'T'.
|
||||
|
||||
**"objcclass" format**
|
||||
|
||||
|
||||
@@ -273,7 +273,7 @@ Bug Fixes in This Version
|
||||
``#pragma pop_macro("")``. (#GH149762).
|
||||
- Fix a crash in variable length array (e.g. ``int a[*]``) function parameter type
|
||||
being used in ``_Countof`` expression. (#GH152826).
|
||||
- `-Wunreachable-code`` now diagnoses tautological or contradictory
|
||||
- ``-Wunreachable-code`` now diagnoses tautological or contradictory
|
||||
comparisons such as ``x != 0 || x != 1.0`` and ``x == 0 && x == 1.0`` on
|
||||
targets that treat ``_Float16``/``__fp16`` as native scalar types. Previously
|
||||
the warning was silently lost because the operands differed only by an implicit
|
||||
|
||||
@@ -128,7 +128,7 @@ precedence. Here are a few examples.
|
||||
type:T
|
||||
|
||||
$ cat ignorelist4.txt
|
||||
# Function `bad_bar`` will be instrumented.
|
||||
# Function `bad_bar` will be instrumented.
|
||||
# Function `good_bar` will not be instrumented.
|
||||
fun:*
|
||||
fun:*bar
|
||||
|
||||
@@ -8823,7 +8823,7 @@ AST_MATCHER(OMPDefaultClause, isFirstPrivateKind) {
|
||||
/// #pragma omp for
|
||||
/// \endcode
|
||||
///
|
||||
/// `ompExecutableDirective(isAllowedToContainClause(OMPC_default))`` matches
|
||||
/// ``ompExecutableDirective(isAllowedToContainClause(OMPC_default))`` matches
|
||||
/// ``omp parallel`` and ``omp parallel for``.
|
||||
///
|
||||
/// If the matcher is use from clang-query, ``OpenMPClauseKind`` parameter
|
||||
|
||||
@@ -23,7 +23,7 @@ void f0(S0 *p) {
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
// PST containing an empty union with `[[no_unique_address]]`` - pass in registers.
|
||||
// PST containing an empty union with `[[no_unique_address]]` - pass in registers.
|
||||
typedef struct {
|
||||
fvec32 x[4];
|
||||
[[no_unique_address]]
|
||||
|
||||
@@ -80,7 +80,7 @@ static void callee0() {}
|
||||
void callee1() {}
|
||||
typedef void (*FPT)();
|
||||
FPT calleeAddrs[] = {callee0, callee1};
|
||||
// `global_func`` might call one of two indirect callees. callee0 has internal
|
||||
// `global_func` might call one of two indirect callees. callee0 has internal
|
||||
// linkage and callee1 has external linkage.
|
||||
void global_func() {
|
||||
FPT fp = calleeAddrs[0];
|
||||
|
||||
Reference in New Issue
Block a user