diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2017-12-20 14:16:56 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2017-12-20 14:16:56 +0000 |
| commit | 2cab237b5dbfe1b3e9c7aa7a3c02d2b98fcf7462 (patch) | |
| tree | 524fe828571f81358bba62fdb6d04c6e5e96a2a4 /contrib/llvm/lib/CodeGen/LiveDebugVariables.h | |
| parent | 6c7828a2807ea5e50c79ca42dbedf2b589ce63b2 (diff) | |
| parent | 044eb2f6afba375a914ac9d8024f8f5142bb912e (diff) | |
Notes
Diffstat (limited to 'contrib/llvm/lib/CodeGen/LiveDebugVariables.h')
| -rw-r--r-- | contrib/llvm/lib/CodeGen/LiveDebugVariables.h | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/contrib/llvm/lib/CodeGen/LiveDebugVariables.h b/contrib/llvm/lib/CodeGen/LiveDebugVariables.h index 1d7e3d4371a2..aa35880b063a 100644 --- a/contrib/llvm/lib/CodeGen/LiveDebugVariables.h +++ b/contrib/llvm/lib/CodeGen/LiveDebugVariables.h @@ -1,4 +1,4 @@ -//===- LiveDebugVariables.h - Tracking debug info variables ----*- c++ -*--===// +//===- LiveDebugVariables.h - Tracking debug info variables -----*- C++ -*-===// // // The LLVM Compiler Infrastructure // @@ -22,17 +22,16 @@ #define LLVM_LIB_CODEGEN_LIVEDEBUGVARIABLES_H #include "llvm/CodeGen/MachineFunctionPass.h" -#include "llvm/IR/DebugInfo.h" +#include "llvm/Support/Compiler.h" namespace llvm { template <typename T> class ArrayRef; -class LiveInterval; class LiveIntervals; class VirtRegMap; class LLVM_LIBRARY_VISIBILITY LiveDebugVariables : public MachineFunctionPass { - void *pImpl; + void *pImpl = nullptr; public: static char ID; // Pass identification, replacement for typeid @@ -62,14 +61,12 @@ public: void dump() const; private: - bool runOnMachineFunction(MachineFunction &) override; void releaseMemory() override; void getAnalysisUsage(AnalysisUsage &) const override; bool doInitialization(Module &) override; - }; -} // namespace llvm +} // end namespace llvm -#endif +#endif // LLVM_LIB_CODEGEN_LIVEDEBUGVARIABLES_H |
