a.sidorin accepted this revision.
a.sidorin added a comment.
This revision is now accepted and ready to land.

Looks good!



================
Comment at: lib/AST/ASTImporter.cpp:1757
       D2->setAnonymousStructOrUnion(true);
+    if (PrevDecl) {
+      D2->setPreviousDecl(PrevDecl);
----------------
By the way, should we do the same for some other kinds of Decls (like 
FunctionDecl)? If so, could you write a NOTE comment?


Repository:
  rL LLVM

https://reviews.llvm.org/D32981



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

Reply via email to