[clang-tools-extra] [clang-tidy] Add avoid-pragma-once. (PR #140388)
Baranov Victor via cfe-commits
cfe-commits at lists.llvm.org
Sun May 18 06:32:26 PDT 2025
================
@@ -351,6 +351,7 @@ Clang-Tidy Checks
:doc:`performance-type-promotion-in-math-fn <performance/type-promotion-in-math-fn>`, "Yes"
:doc:`performance-unnecessary-copy-initialization <performance/unnecessary-copy-initialization>`, "Yes"
:doc:`performance-unnecessary-value-param <performance/unnecessary-value-param>`, "Yes"
+ :doc:`portability-avoid-pragma-once <portability/avoid-pragma-once>`, "Yes"
----------------
vbvictor wrote:
```suggestion
:doc:`portability-avoid-pragma-once <portability/avoid-pragma-once>`,
```
No auto fix-its
https://github.com/llvm/llvm-project/pull/140388
More information about the cfe-commits
mailing list