From: Argyrios Kyrtzidis Date: Mon, 19 Sep 2011 22:02:08 +0000 (+0000) Subject: Fix gcc build. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0e322ffdae588aa479ae077ea569803b24bbe63b;p=clang Fix gcc build. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@140073 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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)(); } };