File tree Expand file tree Collapse file tree 5 files changed +7
-6
lines changed Expand file tree Collapse file tree 5 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ This check is an alias for
1111Used to enforce parts of `rule 5.4.1
1212<https://www.perforce.com/resources/qac/high-integrity-cpp-coding-standard-expressions> `_.
1313This check will enforce that constructors and conversion operators are
14- marked `explicit `. Other forms of casting checks are implemented in
14+ marked `` explicit ` `. Other forms of casting checks are implemented in
1515other places. The following checks can be used to check for more forms
1616of casting:
1717
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ code (e.g. when a different parameter is used instead). The suggested fixes
88either comment parameter name out or remove the parameter completely, if all
99callers of the function are in the same translation unit and can be updated.
1010
11- The check is similar to the `` -Wunused-parameter ` ` compiler diagnostic and
11+ The check is similar to the `-Wunused-parameter ` compiler diagnostic and
1212can be used to prepare a codebase to enabling of that diagnostic. By default
1313the check is more permissive (see :option: `StrictMode `).
1414
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ modernize-unary-static-assert
44=============================
55
66The check diagnoses any ``static_assert `` declaration with an
7- empty string literal and provides a fix-it to replace the
7+ empty string literal and provides a fix-it note to replace the
88declaration with a single-argument ``static_assert `` declaration.
99
1010The check is only applicable for C++17 and later code.
Original file line number Diff line number Diff line change @@ -38,8 +38,8 @@ declaration of ``S``.
3838Even when compiling in a language version older than C++20, depending on your
3939compiler, designated initializers are potentially supported. Therefore, the
4040check is by default restricted to C99/C++20 and above. Check out the options
41- `` -Wc99-designator ` ` to get support for mixed designators in initializer list
42- in C and `` -Wc++20-designator ` ` for support of designated initializers in older
41+ `-Wc99-designator ` to get support for mixed designators in initializer list
42+ in C and `-Wc++20-designator ` for support of designated initializers in older
4343C++ language modes.
4444
4545Options
Original file line number Diff line number Diff line change @@ -10,7 +10,8 @@ The replaced and replacement functions can be customised by configuration
1010options. Each argument that is the result of a call to
1111``std::string::c_str() `` and ``std::string::data() `` will have that
1212now-unnecessary call removed in a similar manner to the
13- `readability-redundant-string-cstr ` check.
13+ `readability-redundant-string-cstr
14+ <../readability/redundant-string-cstr> ` check.
1415
1516In other words, it turns lines like:
1617
You can’t perform that action at this time.
0 commit comments