[llvm-commits] [llvm] r111618 - /llvm/trunk/include/llvm/Support/GraphWriter.h
Mikhail Glushenkov
foldr at codedgers.com
Fri Aug 20 04:24:35 PDT 2010
Author: foldr
Date: Fri Aug 20 06:24:35 2010
New Revision: 111618
URL: http://llvm.org/viewvc/llvm-project?rev=111618&view=rev
Log:
Disambiguate calls to WriteGraph() to disable ADL.
Modified:
llvm/trunk/include/llvm/Support/GraphWriter.h
Modified: llvm/trunk/include/llvm/Support/GraphWriter.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/GraphWriter.h?rev=111618&r1=111617&r2=111618&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/GraphWriter.h (original)
+++ llvm/trunk/include/llvm/Support/GraphWriter.h Fri Aug 20 06:24:35 2010
@@ -322,7 +322,7 @@
raw_fd_ostream O(Filename.c_str(), ErrorInfo);
if (ErrorInfo.empty()) {
- WriteGraph(O, G, ShortNames, Name, Title);
+ llvm::WriteGraph(O, G, ShortNames, Name, Title);
errs() << " done. \n";
} else {
errs() << "error opening file '" << Filename.str() << "' for writing!\n";
@@ -339,7 +339,7 @@
void ViewGraph(const GraphType &G, const std::string &Name,
bool ShortNames = false, const std::string &Title = "",
GraphProgram::Name Program = GraphProgram::DOT) {
- sys::Path Filename = WriteGraph(G, Name, ShortNames, Title);
+ sys::Path Filename = llvm::WriteGraph(G, Name, ShortNames, Title);
if (Filename.isEmpty())
return;
More information about the llvm-commits
mailing list