summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/ExprConstant.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/lib/AST/ExprConstant.cpp')
-rw-r--r--clang/lib/AST/ExprConstant.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/clang/lib/AST/ExprConstant.cpp b/clang/lib/AST/ExprConstant.cpp
index f88206cee71..cbcd5e8f74b 100644
--- a/clang/lib/AST/ExprConstant.cpp
+++ b/clang/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) {
OpenPOWER on IntegriCloud