You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
1.2 KiB

<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<title>Uncrustify: where do the Spaces options work</title>
</head>
<body lang="en-US">
<h1><a href="https://github.com/uncrustify/uncrustify">Uncrustify</a>:
Where do the options work?</h1>
<h2>Spaces for for loop</h2>
<p>
</p>
<table border="1", width="100%">
<tr>
<td>
<pre>
{
for (i = 0<a title="sp_before_semi_for"><font color="red"></font></a>;<a title="sp_after_semi_for"><font color="red"></font></a>i < 10<a title="sp_before_semi_for"><font color="red"></font></a>;<a title="sp_after_semi_for"><font color="red"></font></a>i++<a title="sp_after_semi"><font color="red"></font></a>)
{
b = i + 1;
}
for (<a title="sp_before_semi_for_empty"><font color="red"></font></a>;<a title="sp_between_semi_for_empty"><font color="red"></font></a>;<a title="sp_after_semi_for_empty"><font color="red"></font></a>)
{
b = b + 1;
}
for(auto x<a title="sp_before_for_colon"><font color="red"></font></a>:<a title="sp_after_for_colon"><font color="red"></font></a>std::as_const(str)) {}
}
</pre>
</td>
</tr>
</table>
</body>
</html>