balazske marked an inline comment as done.
balazske added inline comments.

================
Comment at: lib/AST/ASTImporter.cpp:3418
 
-  for (const auto *Attr : D->attrs())
-    ToIndirectField->addAttr(Importer.Import(Attr));
----------------
a_sidorin wrote:
> shafik wrote:
> > Why is this section of code removed?
> I guess the reason is that this import is already done inside 
> `GetImportedOrCreateDecl()`.
You are right: This is done in `InitializeImportedDecl` that is called from 
`GetImportedOrCreateDecl`.


Repository:
  rC Clang

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D53757/new/

https://reviews.llvm.org/D53757



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

Reply via email to