balazske wrote:

The problem is that there is a distance between getting the "InsertPos" and the 
insetion into the list. Between getting the `InsertPos` 
(`VarTemplate->findSpecialization`) and the insertion further AST import 
statements can occur and probably it can cause the list of specializations to 
change. I have a test that can cause the same situation (change of list before 
the insertion) but still the assertion did not show up.

https://github.com/llvm/llvm-project/pull/89887
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to