summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2015-04-22 02:59:03 +0000
committerCraig Topper <craig.topper@gmail.com>2015-04-22 02:59:03 +0000
commitc7a9cfb7f66ce498a6f87c756fa5b6995f642a21 (patch)
treefa339a272db897e6ee56c3c71d9f4ee124311ae0 /llvm
parent0e04bee8df4949a3b99397b87e801ac5e3c3c334 (diff)
downloadbcm5719-llvm-c7a9cfb7f66ce498a6f87c756fa5b6995f642a21.tar.gz
bcm5719-llvm-c7a9cfb7f66ce498a6f87c756fa5b6995f642a21.zip
Fix stale comment that mentioned 0 instead of nullptr. NFC.
llvm-svn: 235468
Diffstat (limited to 'llvm')
-rw-r--r--llvm/lib/TableGen/Record.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/TableGen/Record.cpp b/llvm/lib/TableGen/Record.cpp
index 17f78e286a9..b81254b99cc 100644
--- a/llvm/lib/TableGen/Record.cpp
+++ b/llvm/lib/TableGen/Record.cpp
@@ -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))
OpenPOWER on IntegriCloud