hokein added inline comments.
================ Comment at: clang/lib/AST/ASTImporter.cpp:9189 + TemplateName UnderlyingTN = QTN->getUnderlyingTemplate(); + if (UsingShadowDecl *USD = UnderlyingTN.getAsUsingShadowDecl()) { + if (ExpectedDecl ToUSDOrErr = Import(USD)) ---------------- sammccall wrote: > why not just `import(UnderlyingTN)` directly, instead of importing its > shadowdecl or templatedecl case-by-case? good catch, not sure how I missed this. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D123775/new/ https://reviews.llvm.org/D123775 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits