summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/Sema.h
diff options
context:
space:
mode:
Diffstat (limited to 'clang/lib/Sema/Sema.h')
-rw-r--r--clang/lib/Sema/Sema.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/clang/lib/Sema/Sema.h b/clang/lib/Sema/Sema.h
index 7b69de5cc24..17af72ad9d8 100644
--- a/clang/lib/Sema/Sema.h
+++ b/clang/lib/Sema/Sema.h
@@ -1350,7 +1350,9 @@ public:
/// VerifyIntegerConstantExpression - verifies that an expression is an ICE,
/// and reports the appropriate diagnostics. Returns false on success.
/// Can optionally return the value of the expression.
- bool VerifyIntegerConstantExpression(const Expr* E, llvm::APSInt *Result = 0);
+ bool VerifyIntegerConstantExpression(const Expr*E, llvm::APSInt *Result = 0);
+
+ bool isNullPointerConstant(const Expr *E);
//===--------------------------------------------------------------------===//
// Extra semantic analysis beyond the C type system
OpenPOWER on IntegriCloud