summaryrefslogtreecommitdiffstats
path: root/clang/lib
diff options
context:
space:
mode:
Diffstat (limited to 'clang/lib')
-rw-r--r--clang/lib/AST/Expr.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/clang/lib/AST/Expr.cpp b/clang/lib/AST/Expr.cpp
index 45c6a8721f8..962819b733d 100644
--- a/clang/lib/AST/Expr.cpp
+++ b/clang/lib/AST/Expr.cpp
@@ -500,7 +500,6 @@ Expr *Expr::IgnoreParenCasts() {
bool Expr::isConstantExpr(ASTContext &Ctx, SourceLocation *Loc) const {
- return true;
switch (getStmtClass()) {
default:
if (Loc) *Loc = getLocStart();
OpenPOWER on IntegriCloud