summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/unittests/include/common/Utility.h
diff options
context:
space:
mode:
Diffstat (limited to 'clang-tools-extra/unittests/include/common/Utility.h')
-rw-r--r--clang-tools-extra/unittests/include/common/Utility.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang-tools-extra/unittests/include/common/Utility.h b/clang-tools-extra/unittests/include/common/Utility.h
index c934d4806e0..0cf6a50bc6d 100644
--- a/clang-tools-extra/unittests/include/common/Utility.h
+++ b/clang-tools-extra/unittests/include/common/Utility.h
@@ -12,7 +12,7 @@
// FIXME: copied from unittests/Support/Path.cpp
#define ASSERT_NO_ERROR(x) \
- if (llvm::error_code ASSERT_NO_ERROR_ec = x) { \
+ if (std::error_code ASSERT_NO_ERROR_ec = x) { \
llvm::SmallString<128> MessageStorage; \
llvm::raw_svector_ostream Message(MessageStorage); \
Message << #x ": did not return errc::success.\n" \
OpenPOWER on IntegriCloud