mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-26 12:20:42 +00:00
[C++] Use 'nullptr'.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207394 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -3801,7 +3801,7 @@ PPCTargetLowering::LowerCall_32SVR4(SDValue Chain, SDValue Callee,
|
||||
errs() << "Call operand #" << i << " has unhandled type "
|
||||
<< EVT(ArgVT).getEVTString() << "\n";
|
||||
#endif
|
||||
llvm_unreachable(0);
|
||||
llvm_unreachable(nullptr);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
@@ -5487,7 +5487,7 @@ SDValue PPCTargetLowering::LowerBUILD_VECTOR(SDValue Op,
|
||||
SelectionDAG &DAG) const {
|
||||
SDLoc dl(Op);
|
||||
BuildVectorSDNode *BVN = dyn_cast<BuildVectorSDNode>(Op.getNode());
|
||||
assert(BVN != 0 && "Expected a BuildVectorSDNode in LowerBUILD_VECTOR");
|
||||
assert(BVN && "Expected a BuildVectorSDNode in LowerBUILD_VECTOR");
|
||||
|
||||
// Check if this is a splat of a constant value.
|
||||
APInt APSplatBits, APSplatUndef;
|
||||
|
||||
Reference in New Issue
Block a user