diff options
Diffstat (limited to 'lib/AST/ExprConstant.cpp')
-rw-r--r-- | lib/AST/ExprConstant.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/AST/ExprConstant.cpp b/lib/AST/ExprConstant.cpp index f88206cee7..cbcd5e8f74 100644 --- a/lib/AST/ExprConstant.cpp +++ b/lib/AST/ExprConstant.cpp @@ -2340,6 +2340,12 @@ public: return Visit(E->getSubExpr()); } bool VisitUnaryOperator(const UnaryOperator *E) { return Visit(E->getSubExpr()); } + bool VisitGNUNullExpr(const GNUNullExpr *E) { return false; } + bool VisitCXXBoolLiteralExpr(const CXXBoolLiteralExpr *E) { return false; } + bool VisitCXXThisExpr(const CXXThisExpr *E) { return false; } + bool VisitCXXNullPtrLiteralExpr(const CXXNullPtrLiteralExpr *E) { + return false; + } // Has side effects if any element does. bool VisitInitListExpr(const InitListExpr *E) { |