[clang-tools-extra] [clang-tidy] Fix false positive in misc-redundant-expression with type aliases (PR #198085)

Vassil Vassilev via cfe-commits cfe-commits at lists.llvm.org
Sat May 30 23:02:48 PDT 2026


================
@@ -44,6 +45,328 @@ static bool incrementWithoutOverflow(const APSInt &Value, APSInt &Result) {
   return Value < Result;
 }
 
+static bool areEquivalentExpr(const Expr *Left, const Expr *Right);
----------------
vgvassilev wrote:

Don't we have similar facilities in clang which we can reuse?

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


More information about the cfe-commits mailing list