mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-27 22:15:18 +00:00
Move RemoveFromVector out of the global namespace.
llvm-svn: 51090
This commit is contained in:
parent
ffe0b1f40e
commit
766d1c1aee
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user