spyffe marked an inline comment as done. spyffe added inline comments.
================ Comment at: lib/AST/ASTImporter.cpp:1757 D2->setAnonymousStructOrUnion(true); + if (PrevDecl) { + D2->setPreviousDecl(PrevDecl); ---------------- a.sidorin wrote: > By the way, should we do the same for some other kinds of Decls (like > FunctionDecl)? If so, could you write a NOTE comment? I added this as a `FIXME`, in the style of the other notes about incomplete implementation in this file. https://reviews.llvm.org/D32981 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits