From 0e322ffdae588aa479ae077ea569803b24bbe63b Mon Sep 17 00:00:00 2001 From: Argyrios Kyrtzidis Date: Mon, 19 Sep 2011 22:02:08 +0000 Subject: [PATCH] Fix gcc build. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@140073 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Lex/PreprocessingRecord.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)(); } }; -- 2.50.1