[modules] Don't write the UnusedFileScopedDecls vector to the module file.

llvm-svn: 177001
This commit is contained in:
Argyrios Kyrtzidis 2013-03-14 04:45:00 +00:00
parent ffb3558beb
commit 59852367b4
1 changed files with 3 additions and 2 deletions

View File

@ -3531,8 +3531,9 @@ 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;
AddLazyVectorDecls(*this, SemaRef.UnusedFileScopedDecls, if (!isModule)
UnusedFileScopedDecls); AddLazyVectorDecls(*this, SemaRef.UnusedFileScopedDecls,
UnusedFileScopedDecls);
// Build a record containing all of the delegating constructors we still need // Build a record containing all of the delegating constructors we still need
// to resolve. // to resolve.