[clang] e9b150c - [clang][Interp][NFC] Add missing static_assert message
Timm Bäder via cfe-commits
cfe-commits at lists.llvm.org
Thu Mar 30 23:22:48 PDT 2023
Author: Timm Bäder
Date: 2023-03-31T08:22:34+02:00
New Revision: e9b150c2d9bb856f371d201d9968b504e12d98a3
URL: https://github.com/llvm/llvm-project/commit/e9b150c2d9bb856f371d201d9968b504e12d98a3
DIFF: https://github.com/llvm/llvm-project/commit/e9b150c2d9bb856f371d201d9968b504e12d98a3.diff
LOG: [clang][Interp][NFC] Add missing static_assert message
This broke builders, e.g.
https://lab.llvm.org/buildbot#builders/139/builds/38298
Added:
Modified:
clang/test/AST/Interp/functions.cpp
Removed:
################################################################################
diff --git a/clang/test/AST/Interp/functions.cpp b/clang/test/AST/Interp/functions.cpp
index 1abdb2db97ff..2b44f42486d3 100644
--- a/clang/test/AST/Interp/functions.cpp
+++ b/clang/test/AST/Interp/functions.cpp
@@ -184,4 +184,4 @@ struct BodylessMemberFunction {
constexpr int nyd(int m);
constexpr int doit() { return nyd(10); }
constexpr int nyd(int m) { return m; }
-static_assert(doit() == 10);
+static_assert(doit() == 10, "");
More information about the cfe-commits
mailing list