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

> For my addition, reusing standard facilities like Stmt::Profile() fails 
> because Clang doesn't reliably unique NestedNameSpecifiers containing sugared 
> types

The current NestedNameSpecifier relies heavily on the existing uniquing for 
types, so if you are seeing any issues there, they should also exist for 
regular types.

For example, non-dependent template specialization types are not uniqued in 
clang ever, and also some other types might suffer from this.

Otherwise, can you give me an example of what problem you are seeing?

https://github.com/llvm/llvm-project/pull/198085
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to