commit | 8e650d7bf02a59aac5aa15b749769a4fea367a9f | [log] [tgz] |
---|---|---|
author | Rafael Espindola <rafael.espindola@gmail.com> | Thu Jun 12 20:37:59 2014 +0000 |
committer | Rafael Espindola <rafael.espindola@gmail.com> | Thu Jun 12 20:37:59 2014 +0000 |
tree | 340913deb1132da295df8d2a9d3967a528a589d0 | |
parent | 8ce8f21c3cc59f0737377c71da43bfe355aa69c5 [diff] [blame] |
Refer to error_code with the std prefix. llvm-svn: 210817
diff --git a/clang/lib/AST/InheritViz.cpp b/clang/lib/AST/InheritViz.cpp index 84cc167..eb3020c 100644 --- a/clang/lib/AST/InheritViz.cpp +++ b/clang/lib/AST/InheritViz.cpp
@@ -139,7 +139,7 @@ int FD; SmallString<128> Filename; - error_code EC = + std::error_code EC = sys::fs::createTemporaryFile(Self.getAsString(), "dot", FD, Filename); if (EC) { llvm::errs() << "Error: " << EC.message() << "\n";