aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorNathan James <n.james93@hotmail.co.uk>2022-06-23 19:59:30 +0100
committerNathan James <n.james93@hotmail.co.uk>2022-06-23 19:59:31 +0100
commitfbf611ed2a768999202e2c5e1e1a6c3c6bb94725 (patch)
tree0b6fc6464d5bd940c1cbc37860b528aff882b8bd /clang/lib/Frontend/CompilerInvocation.cpp
parent148071fbae3f9a1015969376a75a47d433c49a13 (diff)
downloadllvm-fbf611ed2a768999202e2c5e1e1a6c3c6bb94725.zip
llvm-fbf611ed2a768999202e2c5e1e1a6c3c6bb94725.tar.gz
llvm-fbf611ed2a768999202e2c5e1e1a6c3c6bb94725.tar.bz2
[clang-tidy] Extend spelling for CheckOptions
The current way to specify CheckOptions is pretty verbose and unintuitive. Given that the options are a dictionary it makes much more sense to treat them as such in the config files. Example: ``` CheckOptions: {SomeCheck.Option: true, SomeCheck.OtherOption: 'ignore'} # Or CheckOptions: SomeCheck.Option: true SomeCheck.OtherOption: 'ignore' ``` This change will still handle the old syntax with no issue, ensuring we don't screw up users current config files. The only observable differences are support for the new syntax and `-dump=config` will emit using the new syntax. Reviewed By: aaron.ballman Differential Revision: https://reviews.llvm.org/D128337
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions