llvm-project/clang-tools-extra/test/clang-tidy/infrastructure/Inputs
Nathan James fbf611ed2a
[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
2022-06-23 19:59:31 +01:00
..
Headers
compilation-database
config-file [clang-tidy] Ignore all spaces in the list of checks 2021-03-24 06:43:13 -07:00
config-files [clang-tidy] Extend spelling for CheckOptions 2022-06-23 19:59:31 +01:00
empty-database
expand-modular-headers-ppcallbacks
explain-config
file-filter Disable clang-tidy warnings from system macros 2022-01-06 20:27:28 +00:00
line-filter
mock-libcxx
nolint
nolintbeginend Re-land "Cache the locations of NOLINTBEGIN/END blocks" with fix for build bot 2022-01-27 01:03:27 +13:00
overlapping
remarks Remark was added to clang tooling Diagnostic 2021-05-24 11:21:44 -04:00
vfsoverlay