[clang-tools-extra] [clang-tidy] fix false positives for bugprone-macro-parentheses in C++ templates (PR #174329)
via cfe-commits
cfe-commits at lists.llvm.org
Sun Jan 4 04:45:22 PST 2026
================
@@ -54,3 +54,20 @@
// These are allowed for now..
#define MAYBE1 *12.34
#define MAYBE2 <<3
+#define MAYBE3 a < b * c
----------------
zeyi2 wrote:
I think this may be an existing FN: https://clang-tidy.godbolt.org/z/GfcxqEvcb
https://github.com/llvm/llvm-project/pull/174329
More information about the cfe-commits
mailing list