Skip to content

Commit 93d3cf3

Browse files
committed
disabled readability-use-concise-preprocessor-directives clang-tidy warning
1 parent 4b037db commit 93d3cf3

2 files changed

Lines changed: 7 additions & 2 deletions

File tree

.clang-tidy

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,8 @@ Checks: >
6969
-readability-isolate-declaration,
7070
-readability-magic-numbers,
7171
-readability-suspicious-call-argument,
72-
-readability-uppercase-literal-suffix
72+
-readability-uppercase-literal-suffix,
73+
-readability-use-concise-preprocessor-directives
7374
WarningsAsErrors: '*'
7475
HeaderFilterRegex: '(cli|gui|frontend|lib|oss-fuzz|test|triage)\/[a-z_]+\.h'
7576
ExcludeHeaderFilterRegex: 'ui_.*.h'

clang-tidy.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,11 @@ Also reports a false positive about templates which deduce the array length: htt
111111

112112
`misc-include-cleaner`<br/>
113113

114-
We run this separately via `clang-include-cleaner` in the `iwyu.yml` workflow as the findings of the include checkers still need to be reviewed manually before applying them.
114+
We run this separately via `clang-include-cleaner` in the `iwyu.yml` workflow as the findings of the include checkers still need to be reviewed manually before applying them.
115+
116+
`readability-use-concise-preprocessor-directives`<br/>
117+
118+
Does not improve the readability.
115119

116120
`bugprone-branch-clone`<br/>
117121
`modernize-return-braced-init-list`<br/>

0 commit comments

Comments
 (0)