summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/AArch64
diff options
context:
space:
mode:
authorReid Kleckner <reid@kleckner.net>2014-11-20 23:51:47 +0000
committerReid Kleckner <reid@kleckner.net>2014-11-20 23:51:47 +0000
commit343c395f11fc1888d318ad13e19f71eb6b99cc68 (patch)
tree0aea762eec13455ce4f505f0ed56d82c488fbd05 /llvm/lib/Target/AArch64
parent357600eab56533a9b1a097b7675b3888cd50365d (diff)
downloadbcm5719-llvm-343c395f11fc1888d318ad13e19f71eb6b99cc68.tar.gz
bcm5719-llvm-343c395f11fc1888d318ad13e19f71eb6b99cc68.zip
Fix more instances of -Wsentinel on Windows with s/NULL/nullptr/
Follow up to r221940, where I must not have caught em all. NFC llvm-svn: 222481
Diffstat (limited to 'llvm/lib/Target/AArch64')
-rw-r--r--llvm/lib/Target/AArch64/AArch64ISelLowering.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp b/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
index 275ae6e5c42..7c94d831cba 100644
--- a/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
+++ b/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
@@ -1642,7 +1642,7 @@ SDValue AArch64TargetLowering::LowerFSINCOS(SDValue Op,
(ArgVT == MVT::f64) ? "__sincos_stret" : "__sincosf_stret";
SDValue Callee = DAG.getExternalSymbol(LibcallName, getPointerTy());
- StructType *RetTy = StructType::get(ArgTy, ArgTy, NULL);
+ StructType *RetTy = StructType::get(ArgTy, ArgTy, nullptr);
TargetLowering::CallLoweringInfo CLI(DAG);
CLI.setDebugLoc(dl).setChain(DAG.getEntryNode())
.setCallee(CallingConv::Fast, RetTy, Callee, std::move(Args), 0);
OpenPOWER on IntegriCloud