Author: Timm Bäder Date: 2023-04-06T12:03:45+02:00 New Revision: 7d9511b2e33f1981cd846dd2493c6d96ece2c77e
URL: https://github.com/llvm/llvm-project/commit/7d9511b2e33f1981cd846dd2493c6d96ece2c77e DIFF: https://github.com/llvm/llvm-project/commit/7d9511b2e33f1981cd846dd2493c6d96ece2c77e.diff LOG: [clang][Interp] Add missing static_assert messages This broke build bots, e.g: https://lab.llvm.org/buildbot/#/builders/139/builds/38697 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 3b392d3b6727b..71f585ee70a9c 100644 --- a/clang/test/AST/Interp/floats.cpp +++ b/clang/test/AST/Interp/floats.cpp @@ -87,8 +87,8 @@ namespace ZeroInit { }; constexpr A<float> a{12}; - static_assert(a.f == 0.0f); + static_assert(a.f == 0.0f, ""); constexpr A<double> b{12}; - static_assert(a.f == 0.0); + static_assert(a.f == 0.0, ""); }; _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits