summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.75.0/documentation/htdocs/options_Positioning.html
diff options
context:
space:
mode:
Diffstat (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.75.0/documentation/htdocs/options_Positioning.html')
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.75.0/documentation/htdocs/options_Positioning.html71
1 files changed, 71 insertions, 0 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.75.0/documentation/htdocs/options_Positioning.html b/debian/uncrustify-trinity/uncrustify-trinity-0.75.0/documentation/htdocs/options_Positioning.html
new file mode 100644
index 00000000..4e8a36cc
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.75.0/documentation/htdocs/options_Positioning.html
@@ -0,0 +1,71 @@
+<html>
+<head>
+ <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
+ <title>Uncrustify: where do the Positioning 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>Positioning</h2>
+<p>
+</p>
+<table border="1">
+<tr>
+<td>
+<pre>
+void Mode( TDistMode dm )
+{<a name="pos_arith"></a>
+ a = b
+ + c;
+ <a title="pos_arith"><strong><font color="red">█</font></strong></a><a name="pos_assign"></a>
+ ms_DistMode
+ = dm;
+ <a title="pos_assign"><strong><font color="red">█</font></strong></a>
+ if ( (count > 0)<a name="pos_bool"></a>
+ && (count < MAX_COUNT)) { ... }
+ <a title="pos_bool"><strong><font color="red">█</font></strong></a>
+ b = ( GetDistanceMode()<a name="pos_compare"></a>
+ == dmKM ) ? "km" : "Miles";
+ <a title="pos_compare"><strong><font color="red">█</font></strong></a>
+ b = ( GetDistanceMode() == dmKM ) <a name="pos_conditional"></a>
+ ? "km"
+ : "Miles";
+ <a title="pos_conditional"><strong><font color="red">█</font></strong></a>
+}
+{<a name="pos_comma"></a>
+ a = B(1
+ , 2
+ , 3);
+ <a title="pos_comma"><strong><font color="red">█</font></strong></a>
+}
+<a name="pos_class_colon"></a><a name="nl_class_colon"></a><a name="pos_class_comma"></a>
+class GLOX_API ClientBase
+ : public Class
+ <a title="nl_class_colon"><strong><font color="red"> █</a><a title="pos_class_colon">█</font></strong></a><a name="nl_class_init_args"></strong></a>
+ , public OtherClass // if many lines are wanted
+ <a title="nl_class_init_args"><strong><font color="red">█</font></strong></a>
+ , public ThridClass
+ , public ForthClass
+ <a title="pos_class_comma"><strong><font color="red"> █</font></strong></a>
+
+ // nl_class_colon=force
+ // pos_class_colon=lead_force
+ // nl_class_init_args=force
+ // pos_class_comma=lead_force
+{ }
+<a name="pos_constr_colon"></a><a name="pos_constr_comma"></a>
+class foo : public
+{
+ void bar_c(int t, int u)
+ : t(222)
+<a title="pos_constr_colon"><strong><font color="red"> █</font></strong></font></strong></a>
+ , u(88)
+<a title="pos_constr_comma"><strong><font color="red"> █</font></strong></a>
+ {}
+}
+</pre>
+</td>
+</tr>
+</table>
+</body>
+</html>