[clang] [ASTImport]improve ast comparation (PR #66110)

Qizhi Hu via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 12 19:34:44 PDT 2023


================
@@ -1295,6 +1306,21 @@ static bool IsStructurallyEquivalent(StructuralEquivalenceContext &Context,
   return true;
 }
 
+static bool IsStructurallyEquivalent(StructuralEquivalenceContext &Context,
----------------
jcsxky wrote:

Thanks for your remind. Storage checking is added and other various bits can be ignored(I think, or at present), because these bits is added in `Sema` and constructor doesn't contain these bits. On the other hand, when import `VarDecl` we also ignore these bits.

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


More information about the cfe-commits mailing list