forked from OSchip/llvm-project
Fix regression from r190016.
I don't have a reduced testcase yet. llvm-svn: 190094
This commit is contained in:
parent
e6db76071c
commit
9a5928036d
|
@ -2840,7 +2840,9 @@ void ASTDeclReader::UpdateDecl(Decl *D, ModuleFile &ModuleFile,
|
|||
}
|
||||
|
||||
case UPD_DECL_MARKED_USED: {
|
||||
D->markUsed(Reader.getContext());
|
||||
// FIXME: This doesn't send the right notifications if there are
|
||||
// ASTMutationListeners other than an ASTWriter.
|
||||
D->setIsUsed(true);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue