From: Timm Bäder Date: Thu, 6 Apr 2023 10:03:45 +0000 (+0200) Subject: [clang][Interp] Add missing static_assert messages X-Git-Tag: upstream/17.0.6~12441 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7d9511b2e33f1981cd846dd2493c6d96ece2c77e;p=platform%2Fupstream%2Fllvm.git [clang][Interp] Add missing static_assert messages This broke build bots, e.g: https://lab.llvm.org/buildbot/#/builders/139/builds/38697 --- diff --git a/clang/test/AST/Interp/floats.cpp b/clang/test/AST/Interp/floats.cpp index 3b392d3..71f585e 100644 --- a/clang/test/AST/Interp/floats.cpp +++ b/clang/test/AST/Interp/floats.cpp @@ -87,8 +87,8 @@ namespace ZeroInit { }; constexpr A a{12}; - static_assert(a.f == 0.0f); + static_assert(a.f == 0.0f, ""); constexpr A b{12}; - static_assert(a.f == 0.0); + static_assert(a.f == 0.0, ""); };