Author: Timm Bäder Date: 2022-10-22T10:32:05+02:00 New Revision: c29f0638c1e17635ad0c0f2fc37bd16c81db1a9b
URL: https://github.com/llvm/llvm-project/commit/c29f0638c1e17635ad0c0f2fc37bd16c81db1a9b DIFF: https://github.com/llvm/llvm-project/commit/c29f0638c1e17635ad0c0f2fc37bd16c81db1a9b.diff LOG: [clang][Interp] Add a missing static_assert message This broke a builder: https://lab.llvm.org/buildbot/#builders/139/builds/29923 Added: Modified: clang/test/AST/Interp/arrays.cpp Removed: ################################################################################ diff --git a/clang/test/AST/Interp/arrays.cpp b/clang/test/AST/Interp/arrays.cpp index 1269e9dbb2b1..17829189f85e 100644 --- a/clang/test/AST/Interp/arrays.cpp +++ b/clang/test/AST/Interp/arrays.cpp @@ -91,7 +91,7 @@ constexpr int addThreeElements(const int v[3]) { return v[0] + v[1] + v[2]; } constexpr int is[] = {10, 20, 30 }; -static_assert(addThreeElements(is) == 60); +static_assert(addThreeElements(is) == 60, ""); struct fred { char s [6]; _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits