Skip to content

Commit 96813f5

Browse files
committed
Fix clang style
1 parent f9eefa0 commit 96813f5

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/ansi-c/c_typecheck_expr.cpp

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2877,10 +2877,9 @@ exprt c_typecheck_baset::do_special_functions(
28772877
{
28782878
// Can't enum range check a non-enum
28792879
std::ostringstream error_message;
2880-
error_message << expr.source_location().as_string() << ": "
2881-
<< identifier << " expects enum, but ("
2882-
<< expr2c(arg1, *this) << ") has type `"
2883-
<< type2c(arg1.type(), *this) << '`';
2880+
error_message << expr.source_location().as_string() << ": " << identifier
2881+
<< " expects enum, but (" << expr2c(arg1, *this)
2882+
<< ") has type `" << type2c(arg1.type(), *this) << '`';
28842883
throw invalid_source_file_exceptiont{error_message.str()};
28852884
}
28862885
}

0 commit comments

Comments
 (0)