[cfe-commits] r140073 - /cfe/trunk/lib/Lex/PreprocessingRecord.cpp

Argyrios Kyrtzidis akyrtzi at gmail.com
Mon Sep 19 15:02:08 PDT 2011


Author: akirtzidis
Date: Mon Sep 19 17:02:08 2011
New Revision: 140073

URL: http://llvm.org/viewvc/llvm-project?rev=140073&view=rev
Log:
Fix gcc build.

Modified:
    cfe/trunk/lib/Lex/PreprocessingRecord.cpp

Modified: cfe/trunk/lib/Lex/PreprocessingRecord.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Lex/PreprocessingRecord.cpp?rev=140073&r1=140072&r2=140073&view=diff
==============================================================================
--- cfe/trunk/lib/Lex/PreprocessingRecord.cpp (original)
+++ cfe/trunk/lib/Lex/PreprocessingRecord.cpp Mon Sep 19 17:02:08 2011
@@ -111,7 +111,8 @@
   }
 
   SourceLocation getLoc(PreprocessedEntity *PPE) const {
-    return (PPE->getSourceRange().*getRangeLoc)();
+    SourceRange Range = PPE->getSourceRange();
+    return (Range.*getRangeLoc)();
   }
 };
 





More information about the cfe-commits mailing list