add a new NullablePtr class which makes it more obvious in API
authorChris Lattner <sabre@nondot.org>
Sat, 24 Jul 2010 18:47:46 +0000 (18:47 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 24 Jul 2010 18:47:46 +0000 (18:47 +0000)
commit1ec9e6a5dccbc6042d25f03f224d351f15812aec
tree8e0f7e5c97d3016716f7e4568f0b9186105598e6
parent0cb24daeeaaf5e6104b04195b5f09bcf99904364
add a new NullablePtr class which makes it more obvious in API
that a pointer can be null, forcing clients to think about it.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109348 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ADT/NullablePtr.h [new file with mode: 0644]