mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-23 14:25:07 +00:00
[C++] Use 'nullptr'. Target edition.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207197 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -407,11 +407,11 @@ static bool fixupFPReturnAndCall
|
||||
CallInst::Create(F, Params, "", &Inst );
|
||||
} else if (const CallInst *CI = dyn_cast<CallInst>(I)) {
|
||||
const Value* V = CI->getCalledValue();
|
||||
const Type* T = 0;
|
||||
const Type* T = nullptr;
|
||||
if (V) T = V->getType();
|
||||
const PointerType *PFT=0;
|
||||
const PointerType *PFT=nullptr;
|
||||
if (T) PFT = dyn_cast<PointerType>(T);
|
||||
const FunctionType *FT=0;
|
||||
const FunctionType *FT=nullptr;
|
||||
if (PFT) FT = dyn_cast<FunctionType>(PFT->getElementType());
|
||||
Function *F_ = CI->getCalledFunction();
|
||||
if (FT && needsFPReturnHelper(*FT) &&
|
||||
|
Reference in New Issue
Block a user