forked from OSchip/llvm-project
[modules] Don't write the UnusedFileScopedDecls vector to the module file.
llvm-svn: 177001
This commit is contained in:
parent
ffb3558beb
commit
59852367b4
|
@ -3531,6 +3531,7 @@ void ASTWriter::WriteASTCore(Sema &SemaRef,
|
||||||
|
|
||||||
// Build a record containing all of the file scoped decls in this file.
|
// Build a record containing all of the file scoped decls in this file.
|
||||||
RecordData UnusedFileScopedDecls;
|
RecordData UnusedFileScopedDecls;
|
||||||
|
if (!isModule)
|
||||||
AddLazyVectorDecls(*this, SemaRef.UnusedFileScopedDecls,
|
AddLazyVectorDecls(*this, SemaRef.UnusedFileScopedDecls,
|
||||||
UnusedFileScopedDecls);
|
UnusedFileScopedDecls);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue