projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[C++] Use 'nullptr'.
[oota-llvm.git]
/
lib
/
CodeGen
/
AsmPrinter
/
WinCodeViewLineTables.h
diff --git
a/lib/CodeGen/AsmPrinter/WinCodeViewLineTables.h
b/lib/CodeGen/AsmPrinter/WinCodeViewLineTables.h
index a7a62053c3e5d5f83ba43023256eb8f3fff0c74a..0734d97ba714080f6b944c20cbd0467d9261d9db 100644
(file)
--- a/
lib/CodeGen/AsmPrinter/WinCodeViewLineTables.h
+++ b/
lib/CodeGen/AsmPrinter/WinCodeViewLineTables.h
@@
-38,7
+38,7
@@
class WinCodeViewLineTables : public AsmPrinterHandler {
struct FunctionInfo {
SmallVector<MCSymbol *, 10> Instrs;
MCSymbol *End;
struct FunctionInfo {
SmallVector<MCSymbol *, 10> Instrs;
MCSymbol *End;
- FunctionInfo() : End(
0
) {}
+ FunctionInfo() : End(
nullptr
) {}
} *CurFn;
typedef DenseMap<const Function *, FunctionInfo> FnDebugInfoTy;
} *CurFn;
typedef DenseMap<const Function *, FunctionInfo> FnDebugInfoTy;
@@
-104,7
+104,7
@@
class WinCodeViewLineTables : public AsmPrinterHandler {
void maybeRecordLocation(DebugLoc DL, const MachineFunction *MF);
void clear() {
void maybeRecordLocation(DebugLoc DL, const MachineFunction *MF);
void clear() {
- assert(CurFn ==
0
);
+ assert(CurFn ==
nullptr
);
FileNameRegistry.clear();
InstrInfo.clear();
}
FileNameRegistry.clear();
InstrInfo.clear();
}