summaryrefslogtreecommitdiffstats
path: root/clang/lib/Checker/GRExprEngine.cpp
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2010-11-15 09:13:47 +0000
committerJohn McCall <rjmccall@apple.com>2010-11-15 09:13:47 +0000
commit8cb679e4e1e20345b2bb9276fd051b41a21e5e3d (patch)
tree645a16ae7ee52a98f186e00b2bfb7c6334e64bfe /clang/lib/Checker/GRExprEngine.cpp
parent14776cf96a510ca5550d728d9ff7d84f07773592 (diff)
downloadbcm5719-llvm-8cb679e4e1e20345b2bb9276fd051b41a21e5e3d.tar.gz
bcm5719-llvm-8cb679e4e1e20345b2bb9276fd051b41a21e5e3d.zip
Assorted work leading towards the elimination of CK_Unknown.
llvm-svn: 119138
Diffstat (limited to 'clang/lib/Checker/GRExprEngine.cpp')
-rw-r--r--clang/lib/Checker/GRExprEngine.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/lib/Checker/GRExprEngine.cpp b/clang/lib/Checker/GRExprEngine.cpp
index d57bbc2dc11..ecf21035cfa 100644
--- a/clang/lib/Checker/GRExprEngine.cpp
+++ b/clang/lib/Checker/GRExprEngine.cpp
@@ -2541,6 +2541,7 @@ void GRExprEngine::VisitCast(const CastExpr *CastE, const Expr *Ex,
return;
case CK_Unknown:
+ case CK_Dependent:
case CK_ArrayToPointerDecay:
case CK_BitCast:
case CK_LValueBitCast:
@@ -2548,8 +2549,11 @@ void GRExprEngine::VisitCast(const CastExpr *CastE, const Expr *Ex,
case CK_NullToPointer:
case CK_IntegralToPointer:
case CK_PointerToIntegral:
+ case CK_PointerToBoolean:
+ case CK_IntegralToBoolean:
case CK_IntegralToFloating:
case CK_FloatingToIntegral:
+ case CK_FloatingToBoolean:
case CK_FloatingCast:
case CK_FloatingRealToComplex:
case CK_FloatingComplexToReal:
OpenPOWER on IntegriCloud