Skip to content

Commit 4b3582b

Browse files
committed
disabled portability-avoid-pragma-once clang-tidy warning
1 parent f5dfcae commit 4b3582b

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

.clang-tidy

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ Checks: >
5454
-performance-avoid-endl,
5555
-performance-inefficient-string-concatenation,
5656
-performance-no-automatic-move,
57+
-portability-avoid-pragma-once,
5758
-portability-simd-intrinsics,
5859
-portability-std-allocator-const,
5960
-readability-avoid-nested-conditional-operator,

clang-tidy.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,10 @@ To be evaluated (need to enable explicitly).
147147

148148
These apply to codebases which use later standards then C++11 (C++17 is used when building with Qt6) so we cannot simply apply them.
149149

150+
`portability-avoid-pragma-once`<br/>
151+
152+
We are not interested in this.
153+
150154
### Disabled for performance reasons
151155

152156
`portability-std-allocator-const`<br/>

0 commit comments

Comments
 (0)