Replace a 0 with nullptr. NFC

llvm-svn: 242988
This commit is contained in:
Craig Topper 2015-07-23 07:17:53 +00:00
parent 87e6397fb1
commit db2888fa28
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@ namespace llvm {
/// Construct an ArrayRef from a std::initializer_list. /// Construct an ArrayRef from a std::initializer_list.
/*implicit*/ ArrayRef(const std::initializer_list<T> &Vec) /*implicit*/ ArrayRef(const std::initializer_list<T> &Vec)
: Data(Vec.begin() == Vec.end() ? (T*)0 : Vec.begin()), : Data(Vec.begin() == Vec.end() ? (T*)nullptr : Vec.begin()),
Length(Vec.size()) {} Length(Vec.size()) {}
/// Construct an ArrayRef<const T*> from ArrayRef<T*>. This uses SFINAE to /// Construct an ArrayRef<const T*> from ArrayRef<T*>. This uses SFINAE to