[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:28 PDT 2025


================
@@ -0,0 +1 @@
+#pragma once
----------------
vbvictor wrote:

Missing tests where there are spaces between `#` and `pragma` and multiple spaces between `pragma` and `once`.

https://github.com/llvm/llvm-project/pull/140388


More information about the cfe-commits mailing list