[cfe-commits] r79191 - /cfe/trunk/lib/AST/Expr.cpp
Chris Lattner
sabre at nondot.org
Sun Aug 16 09:51:51 PDT 2009
Author: lattner
Date: Sun Aug 16 11:51:50 2009
New Revision: 79191
URL: http://llvm.org/viewvc/llvm-project?rev=79191&view=rev
Log:
fix my previous commit.
Modified:
cfe/trunk/lib/AST/Expr.cpp
Modified: cfe/trunk/lib/AST/Expr.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/Expr.cpp?rev=79191&r1=79190&r2=79191&view=diff
==============================================================================
--- cfe/trunk/lib/AST/Expr.cpp (original)
+++ cfe/trunk/lib/AST/Expr.cpp Sun Aug 16 11:51:50 2009
@@ -550,6 +550,9 @@
R1 = SourceRange(KVCRef->getLocation(), KVCRef->getLocation());
if (KVCRef->getBase())
R2 = KVCRef->getBase()->getSourceRange();
+#else
+ Loc = getExprLoc();
+ R1 = getSourceRange();
#endif
return true;
}
More information about the cfe-commits
mailing list