aboutsummaryrefslogtreecommitdiff
path: root/lib/Frontend/ASTUnit.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2011-02-11 19:46:30 +0000
committerDouglas Gregor <dgregor@apple.com>2011-02-11 19:46:30 +0000
commit0a480293f726508ad9aed0be39e8c9779e84f2f2 (patch)
treeed77e3d82cef341a6cd238b2781eef3d2573cd9a /lib/Frontend/ASTUnit.cpp
parentd263fd1451299b1e5f5f1acb2bb13b0a4119aee8 (diff)
Rename the operation that loads a preprocessed entity from a given offset to indicate that we're loading from an offset, not an index, lest one be confused. No functionality change.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@125394 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Frontend/ASTUnit.cpp')
-rw-r--r--lib/Frontend/ASTUnit.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Frontend/ASTUnit.cpp b/lib/Frontend/ASTUnit.cpp
index 1138cd7db0..00902e810c 100644
--- a/lib/Frontend/ASTUnit.cpp
+++ b/lib/Frontend/ASTUnit.cpp
@@ -1368,7 +1368,8 @@ void ASTUnit::RealizePreprocessedEntitiesFromPreamble() {
for (unsigned I = 0, N = PreprocessedEntitiesInPreamble.size(); I != N; ++I) {
if (PreprocessedEntity *PE
- = External->ReadPreprocessedEntity(PreprocessedEntitiesInPreamble[I]))
+ = External->ReadPreprocessedEntityAtOffset(
+ PreprocessedEntitiesInPreamble[I]))
PreprocessedEntities.push_back(PE);
}