File tree Expand file tree Collapse file tree 3 files changed +12
-10
lines changed Expand file tree Collapse file tree 3 files changed +12
-10
lines changed Original file line number Diff line number Diff line change @@ -132,10 +132,11 @@ file, if any.
132132
133133static cl::opt<std::string> HeaderFilter (" header-filter" , desc(R"(
134134Regular expression matching the names of the
135- headers to output diagnostics from. Diagnostics
136- from all non-system headers are displayed by
137- default. Diagnostics from the main file of
138- each translation unit are always displayed.
135+ headers to output diagnostics from. The default
136+ value is '.*', i.e. diagnostics from all non-system
137+ headers are displayed by default. Diagnostics
138+ from the main file of each translation unit are
139+ always displayed.
139140Can be used together with -line-filter.
140141This option overrides the 'HeaderFilterRegex'
141142option in .clang-tidy file, if any.
Original file line number Diff line number Diff line change @@ -470,8 +470,8 @@ async def main() -> None:
470470 default = None ,
471471 help = "Regular expression matching the names of the "
472472 "headers to output diagnostics from. Diagnostics from "
473- "the main file and all non-system headers of each "
474- "translation unit are always displayed." ,
473+ "the main file of each translation unit are always "
474+ "displayed." ,
475475 )
476476 parser .add_argument (
477477 "-source-filter" ,
Original file line number Diff line number Diff line change @@ -215,10 +215,11 @@ An overview of all the command-line options:
215215 This option overrides the 'FormatStyle` option in
216216 .clang-tidy file, if any.
217217 --header-filter=<string> - Regular expression matching the names of the
218- headers to output diagnostics from. Diagnostics
219- from all non-system headers are displayed by
220- default. Diagnostics from the main file of
221- each translation unit are always displayed.
218+ headers to output diagnostics from. The default
219+ value is '.*', i.e. diagnostics from all non-system
220+ headers are displayed by default. Diagnostics
221+ from the main file of each translation unit are
222+ always displayed.
222223 Can be used together with -line-filter.
223224 This option overrides the 'HeaderFilterRegex'
224225 option in .clang-tidy file, if any.
You can’t perform that action at this time.
0 commit comments