[clang-tools-extra] [clang-tidy] Fix nested macro false positives in misc-redundant-expression (PR #209385)

Zeyi Xu via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 13 23:24:17 PDT 2026


================
@@ -404,6 +404,76 @@ static bool hasSameOperatorParent(const Expr *TheExpr,
   return false;
 }
 
+static bool isSameRawIdentifierToken(const Token &T1, const Token &T2,
----------------
zeyi2 wrote:

This is just copy and paste to avoid forward declarations.

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


More information about the cfe-commits mailing list