Update clang-tidy completion
This commit is contained in:
parent
3ce9d453ae
commit
8abb801db2
|
@ -46,6 +46,7 @@ _arguments \
|
||||||
'--config-file=[Specify the path of .clang-tidy or custom config-file]: :_files' \
|
'--config-file=[Specify the path of .clang-tidy or custom config-file]: :_files' \
|
||||||
'--dump-config[Dumps configuration in the YAML format to stdout]' \
|
'--dump-config[Dumps configuration in the YAML format to stdout]' \
|
||||||
'--enable-check-profile[Enable per-check timing profiles, and print a report to stderr]' \
|
'--enable-check-profile[Enable per-check timing profiles, and print a report to stderr]' \
|
||||||
|
'--enable-module-headers-parsing[Enable preprocessor-level module header parsing for C++20 and above]' \
|
||||||
'--explain-config[For each enabled check explains, where it is enabled]' \
|
'--explain-config[For each enabled check explains, where it is enabled]' \
|
||||||
'--export-fixes=[YAML file to store suggested fixes in]: :_files' \
|
'--export-fixes=[YAML file to store suggested fixes in]: :_files' \
|
||||||
'*--extra-arg[Additional argument to append to the compiler command line]:arg' \
|
'*--extra-arg[Additional argument to append to the compiler command line]:arg' \
|
||||||
|
@ -55,6 +56,7 @@ _arguments \
|
||||||
'--fix-notes[If a warning has no fix, but a single fix can be found through an associated diagnostic node, apply the fix]' \
|
'--fix-notes[If a warning has no fix, but a single fix can be found through an associated diagnostic node, apply the fix]' \
|
||||||
'--format-style=[Style for formatting code around applied fixes]: :(llvm google webkit mozilla)' \
|
'--format-style=[Style for formatting code around applied fixes]: :(llvm google webkit mozilla)' \
|
||||||
'--header-filter=[Regular expression matching the names of the headers to output diagnostics from]:regexp' \
|
'--header-filter=[Regular expression matching the names of the headers to output diagnostics from]:regexp' \
|
||||||
|
'--line-filter=[List of files with line ranges to filter the warnings]' \
|
||||||
'(- *)--list-checks[List all enabled checks and exit]' \
|
'(- *)--list-checks[List all enabled checks and exit]' \
|
||||||
'--load=[Load the specified plugin]: :_files' \
|
'--load=[Load the specified plugin]: :_files' \
|
||||||
'-p[Build directory where compile_commands.json is]: :_files -/' \
|
'-p[Build directory where compile_commands.json is]: :_files -/' \
|
||||||
|
|
Loading…
Reference in New Issue