aboutsummaryrefslogtreecommitdiff
path: root/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
commit0e322ffdae588aa479ae077ea569803b24bbe63b (patch)
treefaac65077bf0790ec2eef3a4ff793376b6cde608 /lib/Lex/PreprocessingRecord.cpp
parent8c25fc584ce27d59df9923f153e8a132dde58d04 (diff)
Fix gcc build.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@140073 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Lex/PreprocessingRecord.cpp')
-rw-r--r--lib/Lex/PreprocessingRecord.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Lex/PreprocessingRecord.cpp b/lib/Lex/PreprocessingRecord.cpp
index b1c0c716c1..a4315b78d5 100644
--- a/lib/Lex/PreprocessingRecord.cpp
+++ b/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)();
}
};