balazske added a comment. Order of previous declarations may get confusable: ClassTemplateDecl1 <-(Prev)- ClassTemplateDecl2 <-(Prev)- ClassTemplateDecl3
| | | | | CXXRecorddDecl1 <-- CXXRecordDecl2 -----(Prev)-> CXXRecordDecl3 - | | --(Prev)------------------------------------------------ This is because record declarations are encountered in different order than the class templates. And the import of template parameters is done in a incomplete state of the related record declaration. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D94067/new/ https://reviews.llvm.org/D94067 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits