balazske requested review of this revision.
balazske added inline comments.


================
Comment at: lib/AST/ASTImporter.cpp:2131
         D2CXX->setDescribedClassTemplate(ToDescribed);
+        if (!DCXX->isInjectedClassName()) {
+          // In a record describing a template the type should be a
----------------
a.sidorin wrote:
> Maybe we should fix it a bit upper (line 2100)?
The `ToDescribed` is used in this code, not available before the new record is 
created.


Repository:
  rC Clang

https://reviews.llvm.org/D47450



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to