summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Mips/Mips16HardFloat.cpp
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/Mips/Mips16HardFloat.cpp
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/Mips/Mips16HardFloat.cpp')
-rw-r--r--llvm/lib/Target/Mips/Mips16HardFloat.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/Mips/Mips16HardFloat.cpp b/llvm/lib/Target/Mips/Mips16HardFloat.cpp
index 14055d608e1..9488e637a7e 100644
--- a/llvm/lib/Target/Mips/Mips16HardFloat.cpp
+++ b/llvm/lib/Target/Mips/Mips16HardFloat.cpp
@@ -403,7 +403,7 @@ static bool fixupFPReturnAndCall
Attribute::ReadNone);
A = A.addAttribute(C, AttributeSet::FunctionIndex,
Attribute::NoInline);
- Value *F = (M->getOrInsertFunction(Name, A, MyVoid, T, NULL));
+ Value *F = (M->getOrInsertFunction(Name, A, MyVoid, T, nullptr));
CallInst::Create(F, Params, "", &Inst );
} else if (const CallInst *CI = dyn_cast<CallInst>(I)) {
const Value* V = CI->getCalledValue();
OpenPOWER on IntegriCloud