[PATCH] D53757: [ASTImporter] Changed use of Import to Import_New in ASTNodeImporter.
Balázs Kéri via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Mar 25 00:29:38 PDT 2019
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
More information about the cfe-commits
mailing list