From: Timm Bäder Date: Mon, 3 Apr 2023 15:11:31 +0000 (+0200) Subject: [clang][Interp] Add missing static_assert message X-Git-Tag: upstream/17.0.6~12847 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=82facc2b2462441a83ca35d2d6ef1ab28244a1b3;p=platform%2Fupstream%2Fllvm.git [clang][Interp] Add missing static_assert message This broke builders, e.g: https://lab.llvm.org/buildbot/#builders/139/builds/38457 --- diff --git a/clang/test/AST/Interp/functions.cpp b/clang/test/AST/Interp/functions.cpp index 4b81e7d..06edcde 100644 --- a/clang/test/AST/Interp/functions.cpp +++ b/clang/test/AST/Interp/functions.cpp @@ -10,7 +10,7 @@ static_assert(gimme5() == 5, ""); template constexpr T identity(T t) { - static_assert(true); + static_assert(true, ""); return t; } static_assert(identity(true), "");