projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c78a39
)
Move RemoveFromVector out of the global namespace.
author
Dan Gohman
<gohman@apple.com>
Wed, 14 May 2008 01:02:49 +0000
(
01:02
+0000)
committer
Dan Gohman
<gohman@apple.com>
Wed, 14 May 2008 01:02:49 +0000
(
01:02
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51090
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/Analysis/LoopInfo.h
patch
|
blob
|
history
diff --git
a/include/llvm/Analysis/LoopInfo.h
b/include/llvm/Analysis/LoopInfo.h
index e3e2cdd32ddf367d45e9f6c52e5a94bdf8a67885..dff1624a5a0a4bb1b3d16bdaf62e038ff1ad40d5 100644
(file)
--- a/
include/llvm/Analysis/LoopInfo.h
+++ b/
include/llvm/Analysis/LoopInfo.h
@@
-43,6
+43,8
@@
#include <algorithm>
#include <ostream>
+namespace llvm {
+
template<typename T>
static void RemoveFromVector(std::vector<T*> &V, T *N) {
typename std::vector<T*>::iterator I = std::find(V.begin(), V.end(), N);
@@
-50,8
+52,6
@@
static void RemoveFromVector(std::vector<T*> &V, T *N) {
V.erase(I);
}
-namespace llvm {
-
class DominatorTree;
class LoopInfo;
class PHINode;