Skip to content

Commit 50e5241

Browse files
committed
[clang-tidy] fix pr comments
1 parent 899a4d3 commit 50e5241

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

clang-tools-extra/clang-tidy/misc/ConstCorrectnessCheck.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ void ConstCorrectnessCheck::storeOptions(ClangTidyOptions::OptionMap &Opts) {
6161
Options.store(Opts, "TransformValues", TransformValues);
6262
Options.store(Opts, "TransformReferences", TransformReferences);
6363
Options.store(Opts, "TransformPointersAsValues", TransformPointersAsValues);
64-
6564
Options.store(Opts, "AllowedTypes",
6665
utils::options::serializeStringList(AllowedTypes));
6766
}

clang-tools-extra/clang-tidy/misc/ConstCorrectnessCheck.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ class ConstCorrectnessCheck : public ClangTidyCheck {
4545
const bool TransformValues;
4646
const bool TransformReferences;
4747
const bool TransformPointersAsValues;
48-
4948
const std::vector<StringRef> AllowedTypes;
5049
};
5150

clang-tools-extra/docs/clang-tidy/checks/misc/const-correctness.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,6 @@ Options
203203
will be excluded from const-correctness checking.
204204
Regular expressions are accepted, e.g. `[Rr]ef(erence)?$` matches every type
205205
with suffix `Ref`, `ref`, `Reference` and `reference`.
206-
If a name in the list contains the sequence `::` it is matched against
207-
the qualified typename (i.e. `namespace::Type`), otherwise it is matched
208-
against only the type name (i.e. `Type`).
206+
If a name in the list contains the sequence `::`, it is matched against
207+
the qualified type name (i.e. `namespace::Type`), otherwise it is matched
208+
against only the type name (i.e. `Type`).

0 commit comments

Comments
 (0)