a_sidorin added a comment. Hello Balasz, This looks mostly good but I have a question inline.
================ Comment at: lib/AST/ASTImporter.cpp:2715 + if (auto *ToFT = dyn_cast<FunctionTemplateDecl>(Importer.Import(FromFT))) + ToFunction->setDescribedFunctionTemplate(ToFT); + else ---------------- The function template should be already set after `getDescribedFunctionTemplate()` is imported in `VisitFunctionTemplateDecl()`. Are there still cases not covered by this? Repository: rC Clang https://reviews.llvm.org/D49235 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits