summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/InheritViz.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/lib/AST/InheritViz.cpp')
-rw-r--r--clang/lib/AST/InheritViz.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/AST/InheritViz.cpp b/clang/lib/AST/InheritViz.cpp
index 84cc167458e..eb3020c5f51 100644
--- a/clang/lib/AST/InheritViz.cpp
+++ b/clang/lib/AST/InheritViz.cpp
@@ -139,7 +139,7 @@ void CXXRecordDecl::viewInheritance(ASTContext& Context) const {
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";
OpenPOWER on IntegriCloud