summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGExpr.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/CodeGen/CGExpr.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/CodeGen/CGExpr.cpp')
-rw-r--r--clang/lib/CodeGen/CGExpr.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CGExpr.cpp b/clang/lib/CodeGen/CGExpr.cpp
index 355c18f79c5..bb2eb3c7982 100644
--- a/clang/lib/CodeGen/CGExpr.cpp
+++ b/clang/lib/CodeGen/CGExpr.cpp
@@ -1806,6 +1806,7 @@ LValue CodeGenFunction::EmitCastLValue(const CastExpr *E) {
case CK_ArrayToPointerDecay:
case CK_FunctionToPointerDecay:
case CK_NullToMemberPointer:
+ case CK_NullToPointer:
case CK_IntegralToPointer:
case CK_PointerToIntegral:
case CK_VectorSplat:
OpenPOWER on IntegriCloud