summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend
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
commit46c50012ca8599e8c7b63bf39f9ef8254b146f47 (patch)
tree6a0897279e03d074ccab0bbd3068fe35406de139 /clang/lib/Frontend
parent10134c33f23dbf9a80cc99c8caa9f1752a51c182 (diff)
downloadbcm5719-llvm-46c50012ca8599e8c7b63bf39f9ef8254b146f47.tar.gz
bcm5719-llvm-46c50012ca8599e8c7b63bf39f9ef8254b146f47.zip
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.
llvm-svn: 125394
Diffstat (limited to 'clang/lib/Frontend')
-rw-r--r--clang/lib/Frontend/ASTUnit.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/lib/Frontend/ASTUnit.cpp b/clang/lib/Frontend/ASTUnit.cpp
index 1138cd7db0d..00902e810c2 100644
--- a/clang/lib/Frontend/ASTUnit.cpp
+++ b/clang/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);
}
OpenPOWER on IntegriCloud