summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/LiveDebugVariables.h
diff options
context:
space:
mode:
authorEugene Zelenko <eugene.zelenko@gmail.com>2017-08-24 21:21:39 +0000
committerEugene Zelenko <eugene.zelenko@gmail.com>2017-08-24 21:21:39 +0000
commit5df3d89009536306ef278a123feadc9ea0760a85 (patch)
treeea21a3b9a37204a53ef145030eed4f91e51b87cf /llvm/lib/CodeGen/LiveDebugVariables.h
parentf98335e0b08868c05a91349edf9c60a2b014686c (diff)
downloadbcm5719-llvm-5df3d89009536306ef278a123feadc9ea0760a85.tar.gz
bcm5719-llvm-5df3d89009536306ef278a123feadc9ea0760a85.zip
[CodeGen] Fix some Clang-tidy modernize-use-using and Include What You Use warnings; other minor fixes (NFC).
llvm-svn: 311703
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugVariables.h')
-rw-r--r--llvm/lib/CodeGen/LiveDebugVariables.h13
1 files changed, 5 insertions, 8 deletions
diff --git a/llvm/lib/CodeGen/LiveDebugVariables.h b/llvm/lib/CodeGen/LiveDebugVariables.h
index 1d7e3d4371a..aa35880b063 100644
--- a/llvm/lib/CodeGen/LiveDebugVariables.h
+++ b/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
OpenPOWER on IntegriCloud