[clang-tools-extra] [clang-tidy] Fix readability-redundant-parentheses false positive on typeof (PR #223512)
Andre Sun via cfe-commits
cfe-commits at lists.llvm.org
Wed Sep 16 09:05:19 PDT 2026
and2049 wrote:
My original fix missed qualified types, and `const typeof(g) h;` was still getting flagged. I've added `getUnqualifiedLoc()` before the kind check to handle that.
https://github.com/llvm/llvm-project/pull/223512
More information about the cfe-commits
mailing list