[llvm] 4cc9142 - [FileCheckTest] Supress new warning
Dávid Bolvanský via llvm-commits
llvm-commits at lists.llvm.org
Sat Aug 8 11:45:44 PDT 2020
Author: Dávid Bolvanský
Date: 2020-08-08T20:45:24+02:00
New Revision: 4cc914280fbe7b3e3e0f921da2b805e23a68f088
URL: https://github.com/llvm/llvm-project/commit/4cc914280fbe7b3e3e0f921da2b805e23a68f088
DIFF: https://github.com/llvm/llvm-project/commit/4cc914280fbe7b3e3e0f921da2b805e23a68f088.diff
LOG: [FileCheckTest] Supress new warning
Added:
Modified:
llvm/unittests/Support/FileCheckTest.cpp
Removed:
################################################################################
diff --git a/llvm/unittests/Support/FileCheckTest.cpp b/llvm/unittests/Support/FileCheckTest.cpp
index 9f286849d66b..80a43f1e5888 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());
}
More information about the llvm-commits
mailing list