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.
30 lines
974 B
30 lines
974 B
4 years ago
|
<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 new/ delete</h2>
|
||
|
<p>
|
||
|
</p>
|
||
|
<table border="1", width="100%">
|
||
|
<tr>
|
||
|
<td>
|
||
|
<pre>
|
||
|
{
|
||
|
Foo* foo = new<a title="sp_after_new"><font color="red">█</font></a>Foo(a,v);
|
||
|
// does'nt work at every place
|
||
|
|
||
|
delete[]<a title="sp_after_new"><font color="red">█</font></a>m_used;
|
||
|
|
||
|
Foo* foo = new<a title="sp_between_new_paren"><font color="red">█</font></a>(<a title="sp_inside_newop_paren, sp_inside_newop_paren_open"><font color="red">█</font></a>ptr,std::nothrow<a title="sp_inside_newop_paren"><font color="red">█</font></a>)<a title="sp_after_newop_paren, sp_inside_newop_paren_close"><font color="red">█</font></a>Foo[];
|
||
|
}
|
||
|
</pre>
|
||
|
</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</body>
|
||
|
</html>
|