================ @@ -8745,9 +8732,13 @@ bool ASTReader::LoadExternalSpecializationsImpl( Deserializing LookupResults(this); auto HashValue = StableHashForTemplateArguments(TemplateArgs); - // Get Decl may violate the iterator from SpecLookups + auto It = SpecLookups.find(D); ---------------- ChuanqiXu9 wrote:
This introduces another lookup, which looks not good to me. I prefer to move the construction of TimeScope simply. https://github.com/llvm/llvm-project/pull/196533 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
