[clang] 611a748 - [clang][Interp] Add empty messages to static_asserts
Timm Bäder via cfe-commits
cfe-commits at lists.llvm.org
Wed Jan 25 06:20:57 PST 2023
Author: Timm Bäder
Date: 2023-01-25T15:20:46+01:00
New Revision: 611a748b2252f9c529805cc2fa34c073e9b42bcd
URL: https://github.com/llvm/llvm-project/commit/611a748b2252f9c529805cc2fa34c073e9b42bcd
DIFF: https://github.com/llvm/llvm-project/commit/611a748b2252f9c529805cc2fa34c073e9b42bcd.diff
LOG: [clang][Interp] Add empty messages to static_asserts
To satisfy builders:
https://lab.llvm.org/buildbot/#/builders/216/builds/16264
Added:
Modified:
clang/test/AST/Interp/floats.cpp
Removed:
################################################################################
diff --git a/clang/test/AST/Interp/floats.cpp b/clang/test/AST/Interp/floats.cpp
index 9c9831c3f10a..ab5d51ca400d 100644
--- a/clang/test/AST/Interp/floats.cpp
+++ b/clang/test/AST/Interp/floats.cpp
@@ -10,10 +10,10 @@ static_assert(f2 == 1.0f, "");
constexpr float f3 = 1.5;
constexpr int i3 = f3;
-static_assert(i3 == 1);
+static_assert(i3 == 1, "");
constexpr bool b3 = f3;
-static_assert(b3);
+static_assert(b3, "");
static_assert(1.0f + 3u == 4, "");
More information about the cfe-commits
mailing list