[clang] 6cd2355 - [Clang] Fixed buildboit failure; bot defaults to older C++ standard
Dávid Bolvanský via cfe-commits
cfe-commits at lists.llvm.org
Sat Aug 8 10:38:05 PDT 2020
Author: Dávid Bolvanský
Date: 2020-08-08T19:37:50+02:00
New Revision: 6cd23558d3a9fbe8bc73e96d4df4e52c8261d1b5
URL: https://github.com/llvm/llvm-project/commit/6cd23558d3a9fbe8bc73e96d4df4e52c8261d1b5
DIFF: https://github.com/llvm/llvm-project/commit/6cd23558d3a9fbe8bc73e96d4df4e52c8261d1b5.diff
LOG: [Clang] Fixed buildboit failure; bot defaults to older C++ standard
Added:
Modified:
clang/test/Sema/string-concat.c
Removed:
################################################################################
diff --git a/clang/test/Sema/string-concat.c b/clang/test/Sema/string-concat.c
index bf8369b079c8..8f087e37d953 100644
--- a/clang/test/Sema/string-concat.c
+++ b/clang/test/Sema/string-concat.c
@@ -22,11 +22,13 @@ const wchar_t *missing_comma_wchar[] = {
L"promise" // expected-warning{{suspicious concatenation of string literals in an array initialization; did you mean to separate the elements with a comma?}}
};
+#if __cplusplus >= 201103L
const char *missing_comma_u8[] = {
u8"basic_filebuf",
u8"packaged_task" // expected-note{{place parentheses around the string literal to silence warning}}
u8"promise" // expected-warning{{suspicious concatenation of string literals in an array initialization; did you mean to separate the elements with a comma?}}
};
+#endif
const char *missing_two_commas[] = {"basic_filebuf",
"basic_ios" // expected-note{{place parentheses around the string literal to silence warning}}
More information about the cfe-commits
mailing list