mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-05 18:28:29 +00:00
Some cosmetic changes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59096 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
19ab6b0940
commit
aa4774caaa
@ -109,12 +109,8 @@ CompilationGraph::getToolsVector(const std::string& LangName) const
|
||||
}
|
||||
|
||||
void CompilationGraph::insertNode(Tool* V) {
|
||||
if (NodesMap.count(V->Name()) == 0) {
|
||||
Node N;
|
||||
N.OwningGraph = this;
|
||||
N.ToolPtr = V;
|
||||
NodesMap[V->Name()] = N;
|
||||
}
|
||||
if (NodesMap.count(V->Name()) == 0)
|
||||
NodesMap[V->Name()] = Node(this, V);
|
||||
}
|
||||
|
||||
void CompilationGraph::insertEdge(const std::string& A, Edge* Edg) {
|
||||
|
@ -20,12 +20,14 @@
|
||||
#include "llvm/ADT/StringMap.h"
|
||||
#include "llvm/ADT/StringSet.h"
|
||||
#include "llvm/Support/Streams.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <cassert>
|
||||
#include <functional>
|
||||
#include <stdexcept>
|
||||
#include <string>
|
||||
#include <typeinfo>
|
||||
|
||||
using namespace llvm;
|
||||
|
||||
namespace {
|
||||
|
Loading…
Reference in New Issue
Block a user