summaryrefslogtreecommitdiff
path: root/include/llvm/Analysis
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-09-27 15:34:19 +0000
committerDan Gohman <gohman@apple.com>2010-09-27 15:34:19 +0000
commit4c6809d8e38b9690898700085ebbd913e035c2e2 (patch)
tree7b4e1cca7c5e4abe3e356991b1e415b78b8d3aa9 /include/llvm/Analysis
parente0214d5b197aad569343665f5cf6b244747fe71c (diff)
downloadllvm-4c6809d8e38b9690898700085ebbd913e035c2e2.tar.gz
llvm-4c6809d8e38b9690898700085ebbd913e035c2e2.tar.bz2
llvm-4c6809d8e38b9690898700085ebbd913e035c2e2.tar.xz
Remove WriteGraph's Name argument, which it didn't use, and
rename writeHeader's Name argument to Title, to be consistent with WriteGraph. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114829 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Analysis')
-rw-r--r--include/llvm/Analysis/DOTGraphTraitsPass.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Analysis/DOTGraphTraitsPass.h b/include/llvm/Analysis/DOTGraphTraitsPass.h
index d8daf5196f..30741c4970 100644
--- a/include/llvm/Analysis/DOTGraphTraitsPass.h
+++ b/include/llvm/Analysis/DOTGraphTraitsPass.h
@@ -67,7 +67,7 @@ struct DOTGraphTraitsPrinter : public FunctionPass {
Title = GraphName + " for '" + F.getNameStr() + "' function";
if (ErrorInfo.empty())
- WriteGraph(File, Graph, Simple, Name, Title);
+ WriteGraph(File, Graph, Simple, Title);
else
errs() << " error opening file for writing!";
errs() << "\n";