File: options_Space_Template.html

package info (click to toggle)
uncrustify 0.72.0%2Bdfsg1-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 20,792 kB
  • sloc: cpp: 66,305; ansic: 20,623; python: 3,195; cs: 3,184; objc: 1,870; java: 557; sh: 388; awk: 150; javascript: 127; perl: 63; makefile: 7
file content (33 lines) | stat: -rw-r--r-- 1,177 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<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 template</h2>
<p> 
</p>
<table border="1", width="100%">
<tr>
<td>
<pre>
{
   template<a title="sp_template_angle, sp_before_angle"><font color="red">█</font></a>&lt;<a title="sp_inside_angle"><font color="red">█</font></a>bool a<a title="sp_inside_angle"><font color="red">█</font></a>&gt;<a title="sp_after_angle"><font color="red">█</font></a>void f();

   new List<byte><a title="sp_angle_paren"><font color="red">█</font></a>(foo);

   new List<byte>(<a title="sp_angle_paren_empty"><font color="red">█</font></a>);

   List&lt;byte&gt;<a title="sp_angle_word"><font color="red">█</font></a>m;
   template &lt;typename T&gt;<a title="sp_angle_word"><font color="red">█</font></a>static ...;

   template&lt;typename T&gt; class Foo&lt;Bar&lt;T&gt;<a title="sp_angle_shift"><font color="red">█</font></a>&gt; { };
}
</pre>
</td>
</tr>
</table>
</body>
</html>