Return 0 if the ConstExprEmitter can't handle an expression.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65951 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/CGExprConstant.cpp b/lib/CodeGen/CGExprConstant.cpp
index 565549c..3f52175 100644
--- a/lib/CodeGen/CGExprConstant.cpp
+++ b/lib/CodeGen/CGExprConstant.cpp
@@ -40,9 +40,7 @@
   //===--------------------------------------------------------------------===//
     
   llvm::Constant *VisitStmt(Stmt *S) {
-    CGM.ErrorUnsupported(S, "constant expression");
-    QualType T = cast<Expr>(S)->getType();
-    return llvm::UndefValue::get(CGM.getTypes().ConvertType(T));
+    return 0;
   }
   
   llvm::Constant *VisitParenExpr(ParenExpr *PE) {