mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-24 23:28:41 +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:
@@ -78,8 +78,8 @@ class DbgVariable {
|
||||
public:
|
||||
// AbsVar may be NULL.
|
||||
DbgVariable(DIVariable V, DbgVariable *AV, DwarfDebug *DD)
|
||||
: Var(V), TheDIE(0), DotDebugLocOffset(~0U), AbsVar(AV), MInsn(0),
|
||||
FrameIndex(~0), DD(DD) {}
|
||||
: Var(V), TheDIE(nullptr), DotDebugLocOffset(~0U), AbsVar(AV),
|
||||
MInsn(nullptr), FrameIndex(~0), DD(DD) {}
|
||||
|
||||
// Accessors.
|
||||
DIVariable getVariable() const { return Var; }
|
||||
@@ -523,7 +523,7 @@ class DwarfDebug : public AsmPrinterHandler {
|
||||
|
||||
/// \brief Ensure that a label will be emitted before MI.
|
||||
void requestLabelBeforeInsn(const MachineInstr *MI) {
|
||||
LabelsBeforeInsn.insert(std::make_pair(MI, (MCSymbol *)0));
|
||||
LabelsBeforeInsn.insert(std::make_pair(MI, nullptr));
|
||||
}
|
||||
|
||||
/// \brief Return Label preceding the instruction.
|
||||
@@ -531,7 +531,7 @@ class DwarfDebug : public AsmPrinterHandler {
|
||||
|
||||
/// \brief Ensure that a label will be emitted after MI.
|
||||
void requestLabelAfterInsn(const MachineInstr *MI) {
|
||||
LabelsAfterInsn.insert(std::make_pair(MI, (MCSymbol *)0));
|
||||
LabelsAfterInsn.insert(std::make_pair(MI, nullptr));
|
||||
}
|
||||
|
||||
/// \brief Return Label immediately following the instruction.
|
||||
|
Reference in New Issue
Block a user