summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/unittests/clang-modernize/IncludeDirectivesTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang-tools-extra/unittests/clang-modernize/IncludeDirectivesTest.cpp')
-rw-r--r--clang-tools-extra/unittests/clang-modernize/IncludeDirectivesTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang-tools-extra/unittests/clang-modernize/IncludeDirectivesTest.cpp b/clang-tools-extra/unittests/clang-modernize/IncludeDirectivesTest.cpp
index dfb4b99b9d9..b13528825d4 100644
--- a/clang-tools-extra/unittests/clang-modernize/IncludeDirectivesTest.cpp
+++ b/clang-tools-extra/unittests/clang-modernize/IncludeDirectivesTest.cpp
@@ -66,7 +66,7 @@ public:
/// refer to the headers by using '\<FileName\>'.
std::string makeHeaderFileName(StringRef FileName) const {
SmallString<128> Path;
- llvm::error_code EC = llvm::sys::fs::current_path(Path);
+ std::error_code EC = llvm::sys::fs::current_path(Path);
assert(!EC);
(void)EC;
OpenPOWER on IntegriCloud