diff options
| author | Craig Topper <craig.topper@gmail.com> | 2014-04-14 00:51:57 +0000 |
|---|---|---|
| committer | Craig Topper <craig.topper@gmail.com> | 2014-04-14 00:51:57 +0000 |
| commit | c0196b1b4094aeb27fd91466e0c4c1185a492daa (patch) | |
| tree | 3a3d0ad3aebec28bee34ab7808fee8e75e567eb8 /llvm/include/llvm/CodeGen/MachineTraceMetrics.h | |
| parent | 0192cbac6669fb9fff8cf9a75d53757a494af9ca (diff) | |
| download | bcm5719-llvm-c0196b1b4094aeb27fd91466e0c4c1185a492daa.tar.gz bcm5719-llvm-c0196b1b4094aeb27fd91466e0c4c1185a492daa.zip | |
[C++11] More 'nullptr' conversion. In some cases just using a boolean check instead of comparing to nullptr.
llvm-svn: 206142
Diffstat (limited to 'llvm/include/llvm/CodeGen/MachineTraceMetrics.h')
| -rw-r--r-- | llvm/include/llvm/CodeGen/MachineTraceMetrics.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/CodeGen/MachineTraceMetrics.h b/llvm/include/llvm/CodeGen/MachineTraceMetrics.h index dc0bc1d6c2c..323b694f393 100644 --- a/llvm/include/llvm/CodeGen/MachineTraceMetrics.h +++ b/llvm/include/llvm/CodeGen/MachineTraceMetrics.h @@ -154,7 +154,7 @@ public: unsigned InstrHeight; TraceBlockInfo() : - Pred(0), Succ(0), + Pred(nullptr), Succ(nullptr), InstrDepth(~0u), InstrHeight(~0u), HasValidInstrDepths(false), HasValidInstrHeights(false) {} |

