summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/Interval.cpp
diff options
context:
space:
mode:
authorEugene Zelenko <eugene.zelenko@gmail.com>2017-07-24 23:16:33 +0000
committerEugene Zelenko <eugene.zelenko@gmail.com>2017-07-24 23:16:33 +0000
commit48666a694c7ba4f230a4c2ad8ca3be3084c32f47 (patch)
treef4c61f820cced8f90ba29ebe2c403782d9a85df8 /llvm/lib/Analysis/Interval.cpp
parent1d70d75f468c2df944dffe48aa4efe22716156f9 (diff)
downloadbcm5719-llvm-48666a694c7ba4f230a4c2ad8ca3be3084c32f47.tar.gz
bcm5719-llvm-48666a694c7ba4f230a4c2ad8ca3be3084c32f47.zip
[Analysis] Fix some Clang-tidy modernize-use-using and Include What You Use warnings; other minor fixes (NFC).
llvm-svn: 308936
Diffstat (limited to 'llvm/lib/Analysis/Interval.cpp')
-rw-r--r--llvm/lib/Analysis/Interval.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/llvm/lib/Analysis/Interval.cpp b/llvm/lib/Analysis/Interval.cpp
index 6c10d73bcb4..6d5de22cb93 100644
--- a/llvm/lib/Analysis/Interval.cpp
+++ b/llvm/lib/Analysis/Interval.cpp
@@ -16,7 +16,6 @@
#include "llvm/IR/BasicBlock.h"
#include "llvm/IR/CFG.h"
#include "llvm/Support/raw_ostream.h"
-#include <algorithm>
using namespace llvm;
@@ -25,7 +24,6 @@ using namespace llvm;
//===----------------------------------------------------------------------===//
// isLoop - Find out if there is a back edge in this interval...
-//
bool Interval::isLoop() const {
// There is a loop in this interval iff one of the predecessors of the header
// node lives in the interval.
@@ -36,7 +34,6 @@ bool Interval::isLoop() const {
return false;
}
-
void Interval::print(raw_ostream &OS) const {
OS << "-------------------------------------------------------------\n"
<< "Interval Contents:\n";
OpenPOWER on IntegriCloud