diff options
| author | John McCall <rjmccall@apple.com> | 2010-11-13 01:35:44 +0000 |
|---|---|---|
| committer | John McCall <rjmccall@apple.com> | 2010-11-13 01:35:44 +0000 |
| commit | e84af4e4867cadf9edbd1120edf6999e42673cdd (patch) | |
| tree | d6819709606fa0dc0c791231ea057430c39f32cd /clang/lib/CodeGen/CGExpr.cpp | |
| parent | 1aa5863a3e679e6dcd5dde7531569275e174b7ed (diff) | |
| download | bcm5719-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.cpp | 1 |
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: |

