diff options
Diffstat (limited to 'tools/analyze/GraphPrinters.cpp')
-rw-r--r-- | tools/analyze/GraphPrinters.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/analyze/GraphPrinters.cpp b/tools/analyze/GraphPrinters.cpp index 34c937f..6d2750f 100644 --- a/tools/analyze/GraphPrinters.cpp +++ b/tools/analyze/GraphPrinters.cpp @@ -20,6 +20,8 @@ #include "llvm/Analysis/CallGraph.h" #include <fstream> +namespace llvm { + template<typename GraphType> static void WriteGraphToFile(std::ostream &O, const std::string &GraphName, const GraphType >) { @@ -72,3 +74,5 @@ namespace { RegisterAnalysis<CallGraphPrinter> P2("print-callgraph", "Print Call Graph to 'dot' file"); }; + +} // End llvm namespace |