commit | a35c4441b336d8212d42b68f00ccb6e55a067368 | [log] [tgz] |
---|---|---|
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | Mon Sep 19 22:02:08 2011 +0000 |
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | Mon Sep 19 22:02:08 2011 +0000 |
tree | f954906e848a115d38602e9e86d18633a1faea49 | |
parent | 61d7c8a06562aa84b335a62af6fb70b2dae37003 [diff] [blame] |
Fix gcc build. llvm-svn: 140073
diff --git a/clang/lib/Lex/PreprocessingRecord.cpp b/clang/lib/Lex/PreprocessingRecord.cpp index b1c0c71..a4315b7 100644 --- a/clang/lib/Lex/PreprocessingRecord.cpp +++ b/clang/lib/Lex/PreprocessingRecord.cpp
@@ -111,7 +111,8 @@ } SourceLocation getLoc(PreprocessedEntity *PPE) const { - return (PPE->getSourceRange().*getRangeLoc)(); + SourceRange Range = PPE->getSourceRange(); + return (Range.*getRangeLoc)(); } };