summaryrefslogtreecommitdiff
path: root/unittests
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2016-05-27 01:54:25 +0000
committerLang Hames <lhames@gmail.com>2016-05-27 01:54:25 +0000
commitc93d4ea0e39bdb92f0ca0dbeac50213e1236e8ef (patch)
tree95c766a3190cbe9f887913420a951d573674640b /unittests
parent5083fc557389a0cdeb5922c5c6dde01e536bdd61 (diff)
[Support] Rename unconvertibleErrorCode to inconvertibleErrorCode.
Based on a totally scientific, 30 second google search "in-" appears to be the preferred prefix. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@270950 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests')
-rw-r--r--unittests/Support/ErrorTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/unittests/Support/ErrorTest.cpp b/unittests/Support/ErrorTest.cpp
index 919bce53860..d5d799384f4 100644
--- a/unittests/Support/ErrorTest.cpp
+++ b/unittests/Support/ErrorTest.cpp
@@ -382,7 +382,7 @@ TEST(Error, StringError) {
std::string Msg;
raw_string_ostream S(Msg);
logAllUnhandledErrors(make_error<StringError>("foo" + Twine(42),
- unconvertibleErrorCode()),
+ inconvertibleErrorCode()),
S, "");
EXPECT_EQ(S.str(), "foo42\n") << "Unexpected StringError log result";