summaryrefslogtreecommitdiffstats
path: root/include/llvm/Support/GraphWriter.h
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-09-27 16:59:51 +0000
committerDan Gohman <gohman@apple.com>2010-09-27 16:59:51 +0000
commitcce563cf1cdbdcb470a1823f1e917960dde3aad6 (patch)
tree877383288d9c724748835b4e57a4f9cea5be8894 /include/llvm/Support/GraphWriter.h
parent51138b3070ddbbaf74ed661f820c3229d3c11f36 (diff)
downloadexternal_llvm-cce563cf1cdbdcb470a1823f1e917960dde3aad6.zip
external_llvm-cce563cf1cdbdcb470a1823f1e917960dde3aad6.tar.gz
external_llvm-cce563cf1cdbdcb470a1823f1e917960dde3aad6.tar.bz2
writeGraph doesn't need its ShortNames argument.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114842 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support/GraphWriter.h')
-rw-r--r--include/llvm/Support/GraphWriter.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/llvm/Support/GraphWriter.h b/include/llvm/Support/GraphWriter.h
index 3ff3fa8..2d29e52 100644
--- a/include/llvm/Support/GraphWriter.h
+++ b/include/llvm/Support/GraphWriter.h
@@ -92,8 +92,7 @@ public:
DTraits = DOTTraits(SN);
}
- void writeGraph(bool ShortNames = false,
- const std::string &Title = "") {
+ void writeGraph(const std::string &Title = "") {
// Output the header for the graph...
writeHeader(Title);
@@ -302,7 +301,7 @@ raw_ostream &WriteGraph(raw_ostream &O, const GraphType &G,
GraphWriter<GraphType> W(O, G, ShortNames);
// Emit the graph.
- W.writeGraph(ShortNames, Title);
+ W.writeGraph(Title);
return O;
}