================
@@ -44,6 +45,328 @@ static bool incrementWithoutOverflow(const APSInt &Value,
APSInt &Result) {
return Value < Result;
}
+static bool areEquivalentExpr(const Expr *Left, const Expr *Right);
----------------
voyager-jhk wrote:
Manually extracting the `QualType` via `TypeLoc` was the only way I found to
preserve the sugar while safely ignoring newlines/formatting. Is there a better
existing Clang facility that handles sugared NNS equality?
https://github.com/llvm/llvm-project/pull/198085
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits