File tree Expand file tree Collapse file tree 3 files changed +3
-5
lines changed Expand file tree Collapse file tree 3 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -61,7 +61,6 @@ void ConstCorrectnessCheck::storeOptions(ClangTidyOptions::OptionMap &Opts) {
61
61
Options.store (Opts, " TransformValues" , TransformValues);
62
62
Options.store (Opts, " TransformReferences" , TransformReferences);
63
63
Options.store (Opts, " TransformPointersAsValues" , TransformPointersAsValues);
64
-
65
64
Options.store (Opts, " AllowedTypes" ,
66
65
utils::options::serializeStringList (AllowedTypes));
67
66
}
Original file line number Diff line number Diff line change @@ -45,7 +45,6 @@ class ConstCorrectnessCheck : public ClangTidyCheck {
45
45
const bool TransformValues;
46
46
const bool TransformReferences;
47
47
const bool TransformPointersAsValues;
48
-
49
48
const std::vector<StringRef> AllowedTypes;
50
49
};
51
50
Original file line number Diff line number Diff line change @@ -203,6 +203,6 @@ Options
203
203
will be excluded from const-correctness checking.
204
204
Regular expressions are accepted, e.g. `[Rr]ef(erence)?$ ` matches every type
205
205
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 `).
You can’t perform that action at this time.
0 commit comments