mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-22 23:24:59 +00:00
[C++11] Use 'nullptr'.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210442 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -31,7 +31,7 @@ TEST(WaymarkTest, NativeArray) {
|
||||
FunctionType *FT = FunctionType::get(Type::getVoidTy(getGlobalContext()), true);
|
||||
Function *F = Function::Create(FT, GlobalValue::ExternalLinkage);
|
||||
const CallInst *A = CallInst::Create(F, makeArrayRef(values));
|
||||
ASSERT_NE(A, (const CallInst*)NULL);
|
||||
ASSERT_NE(A, (const CallInst*)nullptr);
|
||||
ASSERT_EQ(1U + 22, A->getNumOperands());
|
||||
const Use *U = &A->getOperandUse(0);
|
||||
const Use *Ue = &A->getOperandUse(22);
|
||||
|
Reference in New Issue
Block a user