summaryrefslogtreecommitdiffstats
path: root/clang/lib/Serialization/ASTWriter.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2011-07-22 16:00:58 +0000
committerDouglas Gregor <dgregor@apple.com>2011-07-22 16:00:58 +0000
commita6895d8a8f8868abe61201bd7228dce750e67a3b (patch)
tree9bb830136c91ceed832a3e8a566c9767b5f0bf61 /clang/lib/Serialization/ASTWriter.cpp
parent7f1e2a5c03aa365a0e0fbb74394cab5e462355cb (diff)
downloadbcm5719-llvm-a6895d8a8f8868abe61201bd7228dce750e67a3b.tar.gz
bcm5719-llvm-a6895d8a8f8868abe61201bd7228dce750e67a3b.zip
Rename ASTReader::PerFileData to serialization::Module, pulling it out
of ASTReader so it can become its own full-fledged class (eventually). No functionality change. llvm-svn: 135767
Diffstat (limited to 'clang/lib/Serialization/ASTWriter.cpp')
-rw-r--r--clang/lib/Serialization/ASTWriter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Serialization/ASTWriter.cpp b/clang/lib/Serialization/ASTWriter.cpp
index e6e88f8f872..65e0380f821 100644
--- a/clang/lib/Serialization/ASTWriter.cpp
+++ b/clang/lib/Serialization/ASTWriter.cpp
@@ -1549,7 +1549,7 @@ void ASTWriter::WriteSourceManagerBlock(SourceManager &SourceMgr,
typedef std::pair<uint32_t, llvm::StringRef> ModuleOffset;
llvm::SmallVector<ModuleOffset, 16> Modules;
Modules.reserve(Chain->Modules.size());
- for (llvm::StringMap<ASTReader::PerFileData*>::const_iterator
+ for (llvm::StringMap<Module*>::const_iterator
I = Chain->Modules.begin(), E = Chain->Modules.end();
I != E; ++I) {
Modules.push_back(ModuleOffset(I->getValue()->SLocEntryBaseOffset,
OpenPOWER on IntegriCloud