summaryrefslogtreecommitdiffstats
path: root/clang/lib/Lex/PreprocessingRecord.cpp
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2011-09-19 22:02:08 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2011-09-19 22:02:08 +0000
commita35c4441b336d8212d42b68f00ccb6e55a067368 (patch)
treef954906e848a115d38602e9e86d18633a1faea49 /clang/lib/Lex/PreprocessingRecord.cpp
parent61d7c8a06562aa84b335a62af6fb70b2dae37003 (diff)
downloadbcm5719-llvm-a35c4441b336d8212d42b68f00ccb6e55a067368.tar.gz
bcm5719-llvm-a35c4441b336d8212d42b68f00ccb6e55a067368.zip
Fix gcc build.
llvm-svn: 140073
Diffstat (limited to 'clang/lib/Lex/PreprocessingRecord.cpp')
-rw-r--r--clang/lib/Lex/PreprocessingRecord.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/lib/Lex/PreprocessingRecord.cpp b/clang/lib/Lex/PreprocessingRecord.cpp
index b1c0c716c1c..a4315b78d5b 100644
--- a/clang/lib/Lex/PreprocessingRecord.cpp
+++ b/clang/lib/Lex/PreprocessingRecord.cpp
@@ -111,7 +111,8 @@ struct PPEntityComp {
}
SourceLocation getLoc(PreprocessedEntity *PPE) const {
- return (PPE->getSourceRange().*getRangeLoc)();
+ SourceRange Range = PPE->getSourceRange();
+ return (Range.*getRangeLoc)();
}
};
OpenPOWER on IntegriCloud