forked from OSchip/llvm-project
parent
287c801540
commit
1b88acedd0
|
@ -71,9 +71,8 @@ class PCHContainerGenerator : public ASTConsumer {
|
|||
}
|
||||
|
||||
bool VisitImportDecl(ImportDecl *D) {
|
||||
auto *Import = cast<ImportDecl>(D);
|
||||
if (!Import->getImportedOwningModule())
|
||||
DI.EmitImportDecl(*Import);
|
||||
if (!D->getImportedOwningModule())
|
||||
DI.EmitImportDecl(*D);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue