Fix stale comment that mentioned 0 instead of nullptr. NFC.
authorCraig Topper <craig.topper@gmail.com>
Wed, 22 Apr 2015 02:59:03 +0000 (02:59 +0000)
committerCraig Topper <craig.topper@gmail.com>
Wed, 22 Apr 2015 02:59:03 +0000 (02:59 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@235468 91177308-0d34-0410-b5e6-96231b3b80d8

lib/TableGen/Record.cpp

index 17f78e286a97eea1d4c8c4974928b102d1a23948..b81254b99cc874db51e3bc2383a928b3691129d9 100644 (file)
@@ -385,7 +385,7 @@ bool RecordRecTy::baseClassOf(const RecTy *RHS) const{
 }
 
 /// resolveTypes - Find a common type that T1 and T2 convert to.
-/// Return 0 if no such type exists.
+/// Return nullptr if no such type exists.
 ///
 RecTy *llvm::resolveTypes(RecTy *T1, RecTy *T2) {
   if (T1->typeIsConvertibleTo(T2))