diff --git a/src/_clang-tidy b/src/_clang-tidy index eead4be..6cca6c9 100644 --- a/src/_clang-tidy +++ b/src/_clang-tidy @@ -46,6 +46,7 @@ _arguments \ '--config-file=[Specify the path of .clang-tidy or custom config-file]: :_files' \ '--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-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]' \ '--export-fixes=[YAML file to store suggested fixes in]: :_files' \ '*--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]' \ '--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' \ + '--line-filter=[List of files with line ranges to filter the warnings]' \ '(- *)--list-checks[List all enabled checks and exit]' \ '--load=[Load the specified plugin]: :_files' \ '-p[Build directory where compile_commands.json is]: :_files -/' \