Skip to content

Commit 127d7f0

Browse files
committed
fix docs links and literal
1 parent a78c181 commit 127d7f0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

clang-tools-extra/docs/clang-tidy/checks/modernize/use-constexpr.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ in subsequent runs of this check.
1717
For variables, the check will only detect variables that can be declared
1818
``constexpr`` if they are already ``const``.
1919
This is because this check would have to duplicate the expensive analysis of the
20-
:doc:`misc-const-correctness<clang-tidy/checks/misc/const-correctness>` check.
20+
:doc:`misc-const-correctness<../misc/const-correctness>` check.
2121
Therefore, it is recommended to have
22-
:doc:`misc-const-correctness<clang-tidy/checks/misc/const-correctness>` enabled
22+
:doc:`misc-const-correctness<../misc/const-correctness>` enabled
2323
in the Clang-Tidy config when this check is, so that all opportunities for
2424
``const`` and also ``constexpr`` are explored.
2525

@@ -60,5 +60,5 @@ Options
6060

6161
The string to use with C++23 to specify a function-local variable as
6262
``static constexpr``, for example, a macro. Default is ``static constexpr``
63-
(concatenating ``static `` with the `ConstexprString` option).
63+
(concatenating ``static`` with the `ConstexprString` option).
6464

0 commit comments

Comments
 (0)