Avoid using function calls in OpenMP directives
[alexxy/gromacs.git] / admin / uncrustify.cfg
index d89351a7e60933183c0ceed7485b270a0e11020d..f7308115b2443d4354ac69a1f903592020f16034 100644 (file)
@@ -1575,3 +1575,12 @@ pp_define_at_level                       = false    # false/true
 # all tokens are separated by any mix of ',' commas, '=' equal signs
 # and whitespace (space, tab)
 #
+
+# Teach uncrustify about the GROMACS attribute aliases that we use
+# to hide compiler differences. This means that declarations like
+#
+# int i, j;
+# int nthreads gmx_unused;
+#
+# does not align i with gmx_unused.
+set ATTRIBUTE gmx_unused gmx_inline gmx_restrict