aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorNathan James <n.james93@hotmail.co.uk>2022-06-23 19:23:08 +0100
committerNathan James <n.james93@hotmail.co.uk>2022-06-23 19:23:09 +0100
commit5ca68d5845c04421eef9659119ba2c12d2a56803 (patch)
tree186acc16150b8fa7295fd297ffd557dbddfc0f10 /clang/lib/Frontend/CompilerInvocation.cpp
parent1ef5e6de7605434cb6316847a46eb01c23c70715 (diff)
downloadllvm-5ca68d5845c04421eef9659119ba2c12d2a56803.zip
llvm-5ca68d5845c04421eef9659119ba2c12d2a56803.tar.gz
llvm-5ca68d5845c04421eef9659119ba2c12d2a56803.tar.bz2
[clang-tidy] Add `-verify-config` command line argument
Adds a `-verify-config` command line argument, that when specified will verify the Checks and CheckOptions fields in the config files: - A warning will be raised for any check that doesn't correspond to a registered check, a suggestion will also be emitted for close misses. - A warning will be raised for any check glob(containing *) that doesn't match any registered check. - A warning will be raised for any CheckOption that isn't read by any registered check, a suggestion will also be emitted for close misses. This can be useful if debuging why a certain check isn't enabled, or the options are being handled as you expect them to be. Reviewed By: aaron.ballman Differential Revision: https://reviews.llvm.org/D127446
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions