Generate code for static variables that don't have initializers. Also, report an error if a static initializer is not constant.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@43058 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/AST/Expr.cpp b/AST/Expr.cpp
index 5cd56cc..1b989a4 100644
--- a/AST/Expr.cpp
+++ b/AST/Expr.cpp
@@ -365,7 +365,8 @@
case IntegerLiteralClass:
case CharacterLiteralClass:
case ImaginaryLiteralClass:
- case TypesCompatibleExprClass:
+ case TypesCompatibleExprClass:
+ case CXXBoolLiteralExprClass:
break;
case CallExprClass: {
const CallExpr *CE = cast<CallExpr>(this);