Commit 9cfa866
committed
[clangd] Disable cppcoreguidelines-macro-to-enum clang-tidy checker
Clangd does not support its checker because the checker relies on
having seen preprocessor conditionals that occur in the preamble,
and clangd does not currently replay those.
This checker was already disabled under its main name,
modernize-macro-to-enum (clangd/clangd#1464).
This commit disables it under the alternative name
cppcoreguidelines-macro-to-enum as well.
Fixes #1279651 parent f244b8e commit 9cfa866
File tree
2 files changed
+16
-0
lines changed- clang-tools-extra/clangd
- unittests
2 files changed
+16
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
210 | 210 | | |
211 | 211 | | |
212 | 212 | | |
| 213 | + | |
213 | 214 | | |
214 | 215 | | |
215 | 216 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
823 | 823 | | |
824 | 824 | | |
825 | 825 | | |
| 826 | + | |
| 827 | + | |
| 828 | + | |
| 829 | + | |
| 830 | + | |
| 831 | + | |
| 832 | + | |
| 833 | + | |
| 834 | + | |
| 835 | + | |
| 836 | + | |
| 837 | + | |
| 838 | + | |
| 839 | + | |
| 840 | + | |
826 | 841 | | |
827 | 842 | | |
828 | 843 | | |
| |||
0 commit comments