diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2011-09-19 22:02:08 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2011-09-19 22:02:08 +0000 |
commit | a35c4441b336d8212d42b68f00ccb6e55a067368 (patch) | |
tree | f954906e848a115d38602e9e86d18633a1faea49 /clang/lib/Lex/PreprocessingRecord.cpp | |
parent | 61d7c8a06562aa84b335a62af6fb70b2dae37003 (diff) | |
download | bcm5719-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.cpp | 3 |
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)(); } }; |