|
|
@@ -37,8 +37,8 @@ namespace Carbon::Internal {
|
|
|
// `llvm::formatv` which handles all of the formatting of output.
|
|
|
template <TemplateString Kind, TemplateString File, int Line,
|
|
|
TemplateString ConditionStr, TemplateString FormatStr, typename... Ts>
|
|
|
-[[noreturn, gnu::cold, clang::noinline, clang::preserve_most]] auto CheckFail(
|
|
|
- Ts&&... values) -> void {
|
|
|
+[[noreturn, gnu::cold, clang::noinline]] auto CheckFail(Ts&&... values)
|
|
|
+ -> void {
|
|
|
if constexpr (llvm::StringRef(FormatStr).empty()) {
|
|
|
// Skip the format string rendering if empty. Note that we don't skip it
|
|
|
// even if there are no values as we want to have consistent handling of
|