Skip to content

Commit fdb4f3f

Browse files
fix review comments
Co-authored-by: EugeneZelenko <[email protected]>
1 parent 1d421df commit fdb4f3f

File tree

4 files changed

+5
-6
lines changed

4 files changed

+5
-6
lines changed

clang-tools-extra/clang-tidy/modernize/UseConstexprCheck.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//===--- UseConstexprCheck.cpp - clang-tidy--------------------------------===//
1+
//===----------------------------------------------------------------------===//
22
//
33
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
44
// See https://llvm.org/LICENSE.txt for license information.

clang-tools-extra/clang-tidy/modernize/UseConstexprCheck.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//===--- UseUseConstexprCheck.h - clang-tidy --------------------*- C++ -*-===//
1+
//===----------------------------------------------------------------------===//
22
//
33
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
44
// See https://llvm.org/LICENSE.txt for license information.
@@ -19,7 +19,7 @@ namespace clang::tidy::modernize {
1919
/// Finds functions and variables that can be declared 'constexpr'.
2020
///
2121
/// For the user-facing documentation see:
22-
/// http://clang.llvm.org/extra/clang-tidy/checks/modernize/use-constexpr.html
22+
/// https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-constexpr.html
2323
class UseConstexprCheck : public ClangTidyCheck {
2424
public:
2525
UseConstexprCheck(StringRef Name, ClangTidyContext *Context);

clang-tools-extra/docs/ReleaseNotes.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ New checks
236236
- New :doc:`modernize-use-constexr
237237
<clang-tidy/checks/modernize/use-constexpr>` check.
238238

239-
Finds functions and variables that can be declared 'constexpr'.
239+
Finds functions and variables that can be declared ``constexpr``.
240240

241241
- New :doc:`readability-redundant-parentheses
242242
<clang-tidy/checks/readability/redundant-parentheses>` check.

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,5 +69,4 @@ Options
6969

7070
The string to use with C++23 to specify a function-local variable as
7171
``static constexpr``, for example, a macro. Default is `static constexpr`
72-
(concatenating `static` with the `ConstexprString` option).
73-
72+
(concatenating `static` with the :option:`ConstexprString`).

0 commit comments

Comments
 (0)