From a35c4441b336d8212d42b68f00ccb6e55a067368 Mon Sep 17 00:00:00 2001 From: Argyrios Kyrtzidis Date: Mon, 19 Sep 2011 22:02:08 +0000 Subject: Fix gcc build. llvm-svn: 140073 --- clang/lib/Lex/PreprocessingRecord.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'clang/lib/Lex/PreprocessingRecord.cpp') 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)(); } }; -- cgit v1.2.3