[cfe-commits] r140613 - /cfe/trunk/lib/AST/ExprConstant.cpp
Peter Collingbourne
peter at pcc.me.uk
Tue Sep 27 10:33:05 PDT 2011
Author: pcc
Date: Tue Sep 27 12:33:05 2011
New Revision: 140613
URL: http://llvm.org/viewvc/llvm-project?rev=140613&view=rev
Log:
Constant evaluation for pointer CXXScalarValueInitExpr
Modified:
cfe/trunk/lib/AST/ExprConstant.cpp
Modified: cfe/trunk/lib/AST/ExprConstant.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/ExprConstant.cpp?rev=140613&r1=140612&r2=140613&view=diff
==============================================================================
--- cfe/trunk/lib/AST/ExprConstant.cpp (original)
+++ cfe/trunk/lib/AST/ExprConstant.cpp Tue Sep 27 12:33:05 2011
@@ -616,6 +616,8 @@
{ return Success((Expr*)0); }
bool VisitCXXNullPtrLiteralExpr(const CXXNullPtrLiteralExpr *E)
{ return Success((Expr*)0); }
+ bool VisitCXXScalarValueInitExpr(const CXXScalarValueInitExpr *E)
+ { return Success((Expr*)0); }
// FIXME: Missing: @protocol, @selector
};
More information about the cfe-commits
mailing list