summaryrefslogtreecommitdiffstats
path: root/clang/lib/Checker/GRExprEngine.cpp
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2010-11-13 01:35:44 +0000
committerJohn McCall <rjmccall@apple.com>2010-11-13 01:35:44 +0000
commite84af4e4867cadf9edbd1120edf6999e42673cdd (patch)
treed6819709606fa0dc0c791231ea057430c39f32cd /clang/lib/Checker/GRExprEngine.cpp
parent1aa5863a3e679e6dcd5dde7531569275e174b7ed (diff)
downloadbcm5719-llvm-e84af4e4867cadf9edbd1120edf6999e42673cdd.tar.gz
bcm5719-llvm-e84af4e4867cadf9edbd1120edf6999e42673cdd.zip
Introduce a null-to-pointer implicit cast kind.
llvm-svn: 118966
Diffstat (limited to 'clang/lib/Checker/GRExprEngine.cpp')
-rw-r--r--clang/lib/Checker/GRExprEngine.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Checker/GRExprEngine.cpp b/clang/lib/Checker/GRExprEngine.cpp
index 1669a353a55..73b5bf8967e 100644
--- a/clang/lib/Checker/GRExprEngine.cpp
+++ b/clang/lib/Checker/GRExprEngine.cpp
@@ -2518,6 +2518,7 @@ void GRExprEngine::VisitCast(const CastExpr *CastE, const Expr *Ex,
case CK_BitCast:
case CK_LValueBitCast:
case CK_IntegralCast:
+ case CK_NullToPointer:
case CK_IntegralToPointer:
case CK_PointerToIntegral:
case CK_IntegralToFloating:
OpenPOWER on IntegriCloud