mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-26 12:20:42 +00:00
Fine-grainify namespaces for this library
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9948 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -22,8 +22,7 @@
|
||||
#include "Support/Statistic.h"
|
||||
#include <fstream>
|
||||
#include <sstream>
|
||||
|
||||
namespace llvm {
|
||||
using namespace llvm;
|
||||
|
||||
// OnlyPrintMain - The DataStructure printer exposes this option to allow
|
||||
// printing of only the graph for "main".
|
||||
@@ -73,6 +72,7 @@ static std::string getCaption(const DSNode *N, const DSGraph *G) {
|
||||
return OS.str();
|
||||
}
|
||||
|
||||
namespace llvm {
|
||||
template<>
|
||||
struct DOTGraphTraits<const DSGraph*> : public DefaultDOTGraphTraits {
|
||||
static std::string getGraphName(const DSGraph *G) {
|
||||
@@ -179,6 +179,7 @@ struct DOTGraphTraits<const DSGraph*> : public DefaultDOTGraphTraits {
|
||||
}
|
||||
}
|
||||
};
|
||||
} // end namespace llvm
|
||||
|
||||
void DSNode::print(std::ostream &O, const DSGraph *G) const {
|
||||
GraphWriter<const DSGraph *> W(O, G);
|
||||
@@ -282,4 +283,3 @@ void TDDataStructures::print(std::ostream &O, const Module *M) const {
|
||||
printCollection(*this, O, M, "td.");
|
||||
}
|
||||
|
||||
} // End llvm namespace
|
||||
|
||||
Reference in New Issue
Block a user