diff options
Diffstat (limited to 'lib/CodeGen/LiveDebugVariables.h')
-rw-r--r-- | lib/CodeGen/LiveDebugVariables.h | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/lib/CodeGen/LiveDebugVariables.h b/lib/CodeGen/LiveDebugVariables.h index 1d7e3d4371a2..aa35880b063a 100644 --- a/lib/CodeGen/LiveDebugVariables.h +++ b/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 |