aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/Support/FileCheckTest.cpp
diff options
context:
space:
mode:
authorDávid Bolvanský <david.bolvansky@gmail.com>2020-08-08 20:45:24 +0200
committerDávid Bolvanský <david.bolvansky@gmail.com>2020-08-08 20:45:24 +0200
commit4cc914280fbe7b3e3e0f921da2b805e23a68f088 (patch)
treef1161d0a3b01480e915c40b239b5a8290d7c6ed9 /llvm/unittests/Support/FileCheckTest.cpp
parentcc15380f103f09bc447cd3f22bcdbedca7447b97 (diff)
downloadllvm-4cc914280fbe7b3e3e0f921da2b805e23a68f088.zip
llvm-4cc914280fbe7b3e3e0f921da2b805e23a68f088.tar.gz
llvm-4cc914280fbe7b3e3e0f921da2b805e23a68f088.tar.bz2
[FileCheckTest] Supress new warning
Diffstat (limited to 'llvm/unittests/Support/FileCheckTest.cpp')
-rw-r--r--llvm/unittests/Support/FileCheckTest.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/unittests/Support/FileCheckTest.cpp b/llvm/unittests/Support/FileCheckTest.cpp
index 9f28684..80a43f1 100644
--- a/llvm/unittests/Support/FileCheckTest.cpp
+++ b/llvm/unittests/Support/FileCheckTest.cpp
@@ -796,10 +796,10 @@ TEST_F(FileCheckTest, Binop) {
std::move(Binop2));
ImplicitFormat = OuterBinop->getImplicitFormat(SM);
expectSameErrors<ErrorDiagnostic>(
- {"implicit format conflict between 'FOO' (%u) and 'BAZ' (%x), "
- "need an explicit format specifier",
- "implicit format conflict between 'FOO' (%u) and 'QUUX' (%x), "
- "need an explicit format specifier"},
+ {("implicit format conflict between 'FOO' (%u) and 'BAZ' (%x), need an "
+ "explicit format specifier"),
+ ("implicit format conflict between 'FOO' (%u) and 'QUUX' (%x), need an "
+ "explicit format specifier")},
ImplicitFormat.takeError());
}