aboutsummaryrefslogtreecommitdiff
path: root/lib/Support/Memory.cpp
diff options
context:
space:
mode:
authorJordan Rose <jordan_rose@apple.com>2012-09-22 01:24:18 +0000
committerJordan Rose <jordan_rose@apple.com>2012-09-22 01:24:18 +0000
commitf5091b476c46333ecfcf095cd2e422e9748e9546 (patch)
tree91433aeae3998d8da764592eb5bdb129aea932c7 /lib/Support/Memory.cpp
parent3bbdddf527c762085802544665d6e77471ea035b (diff)
Casting: assert that pointer arguments to isa<> are non-null.
This silences several analyzer warnings within LLVM, and provides a slightly nicer crash experience when someone calls isa<>, cast<>, or dyn_cast<> with a null pointer. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164439 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/Memory.cpp')
0 files changed, 0 insertions, 0 deletions