Some documentation fixes so that we are explicit about which iteration order is source-order. Also, removing unused NextInSource field of Module.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@136423 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Serialization/ASTReader.cpp b/lib/Serialization/ASTReader.cpp
index ce81ddd..34af0b7 100644
--- a/lib/Serialization/ASTReader.cpp
+++ b/lib/Serialization/ASTReader.cpp
@@ -5473,7 +5473,7 @@
SelectorLookupTableData(0), SelectorLookupTable(0), LocalNumDecls(0),
DeclOffsets(0), LocalNumCXXBaseSpecifiers(0), CXXBaseSpecifiersOffsets(0),
LocalNumTypes(0), TypeOffsets(0), StatCache(0),
- NumPreallocatedPreprocessingEntities(0), NextInSource(0)
+ NumPreallocatedPreprocessingEntities(0)
{}
Module::~Module() {
@@ -5498,8 +5498,6 @@
const FileEntry *Entry = FileMgr.getFile(FileName);
Modules[Entry] = Current;
- if (Prev)
- Prev->NextInSource = Current;
Current->Loaders.push_back(Prev);
return *Current;