gsl 1.15.3 → 1.16.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (446) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +12 -0
  3. data/.travis.yml +24 -0
  4. data/AUTHORS +10 -2
  5. data/COPYING +341 -339
  6. data/ChangeLog +612 -554
  7. data/Gemfile +4 -0
  8. data/README.md +77 -0
  9. data/Rakefile +14 -93
  10. data/THANKS +1 -1
  11. data/examples/blas/blas.rb +1 -1
  12. data/examples/bspline.rb +3 -3
  13. data/examples/complex/functions.rb +4 -4
  14. data/examples/complex/mul.rb +1 -1
  15. data/examples/const/physconst.rb +4 -4
  16. data/examples/const/travel.rb +4 -4
  17. data/examples/eigen/nonsymmv.rb +1 -1
  18. data/examples/eigen/qhoscillator.rb +3 -3
  19. data/examples/fft/radix2.rb +1 -1
  20. data/examples/fft/real-halfcomplex.rb +3 -3
  21. data/examples/fft/real-halfcomplex2.rb +3 -3
  22. data/examples/fit/expfit.rb +1 -1
  23. data/examples/fit/multifit.rb +1 -1
  24. data/examples/fit/ndlinear.rb +44 -44
  25. data/examples/fit/nonlinearfit.rb +1 -1
  26. data/examples/fit/wlinear.rb +3 -3
  27. data/examples/function/function.rb +1 -1
  28. data/examples/function/min.rb +1 -1
  29. data/examples/function/synchrotron.rb +2 -2
  30. data/examples/gallery/koch.rb +1 -1
  31. data/examples/histogram/cauchy.rb +2 -2
  32. data/examples/histogram/exponential.rb +1 -1
  33. data/examples/histogram/histo3d.rb +1 -1
  34. data/examples/histogram/histogram-pdf.rb +2 -2
  35. data/examples/histogram/xexp.rb +1 -1
  36. data/examples/integration/ahmed.rb +2 -2
  37. data/examples/integration/cosmology.rb +7 -7
  38. data/examples/integration/friedmann.rb +4 -4
  39. data/examples/integration/qng.rb +1 -1
  40. data/examples/interp/demo.rb +2 -2
  41. data/examples/linalg/LQ_solve.rb +1 -1
  42. data/examples/linalg/LU.rb +1 -1
  43. data/examples/linalg/LU2.rb +1 -1
  44. data/examples/linalg/LU_narray.rb +1 -1
  45. data/examples/linalg/PTLQ.rb +1 -1
  46. data/examples/linalg/QRPT.rb +1 -1
  47. data/examples/linalg/chol.rb +1 -1
  48. data/examples/linalg/chol_narray.rb +1 -1
  49. data/examples/linalg/complex.rb +1 -1
  50. data/examples/math/elementary.rb +1 -1
  51. data/examples/math/functions.rb +1 -1
  52. data/examples/math/inf_nan.rb +1 -1
  53. data/examples/math/minmax.rb +1 -1
  54. data/examples/math/power.rb +1 -1
  55. data/examples/math/test.rb +1 -1
  56. data/examples/min.rb +1 -1
  57. data/examples/multimin/bundle.rb +1 -1
  58. data/examples/multimin/cqp.rb +17 -17
  59. data/examples/multiroot/fsolver3.rb +1 -1
  60. data/examples/odeiv/binarysystem.rb +12 -12
  61. data/examples/odeiv/demo.rb +3 -3
  62. data/examples/odeiv/frei1.rb +7 -7
  63. data/examples/odeiv/frei2.rb +4 -4
  64. data/examples/odeiv/oscillator.rb +1 -1
  65. data/examples/odeiv/sedov.rb +3 -3
  66. data/examples/odeiv/whitedwarf.rb +11 -11
  67. data/examples/permutation/ex1.rb +2 -2
  68. data/examples/permutation/permutation.rb +1 -1
  69. data/examples/poly/demo.rb +1 -1
  70. data/examples/random/diffusion.rb +1 -1
  71. data/examples/random/generator.rb +2 -2
  72. data/examples/random/randomwalk.rb +3 -3
  73. data/examples/random/rng.rb +1 -1
  74. data/examples/roots/bisection.rb +1 -1
  75. data/examples/roots/brent.rb +1 -1
  76. data/examples/roots/demo.rb +1 -1
  77. data/examples/roots/newton.rb +2 -2
  78. data/examples/roots/recombination.gp +0 -1
  79. data/examples/sf/hyperg.rb +1 -1
  80. data/examples/sf/sphbessel.rb +1 -1
  81. data/examples/sort/sort.rb +1 -1
  82. data/examples/tamu_anova.rb +4 -4
  83. data/examples/vector/add.rb +1 -1
  84. data/examples/vector/decimate.rb +1 -1
  85. data/examples/vector/gnuplot.rb +8 -8
  86. data/examples/vector/vector.rb +2 -2
  87. data/examples/wavelet/wavelet1.rb +1 -1
  88. data/ext/{alf.c → gsl_native/alf.c} +10 -10
  89. data/ext/{array.c → gsl_native/array.c} +70 -159
  90. data/ext/{array_complex.c → gsl_native/array_complex.c} +63 -66
  91. data/ext/{blas.c → gsl_native/blas.c} +2 -3
  92. data/ext/{blas1.c → gsl_native/blas1.c} +35 -36
  93. data/ext/{blas2.c → gsl_native/blas2.c} +57 -62
  94. data/ext/{blas3.c → gsl_native/blas3.c} +57 -58
  95. data/ext/{block.c → gsl_native/block.c} +14 -18
  96. data/ext/{block_source.c → gsl_native/block_source.h} +110 -112
  97. data/ext/gsl_native/bspline.c +122 -0
  98. data/ext/{bundle.c → gsl_native/bundle.c} +0 -0
  99. data/ext/{cdf.c → gsl_native/cdf.c} +79 -93
  100. data/ext/{cheb.c → gsl_native/cheb.c} +78 -89
  101. data/ext/{combination.c → gsl_native/combination.c} +11 -19
  102. data/ext/{common.c → gsl_native/common.c} +9 -41
  103. data/ext/{complex.c → gsl_native/complex.c} +116 -118
  104. data/ext/gsl_native/const.c +331 -0
  105. data/ext/{const_additional.c → gsl_native/const_additional.c} +13 -34
  106. data/ext/gsl_native/cqp.c +283 -0
  107. data/ext/{deriv.c → gsl_native/deriv.c} +25 -33
  108. data/ext/{dht.c → gsl_native/dht.c} +23 -31
  109. data/ext/{diff.c → gsl_native/diff.c} +26 -28
  110. data/ext/{dirac.c → gsl_native/dirac.c} +45 -46
  111. data/ext/{eigen.c → gsl_native/eigen.c} +1044 -1095
  112. data/ext/{error.c → gsl_native/error.c} +18 -18
  113. data/ext/gsl_native/extconf.rb +118 -0
  114. data/ext/{fft.c → gsl_native/fft.c} +197 -204
  115. data/ext/{fit.c → gsl_native/fit.c} +17 -18
  116. data/ext/gsl_native/fresnel.c +312 -0
  117. data/ext/{function.c → gsl_native/function.c} +37 -43
  118. data/ext/{geometry.c → gsl_native/geometry.c} +16 -16
  119. data/ext/{graph.c → gsl_native/graph.c} +39 -89
  120. data/ext/{gsl.c → gsl_native/gsl.c} +12 -33
  121. data/ext/{gsl_narray.c → gsl_native/gsl_narray.c} +20 -30
  122. data/ext/{histogram.c → gsl_native/histogram.c} +133 -160
  123. data/ext/{histogram2d.c → gsl_native/histogram2d.c} +78 -104
  124. data/ext/{histogram3d.c → gsl_native/histogram3d.c} +76 -76
  125. data/ext/{histogram3d_source.c → gsl_native/histogram3d_source.c} +196 -197
  126. data/ext/{histogram_find.c → gsl_native/histogram_find.c} +32 -34
  127. data/ext/{histogram_oper.c → gsl_native/histogram_oper.c} +43 -52
  128. data/ext/{ieee.c → gsl_native/ieee.c} +9 -21
  129. data/{include → ext/gsl_native/include}/rb_gsl.h +4 -26
  130. data/{include → ext/gsl_native/include}/rb_gsl_array.h +15 -39
  131. data/{include → ext/gsl_native/include}/rb_gsl_cheb.h +0 -2
  132. data/{include → ext/gsl_native/include}/rb_gsl_common.h +61 -61
  133. data/{include → ext/gsl_native/include}/rb_gsl_complex.h +1 -1
  134. data/{include → ext/gsl_native/include}/rb_gsl_const.h +0 -6
  135. data/ext/gsl_native/include/rb_gsl_dirac.h +6 -0
  136. data/{include → ext/gsl_native/include}/rb_gsl_eigen.h +1 -1
  137. data/{include → ext/gsl_native/include}/rb_gsl_fft.h +0 -13
  138. data/{include → ext/gsl_native/include}/rb_gsl_fit.h +0 -2
  139. data/{include → ext/gsl_native/include}/rb_gsl_function.h +0 -4
  140. data/{include → ext/gsl_native/include}/rb_gsl_graph.h +2 -4
  141. data/{include → ext/gsl_native/include}/rb_gsl_histogram.h +8 -8
  142. data/{include → ext/gsl_native/include}/rb_gsl_histogram3d.h +50 -50
  143. data/{include → ext/gsl_native/include}/rb_gsl_integration.h +1 -1
  144. data/{include → ext/gsl_native/include}/rb_gsl_interp.h +0 -5
  145. data/{include → ext/gsl_native/include}/rb_gsl_linalg.h +2 -6
  146. data/{include → ext/gsl_native/include}/rb_gsl_math.h +0 -6
  147. data/{include → ext/gsl_native/include}/rb_gsl_odeiv.h +0 -3
  148. data/{include → ext/gsl_native/include}/rb_gsl_poly.h +3 -7
  149. data/{include → ext/gsl_native/include}/rb_gsl_rational.h +1 -8
  150. data/{include → ext/gsl_native/include}/rb_gsl_rng.h +0 -1
  151. data/{include → ext/gsl_native/include}/rb_gsl_root.h +1 -1
  152. data/{include → ext/gsl_native/include}/rb_gsl_sf.h +39 -48
  153. data/{include → ext/gsl_native/include}/rb_gsl_statistics.h +1 -1
  154. data/{include → ext/gsl_native/include}/rb_gsl_tensor.h +0 -2
  155. data/{include → ext/gsl_native/include}/rb_gsl_with_narray.h +3 -1
  156. data/{include → ext/gsl_native/include}/templates_off.h +0 -0
  157. data/{include → ext/gsl_native/include}/templates_on.h +1 -1
  158. data/ext/{integration.c → gsl_native/integration.c} +164 -189
  159. data/ext/{interp.c → gsl_native/interp.c} +25 -38
  160. data/ext/gsl_native/jacobi.c +733 -0
  161. data/ext/{linalg.c → gsl_native/linalg.c} +462 -589
  162. data/ext/{linalg_complex.c → gsl_native/linalg_complex.c} +93 -106
  163. data/ext/{math.c → gsl_native/math.c} +48 -67
  164. data/ext/{matrix.c → gsl_native/matrix.c} +13 -16
  165. data/ext/{matrix_complex.c → gsl_native/matrix_complex.c} +119 -123
  166. data/ext/{matrix_double.c → gsl_native/matrix_double.c} +79 -82
  167. data/ext/{matrix_int.c → gsl_native/matrix_int.c} +53 -54
  168. data/ext/{matrix_source.c → gsl_native/matrix_source.h} +292 -318
  169. data/ext/{min.c → gsl_native/min.c} +45 -76
  170. data/ext/{monte.c → gsl_native/monte.c} +50 -64
  171. data/ext/{multifit.c → gsl_native/multifit.c} +142 -151
  172. data/ext/{multimin.c → gsl_native/multimin.c} +64 -92
  173. data/ext/{multimin_fsdf.c → gsl_native/multimin_fsdf.c} +16 -16
  174. data/ext/{multiroots.c → gsl_native/multiroots.c} +73 -76
  175. data/ext/{multiset.c → gsl_native/multiset.c} +4 -8
  176. data/ext/{ndlinear.c → gsl_native/ndlinear.c} +320 -321
  177. data/ext/{nmf.c → gsl_native/nmf.c} +11 -11
  178. data/ext/{nmf_wrap.c → gsl_native/nmf_wrap.c} +1 -1
  179. data/ext/{ntuple.c → gsl_native/ntuple.c} +23 -23
  180. data/ext/{odeiv.c → gsl_native/odeiv.c} +101 -116
  181. data/ext/gsl_native/ool.c +879 -0
  182. data/ext/{permutation.c → gsl_native/permutation.c} +39 -37
  183. data/ext/{poly.c → gsl_native/poly.c} +10 -13
  184. data/ext/{poly2.c → gsl_native/poly2.c} +16 -16
  185. data/ext/{poly_source.c → gsl_native/poly_source.h} +249 -293
  186. data/ext/{qrng.c → gsl_native/qrng.c} +9 -20
  187. data/ext/{randist.c → gsl_native/randist.c} +222 -247
  188. data/ext/{rational.c → gsl_native/rational.c} +12 -12
  189. data/ext/{rng.c → gsl_native/rng.c} +30 -47
  190. data/ext/{root.c → gsl_native/root.c} +47 -48
  191. data/ext/{sf.c → gsl_native/sf.c} +196 -244
  192. data/ext/{sf_airy.c → gsl_native/sf_airy.c} +2 -2
  193. data/ext/{sf_bessel.c → gsl_native/sf_bessel.c} +7 -7
  194. data/ext/{sf_clausen.c → gsl_native/sf_clausen.c} +1 -1
  195. data/ext/{sf_coulomb.c → gsl_native/sf_coulomb.c} +40 -40
  196. data/ext/{sf_coupling.c → gsl_native/sf_coupling.c} +30 -30
  197. data/ext/{sf_dawson.c → gsl_native/sf_dawson.c} +1 -1
  198. data/ext/{sf_debye.c → gsl_native/sf_debye.c} +1 -10
  199. data/ext/{sf_dilog.c → gsl_native/sf_dilog.c} +1 -1
  200. data/ext/{sf_elementary.c → gsl_native/sf_elementary.c} +3 -3
  201. data/ext/{sf_ellint.c → gsl_native/sf_ellint.c} +43 -43
  202. data/ext/{sf_elljac.c → gsl_native/sf_elljac.c} +3 -3
  203. data/ext/{sf_erfc.c → gsl_native/sf_erfc.c} +1 -5
  204. data/ext/{sf_exp.c → gsl_native/sf_exp.c} +3 -3
  205. data/ext/{sf_expint.c → gsl_native/sf_expint.c} +2 -12
  206. data/ext/{sf_fermi_dirac.c → gsl_native/sf_fermi_dirac.c} +1 -1
  207. data/ext/{sf_gamma.c → gsl_native/sf_gamma.c} +2 -6
  208. data/ext/{sf_gegenbauer.c → gsl_native/sf_gegenbauer.c} +1 -1
  209. data/ext/{sf_hyperg.c → gsl_native/sf_hyperg.c} +1 -1
  210. data/ext/{sf_laguerre.c → gsl_native/sf_laguerre.c} +4 -4
  211. data/ext/{sf_lambert.c → gsl_native/sf_lambert.c} +1 -1
  212. data/ext/{sf_legendre.c → gsl_native/sf_legendre.c} +1 -1
  213. data/ext/{sf_log.c → gsl_native/sf_log.c} +4 -4
  214. data/ext/gsl_native/sf_mathieu.c +235 -0
  215. data/ext/{sf_power.c → gsl_native/sf_power.c} +1 -1
  216. data/ext/{sf_psi.c → gsl_native/sf_psi.c} +3 -12
  217. data/ext/{sf_synchrotron.c → gsl_native/sf_synchrotron.c} +1 -1
  218. data/ext/{sf_transport.c → gsl_native/sf_transport.c} +1 -1
  219. data/ext/{sf_trigonometric.c → gsl_native/sf_trigonometric.c} +4 -4
  220. data/ext/{sf_zeta.c → gsl_native/sf_zeta.c} +1 -5
  221. data/ext/{signal.c → gsl_native/signal.c} +63 -68
  222. data/ext/{siman.c → gsl_native/siman.c} +45 -49
  223. data/ext/{sort.c → gsl_native/sort.c} +6 -7
  224. data/ext/{spline.c → gsl_native/spline.c} +28 -46
  225. data/ext/{stats.c → gsl_native/stats.c} +105 -118
  226. data/ext/{sum.c → gsl_native/sum.c} +34 -34
  227. data/ext/{tamu_anova.c → gsl_native/tamu_anova.c} +1 -1
  228. data/ext/{tensor.c → gsl_native/tensor.c} +8 -11
  229. data/ext/{tensor_source.c → gsl_native/tensor_source.h} +147 -148
  230. data/ext/{vector.c → gsl_native/vector.c} +11 -14
  231. data/ext/{vector_complex.c → gsl_native/vector_complex.c} +179 -184
  232. data/ext/{vector_double.c → gsl_native/vector_double.c} +178 -183
  233. data/ext/{vector_int.c → gsl_native/vector_int.c} +27 -29
  234. data/ext/{vector_source.c → gsl_native/vector_source.h} +428 -443
  235. data/ext/{wavelet.c → gsl_native/wavelet.c} +224 -246
  236. data/gsl.gemspec +29 -0
  237. data/lib/gsl.rb +8 -3
  238. data/lib/gsl/gnuplot.rb +3 -3
  239. data/lib/gsl/oper.rb +35 -60
  240. data/lib/gsl/version.rb +3 -0
  241. data/lib/rbgsl.rb +1 -3
  242. data/rdoc/alf.rdoc +5 -5
  243. data/rdoc/blas.rdoc +9 -9
  244. data/rdoc/bspline.rdoc +17 -17
  245. data/rdoc/changes.rdoc +4 -9
  246. data/rdoc/cheb.rdoc +25 -25
  247. data/rdoc/cholesky_complex.rdoc +21 -21
  248. data/rdoc/combi.rdoc +37 -37
  249. data/rdoc/complex.rdoc +22 -22
  250. data/rdoc/const.rdoc +47 -47
  251. data/rdoc/dht.rdoc +49 -49
  252. data/rdoc/diff.rdoc +42 -42
  253. data/rdoc/ehandling.rdoc +6 -6
  254. data/rdoc/eigen.rdoc +153 -153
  255. data/rdoc/fft.rdoc +146 -146
  256. data/rdoc/fit.rdoc +109 -109
  257. data/rdoc/function.rdoc +11 -11
  258. data/rdoc/graph.rdoc +17 -17
  259. data/rdoc/hist.rdoc +103 -103
  260. data/rdoc/hist2d.rdoc +42 -42
  261. data/rdoc/hist3d.rdoc +9 -9
  262. data/rdoc/integration.rdoc +110 -110
  263. data/rdoc/interp.rdoc +71 -71
  264. data/rdoc/intro.rdoc +8 -8
  265. data/rdoc/linalg.rdoc +188 -188
  266. data/rdoc/linalg_complex.rdoc +1 -1
  267. data/rdoc/math.rdoc +58 -58
  268. data/rdoc/matrix.rdoc +275 -275
  269. data/rdoc/min.rdoc +57 -57
  270. data/rdoc/monte.rdoc +22 -22
  271. data/rdoc/multimin.rdoc +95 -95
  272. data/rdoc/multiroot.rdoc +80 -80
  273. data/rdoc/narray.rdoc +32 -32
  274. data/rdoc/ndlinear.rdoc +54 -54
  275. data/rdoc/nonlinearfit.rdoc +100 -100
  276. data/rdoc/ntuple.rdoc +31 -31
  277. data/rdoc/odeiv.rdoc +88 -88
  278. data/rdoc/perm.rdoc +90 -90
  279. data/rdoc/poly.rdoc +66 -66
  280. data/rdoc/qrng.rdoc +21 -21
  281. data/rdoc/randist.rdoc +82 -82
  282. data/rdoc/ref.rdoc +57 -57
  283. data/rdoc/rng.rdoc +85 -85
  284. data/rdoc/roots.rdoc +57 -57
  285. data/rdoc/sf.rdoc +428 -428
  286. data/rdoc/siman.rdoc +19 -19
  287. data/rdoc/sort.rdoc +30 -30
  288. data/rdoc/start.rdoc +8 -8
  289. data/rdoc/stats.rdoc +52 -52
  290. data/rdoc/sum.rdoc +12 -12
  291. data/rdoc/tensor.rdoc +31 -31
  292. data/rdoc/tut.rdoc +1 -1
  293. data/rdoc/use.rdoc +39 -39
  294. data/rdoc/vector.rdoc +188 -188
  295. data/rdoc/vector_complex.rdoc +24 -24
  296. data/rdoc/wavelet.rdoc +46 -46
  297. data/test/gsl/blas_test.rb +79 -0
  298. data/test/gsl/bspline_test.rb +63 -0
  299. data/test/gsl/cdf_test.rb +1512 -0
  300. data/test/gsl/cheb_test.rb +80 -0
  301. data/test/gsl/combination_test.rb +100 -0
  302. data/test/gsl/complex_test.rb +20 -0
  303. data/test/gsl/const_test.rb +29 -0
  304. data/test/gsl/deriv_test.rb +62 -0
  305. data/test/gsl/dht_test.rb +79 -0
  306. data/test/gsl/diff_test.rb +53 -0
  307. data/test/gsl/eigen_test.rb +563 -0
  308. data/test/gsl/err_test.rb +23 -0
  309. data/test/gsl/fit_test.rb +101 -0
  310. data/test/gsl/histo_test.rb +14 -0
  311. data/test/gsl/index_test.rb +61 -0
  312. data/test/gsl/integration_test.rb +274 -0
  313. data/test/gsl/interp_test.rb +27 -0
  314. data/test/gsl/linalg_test.rb +463 -0
  315. data/test/gsl/matrix_nmf_test.rb +37 -0
  316. data/test/gsl/matrix_test.rb +98 -0
  317. data/test/gsl/min_test.rb +89 -0
  318. data/test/gsl/monte_test.rb +77 -0
  319. data/test/gsl/multifit_test.rb +753 -0
  320. data/test/gsl/multimin_test.rb +157 -0
  321. data/test/gsl/multiroot_test.rb +135 -0
  322. data/test/gsl/multiset_test.rb +52 -0
  323. data/test/gsl/odeiv_test.rb +275 -0
  324. data/test/gsl/oper_test.rb +98 -0
  325. data/test/gsl/poly_test.rb +338 -0
  326. data/test/gsl/qrng_test.rb +94 -0
  327. data/test/gsl/quartic_test.rb +28 -0
  328. data/test/gsl/randist_test.rb +122 -0
  329. data/test/gsl/rng_test.rb +303 -0
  330. data/test/gsl/roots_test.rb +78 -0
  331. data/test/gsl/sf_test.rb +2079 -0
  332. data/test/gsl/stats_test.rb +122 -0
  333. data/test/gsl/sum_test.rb +69 -0
  334. data/test/gsl/tensor_test.rb +396 -0
  335. data/test/gsl/vector_test.rb +223 -0
  336. data/test/gsl/wavelet_test.rb +130 -0
  337. data/test/gsl_test.rb +321 -0
  338. data/test/test_helper.rb +42 -0
  339. data/uncrustify.cfg +1693 -0
  340. metadata +337 -378
  341. data/README +0 -32
  342. data/VERSION +0 -1
  343. data/ext/bspline.c +0 -130
  344. data/ext/const.c +0 -673
  345. data/ext/cqp.c +0 -283
  346. data/ext/extconf.rb +0 -295
  347. data/ext/fcmp.c +0 -66
  348. data/ext/fresnel.c +0 -312
  349. data/ext/jacobi.c +0 -739
  350. data/ext/ool.c +0 -879
  351. data/ext/oper_complex_source.c +0 -253
  352. data/ext/sf_mathieu.c +0 -238
  353. data/include/rb_gsl_config.h +0 -62
  354. data/include/rb_gsl_dirac.h +0 -13
  355. data/rdoc/index.rdoc +0 -62
  356. data/rdoc/rngextra.rdoc +0 -11
  357. data/rdoc/screenshot.rdoc +0 -40
  358. data/setup.rb +0 -1585
  359. data/tests/blas/amax.rb +0 -14
  360. data/tests/blas/asum.rb +0 -16
  361. data/tests/blas/axpy.rb +0 -25
  362. data/tests/blas/copy.rb +0 -23
  363. data/tests/blas/dot.rb +0 -23
  364. data/tests/bspline.rb +0 -53
  365. data/tests/cdf.rb +0 -1388
  366. data/tests/cheb.rb +0 -112
  367. data/tests/combination.rb +0 -123
  368. data/tests/complex.rb +0 -17
  369. data/tests/const.rb +0 -24
  370. data/tests/deriv.rb +0 -85
  371. data/tests/dht/dht1.rb +0 -17
  372. data/tests/dht/dht2.rb +0 -23
  373. data/tests/dht/dht3.rb +0 -23
  374. data/tests/dht/dht4.rb +0 -23
  375. data/tests/diff.rb +0 -78
  376. data/tests/eigen/eigen.rb +0 -220
  377. data/tests/eigen/gen.rb +0 -105
  378. data/tests/eigen/genherm.rb +0 -66
  379. data/tests/eigen/gensymm.rb +0 -68
  380. data/tests/eigen/nonsymm.rb +0 -53
  381. data/tests/eigen/nonsymmv.rb +0 -53
  382. data/tests/eigen/symm-herm.rb +0 -74
  383. data/tests/err.rb +0 -58
  384. data/tests/fit.rb +0 -124
  385. data/tests/gsl_test.rb +0 -118
  386. data/tests/gsl_test2.rb +0 -110
  387. data/tests/histo.rb +0 -12
  388. data/tests/integration/integration1.rb +0 -72
  389. data/tests/integration/integration2.rb +0 -71
  390. data/tests/integration/integration3.rb +0 -71
  391. data/tests/integration/integration4.rb +0 -71
  392. data/tests/interp.rb +0 -45
  393. data/tests/linalg/HH.rb +0 -64
  394. data/tests/linalg/LU.rb +0 -47
  395. data/tests/linalg/QR.rb +0 -77
  396. data/tests/linalg/SV.rb +0 -24
  397. data/tests/linalg/TDN.rb +0 -116
  398. data/tests/linalg/TDS.rb +0 -122
  399. data/tests/linalg/bidiag.rb +0 -73
  400. data/tests/linalg/cholesky.rb +0 -20
  401. data/tests/linalg/linalg.rb +0 -158
  402. data/tests/matrix/matrix_complex_test.rb +0 -36
  403. data/tests/matrix/matrix_nmf_test.rb +0 -39
  404. data/tests/matrix/matrix_test.rb +0 -48
  405. data/tests/min.rb +0 -99
  406. data/tests/monte/miser.rb +0 -31
  407. data/tests/monte/vegas.rb +0 -45
  408. data/tests/multifit/test_2dgauss.rb +0 -112
  409. data/tests/multifit/test_brown.rb +0 -90
  410. data/tests/multifit/test_enso.rb +0 -246
  411. data/tests/multifit/test_filip.rb +0 -155
  412. data/tests/multifit/test_gauss.rb +0 -97
  413. data/tests/multifit/test_longley.rb +0 -110
  414. data/tests/multifit/test_multifit.rb +0 -52
  415. data/tests/multimin.rb +0 -139
  416. data/tests/multiroot.rb +0 -131
  417. data/tests/multiset.rb +0 -52
  418. data/tests/narray/blas_dnrm2.rb +0 -20
  419. data/tests/odeiv.rb +0 -353
  420. data/tests/poly/poly.rb +0 -290
  421. data/tests/poly/special.rb +0 -65
  422. data/tests/qrng.rb +0 -131
  423. data/tests/quartic.rb +0 -29
  424. data/tests/randist.rb +0 -134
  425. data/tests/rng.rb +0 -305
  426. data/tests/roots.rb +0 -76
  427. data/tests/run-test.sh +0 -17
  428. data/tests/sf/gsl_test_sf.rb +0 -249
  429. data/tests/sf/test_airy.rb +0 -83
  430. data/tests/sf/test_bessel.rb +0 -306
  431. data/tests/sf/test_coulomb.rb +0 -17
  432. data/tests/sf/test_dilog.rb +0 -25
  433. data/tests/sf/test_gamma.rb +0 -209
  434. data/tests/sf/test_hyperg.rb +0 -356
  435. data/tests/sf/test_legendre.rb +0 -227
  436. data/tests/sf/test_mathieu.rb +0 -59
  437. data/tests/sf/test_mode.rb +0 -19
  438. data/tests/sf/test_sf.rb +0 -839
  439. data/tests/stats.rb +0 -174
  440. data/tests/stats_mt.rb +0 -16
  441. data/tests/sum.rb +0 -98
  442. data/tests/sys.rb +0 -323
  443. data/tests/tensor.rb +0 -419
  444. data/tests/vector/vector_complex_test.rb +0 -101
  445. data/tests/vector/vector_test.rb +0 -141
  446. data/tests/wavelet.rb +0 -142
@@ -0,0 +1,42 @@
1
+ require 'test/unit'
2
+ require 'gsl'
3
+
4
+ GSL::IEEE.env_setup
5
+ GSL::Rng.env_setup
6
+
7
+ class GSL::TestCase < Test::Unit::TestCase
8
+
9
+ def assert_factor(result, expected, factor, desc)
10
+ refute result == expected ? false : expected.zero? ? result != expected :
11
+ (u = result / expected; u > factor || u < 1.0 / factor),
12
+ '%s (%.18g observed vs %.18g expected)' % [desc, result, expected]
13
+ end
14
+
15
+ def assert_rel(result, expected, relerr, desc)
16
+ refute((GSL.isnan?(result) || GSL.isnan?(expected)) ?
17
+ GSL.isnan?(result) != GSL.isnan?(expected) :
18
+ (GSL.isinf?(result) || GSL.isinf?(expected)) ?
19
+ GSL.isinf?(result) != GSL.isinf?(expected) :
20
+ expected.zero? ? result.abs > relerr :
21
+ (result - expected).abs / expected.abs > relerr,
22
+ '%s (%.18g observed vs %.18g expected)' % [desc, result, expected])
23
+ end
24
+
25
+ def assert_abs(result, expected, abserr, desc)
26
+ refute((GSL.isnan?(result) || GSL.isnan?(expected)) ?
27
+ GSL.isnan?(result) != GSL.isnan?(expected) :
28
+ (GSL.isinf?(result) || GSL.isinf?(expected)) ?
29
+ GSL.isinf?(result) != GSL.isinf?(expected) :
30
+ (result - expected).abs > abserr,
31
+ '%s (%.18g observed vs %.18g expected)' % [desc, result, expected])
32
+ end
33
+
34
+ def assert_int(result, expected, desc)
35
+ assert(result == expected, '%s (%d observed vs %d expected)' % [desc, result, expected])
36
+ end
37
+
38
+ def assert_tol(a, b, msg)
39
+ assert((a - b).abs < (self.class::EPSREL * GSL.MIN(a.abs, b.abs) + self.class::EPSABS), msg)
40
+ end
41
+
42
+ end
@@ -0,0 +1,1693 @@
1
+ # Uncrustify 0.61
2
+
3
+ #
4
+ # General options
5
+ #
6
+
7
+ # The type of line endings
8
+ newlines = lf # auto/lf/crlf/cr
9
+
10
+ # The original size of tabs in the input
11
+ input_tab_size = 8 # number
12
+
13
+ # The size of tabs in the output (only used if align_with_tabs=true)
14
+ output_tab_size = 8 # number
15
+
16
+ # The ASCII value of the string escape char, usually 92 (\) or 94 (^). (Pawn)
17
+ string_escape_char = 92 # number
18
+
19
+ # Alternate string escape char for Pawn. Only works right before the quote char.
20
+ string_escape_char2 = 0 # number
21
+
22
+ # Allow interpreting '>=' and '>>=' as part of a template in 'void f(list<list<B>>=val);'.
23
+ # If true (default), 'assert(x<0 && y>=3)' will be broken.
24
+ # Improvements to template detection may make this option obsolete.
25
+ tok_split_gte = false # false/true
26
+
27
+ # Control what to do with the UTF-8 BOM (recommend 'remove')
28
+ utf8_bom = remove # ignore/add/remove/force
29
+
30
+ # If the file contains bytes with values between 128 and 255, but is not UTF-8, then output as UTF-8
31
+ utf8_byte = false # false/true
32
+
33
+ # Force the output encoding to UTF-8
34
+ utf8_force = false # false/true
35
+
36
+ #
37
+ # Indenting
38
+ #
39
+
40
+ # The number of columns to indent per level.
41
+ # Usually 2, 3, 4, or 8.
42
+ indent_columns = 2 # number
43
+
44
+ # The continuation indent. If non-zero, this overrides the indent of '(' and '=' continuation indents.
45
+ # For FreeBSD, this is set to 4. Negative value is absolute and not increased for each ( level
46
+ indent_continue = 0 # number
47
+
48
+ # How to use tabs when indenting code
49
+ # 0=spaces only
50
+ # 1=indent with tabs to brace level, align with spaces
51
+ # 2=indent and align with tabs, using spaces when not on a tabstop
52
+ indent_with_tabs = 0 # number
53
+
54
+ # Comments that are not a brace level are indented with tabs on a tabstop.
55
+ # Requires indent_with_tabs=2. If false, will use spaces.
56
+ indent_cmt_with_tabs = false # false/true
57
+
58
+ # Whether to indent strings broken by '\' so that they line up
59
+ indent_align_string = false # false/true
60
+
61
+ # The number of spaces to indent multi-line XML strings.
62
+ # Requires indent_align_string=True
63
+ indent_xml_string = 0 # number
64
+
65
+ # Spaces to indent '{' from level
66
+ indent_brace = 0 # number
67
+
68
+ # Whether braces are indented to the body level
69
+ indent_braces = false # false/true
70
+
71
+ # Disabled indenting function braces if indent_braces is true
72
+ indent_braces_no_func = false # false/true
73
+
74
+ # Disabled indenting class braces if indent_braces is true
75
+ indent_braces_no_class = false # false/true
76
+
77
+ # Disabled indenting struct braces if indent_braces is true
78
+ indent_braces_no_struct = false # false/true
79
+
80
+ # Indent based on the size of the brace parent, i.e. 'if' => 3 spaces, 'for' => 4 spaces, etc.
81
+ indent_brace_parent = false # false/true
82
+
83
+ # Indent based on the paren open instead of the brace open in '({\n', default is to indent by brace.
84
+ indent_paren_open_brace = false # false/true
85
+
86
+ # Whether the 'namespace' body is indented
87
+ indent_namespace = false # false/true
88
+
89
+ # Only indent one namespace and no sub-namepaces.
90
+ # Requires indent_namespace=true.
91
+ indent_namespace_single_indent = false # false/true
92
+
93
+ # The number of spaces to indent a namespace block
94
+ indent_namespace_level = 0 # number
95
+
96
+ # If the body of the namespace is longer than this number, it won't be indented.
97
+ # Requires indent_namespace=true. Default=0 (no limit)
98
+ indent_namespace_limit = 0 # number
99
+
100
+ # Whether the 'extern "C"' body is indented
101
+ indent_extern = false # false/true
102
+
103
+ # Whether the 'class' body is indented
104
+ indent_class = false # false/true
105
+
106
+ # Whether to indent the stuff after a leading base class colon
107
+ indent_class_colon = false # false/true
108
+
109
+ # Whether to indent the stuff after a leading class initializer colon
110
+ indent_constr_colon = false # false/true
111
+
112
+ # Virtual indent from the ':' for member initializers. Default is 2
113
+ indent_ctor_init_leading = 2 # number
114
+
115
+ # Additional indenting for constructor initializer list
116
+ indent_ctor_init = 0 # number
117
+
118
+ # False=treat 'else\nif' as 'else if' for indenting purposes
119
+ # True=indent the 'if' one level
120
+ indent_else_if = false # false/true
121
+
122
+ # Amount to indent variable declarations after a open brace. neg=relative, pos=absolute
123
+ indent_var_def_blk = 0 # number
124
+
125
+ # Indent continued variable declarations instead of aligning.
126
+ indent_var_def_cont = false # false/true
127
+
128
+ # True: force indentation of function definition to start in column 1
129
+ # False: use the default behavior
130
+ indent_func_def_force_col1 = false # false/true
131
+
132
+ # True: indent continued function call parameters one indent level
133
+ # False: align parameters under the open paren
134
+ indent_func_call_param = false # false/true
135
+
136
+ # Same as indent_func_call_param, but for function defs
137
+ indent_func_def_param = false # false/true
138
+
139
+ # Same as indent_func_call_param, but for function protos
140
+ indent_func_proto_param = false # false/true
141
+
142
+ # Same as indent_func_call_param, but for class declarations
143
+ indent_func_class_param = false # false/true
144
+
145
+ # Same as indent_func_call_param, but for class variable constructors
146
+ indent_func_ctor_var_param = false # false/true
147
+
148
+ # Same as indent_func_call_param, but for templates
149
+ indent_template_param = false # false/true
150
+
151
+ # Double the indent for indent_func_xxx_param options
152
+ indent_func_param_double = false # false/true
153
+
154
+ # Indentation column for standalone 'const' function decl/proto qualifier
155
+ indent_func_const = 0 # number
156
+
157
+ # Indentation column for standalone 'throw' function decl/proto qualifier
158
+ indent_func_throw = 0 # number
159
+
160
+ # The number of spaces to indent a continued '->' or '.'
161
+ # Usually set to 0, 1, or indent_columns.
162
+ indent_member = 0 # number
163
+
164
+ # Spaces to indent single line ('//') comments on lines before code
165
+ indent_sing_line_comments = 0 # number
166
+
167
+ # If set, will indent trailing single line ('//') comments relative
168
+ # to the code instead of trying to keep the same absolute column
169
+ indent_relative_single_line_comments = false # false/true
170
+
171
+ # Spaces to indent 'case' from 'switch'
172
+ # Usually 0 or indent_columns.
173
+ indent_switch_case = 0 # number
174
+
175
+ # Spaces to shift the 'case' line, without affecting any other lines
176
+ # Usually 0.
177
+ indent_case_shift = 0 # number
178
+
179
+ # Spaces to indent '{' from 'case'.
180
+ # By default, the brace will appear under the 'c' in case.
181
+ # Usually set to 0 or indent_columns.
182
+ indent_case_brace = 0 # number
183
+
184
+ # Whether to indent comments found in first column
185
+ indent_col1_comment = false # false/true
186
+
187
+ # How to indent goto labels
188
+ # >0 : absolute column where 1 is the leftmost column
189
+ # <=0 : subtract from brace indent
190
+ indent_label = 1 # number
191
+
192
+ # Same as indent_label, but for access specifiers that are followed by a colon
193
+ indent_access_spec = 1 # number
194
+
195
+ # Indent the code after an access specifier by one level.
196
+ # If set, this option forces 'indent_access_spec=0'
197
+ indent_access_spec_body = false # false/true
198
+
199
+ # If an open paren is followed by a newline, indent the next line so that it lines up after the open paren (not recommended)
200
+ indent_paren_nl = false # false/true
201
+
202
+ # Controls the indent of a close paren after a newline.
203
+ # 0: Indent to body level
204
+ # 1: Align under the open paren
205
+ # 2: Indent to the brace level
206
+ indent_paren_close = 0 # number
207
+
208
+ # Controls the indent of a comma when inside a paren.If TRUE, aligns under the open paren
209
+ indent_comma_paren = false # false/true
210
+
211
+ # Controls the indent of a BOOL operator when inside a paren.If TRUE, aligns under the open paren
212
+ indent_bool_paren = false # false/true
213
+
214
+ # If 'indent_bool_paren' is true, controls the indent of the first expression. If TRUE, aligns the first expression to the following ones
215
+ indent_first_bool_expr = false # false/true
216
+
217
+ # If an open square is followed by a newline, indent the next line so that it lines up after the open square (not recommended)
218
+ indent_square_nl = false # false/true
219
+
220
+ # Don't change the relative indent of ESQL/C 'EXEC SQL' bodies
221
+ indent_preserve_sql = false # false/true
222
+
223
+ # Align continued statements at the '='. Default=True
224
+ # If FALSE or the '=' is followed by a newline, the next line is indent one tab.
225
+ indent_align_assign = true # false/true
226
+
227
+ # Indent OC blocks at brace level instead of usual rules.
228
+ indent_oc_block = false # false/true
229
+
230
+ # Indent OC blocks in a message relative to the parameter name.
231
+ # 0=use indent_oc_block rules, 1+=spaces to indent
232
+ indent_oc_block_msg = 0 # number
233
+
234
+ # Minimum indent for subsequent parameters
235
+ indent_oc_msg_colon = 0 # number
236
+
237
+ # If true, prioritize aligning with initial colon (and stripping spaces from lines, if necessary).
238
+ # Default is true.
239
+ indent_oc_msg_prioritize_first_colon = true # false/true
240
+
241
+ # If indent_oc_block_msg and this option are on, blocks will be indented the way that Xcode does by default (from keyword if the parameter is on its own line; otherwise, from the previous indentation level).
242
+ indent_oc_block_msg_xcode_style = false # false/true
243
+
244
+ # If indent_oc_block_msg and this option are on, blocks will be indented from where the brace is relative to a msg keyword.
245
+ indent_oc_block_msg_from_keyword = false # false/true
246
+
247
+ # If indent_oc_block_msg and this option are on, blocks will be indented from where the brace is relative to a msg colon.
248
+ indent_oc_block_msg_from_colon = false # false/true
249
+
250
+ # If indent_oc_block_msg and this option are on, blocks will be indented from where the block caret is.
251
+ indent_oc_block_msg_from_caret = false # false/true
252
+
253
+ # If indent_oc_block_msg and this option are on, blocks will be indented from where the brace is.
254
+ indent_oc_block_msg_from_brace = false # false/true
255
+
256
+ #
257
+ # Spacing options
258
+ #
259
+
260
+ # Add or remove space around arithmetic operator '+', '-', '/', '*', etc
261
+ sp_arith = ignore # ignore/add/remove/force
262
+
263
+ # Add or remove space around assignment operator '=', '+=', etc
264
+ sp_assign = add # ignore/add/remove/force
265
+
266
+ # Add or remove space around '=' in C++11 lambda capture specifications. Overrides sp_assign
267
+ sp_cpp_lambda_assign = ignore # ignore/add/remove/force
268
+
269
+ # Add or remove space after the capture specification in C++11 lambda.
270
+ sp_cpp_lambda_paren = ignore # ignore/add/remove/force
271
+
272
+ # Add or remove space around assignment operator '=' in a prototype
273
+ sp_assign_default = ignore # ignore/add/remove/force
274
+
275
+ # Add or remove space before assignment operator '=', '+=', etc. Overrides sp_assign.
276
+ sp_before_assign = add # ignore/add/remove/force
277
+
278
+ # Add or remove space after assignment operator '=', '+=', etc. Overrides sp_assign.
279
+ sp_after_assign = add # ignore/add/remove/force
280
+
281
+ # Add or remove space in 'NS_ENUM ('
282
+ sp_enum_paren = ignore # ignore/add/remove/force
283
+
284
+ # Add or remove space around assignment '=' in enum
285
+ sp_enum_assign = ignore # ignore/add/remove/force
286
+
287
+ # Add or remove space before assignment '=' in enum. Overrides sp_enum_assign.
288
+ sp_enum_before_assign = ignore # ignore/add/remove/force
289
+
290
+ # Add or remove space after assignment '=' in enum. Overrides sp_enum_assign.
291
+ sp_enum_after_assign = ignore # ignore/add/remove/force
292
+
293
+ # Add or remove space around preprocessor '##' concatenation operator. Default=Add
294
+ sp_pp_concat = add # ignore/add/remove/force
295
+
296
+ # Add or remove space after preprocessor '#' stringify operator. Also affects the '#@' charizing operator.
297
+ sp_pp_stringify = ignore # ignore/add/remove/force
298
+
299
+ # Add or remove space before preprocessor '#' stringify operator as in '#define x(y) L#y'.
300
+ sp_before_pp_stringify = ignore # ignore/add/remove/force
301
+
302
+ # Add or remove space around boolean operators '&&' and '||'
303
+ sp_bool = ignore # ignore/add/remove/force
304
+
305
+ # Add or remove space around compare operator '<', '>', '==', etc
306
+ sp_compare = ignore # ignore/add/remove/force
307
+
308
+ # Add or remove space inside '(' and ')'
309
+ sp_inside_paren = ignore # ignore/add/remove/force
310
+
311
+ # Add or remove space between nested parens: '((' vs ') )'
312
+ sp_paren_paren = ignore # ignore/add/remove/force
313
+
314
+ # Add or remove space between back-to-back parens: ')(' vs ') ('
315
+ sp_cparen_oparen = ignore # ignore/add/remove/force
316
+
317
+ # Whether to balance spaces inside nested parens
318
+ sp_balance_nested_parens = false # false/true
319
+
320
+ # Add or remove space between ')' and '{'
321
+ sp_paren_brace = ignore # ignore/add/remove/force
322
+
323
+ # Add or remove space before pointer star '*'
324
+ sp_before_ptr_star = ignore # ignore/add/remove/force
325
+
326
+ # Add or remove space before pointer star '*' that isn't followed by a variable name
327
+ # If set to 'ignore', sp_before_ptr_star is used instead.
328
+ sp_before_unnamed_ptr_star = ignore # ignore/add/remove/force
329
+
330
+ # Add or remove space between pointer stars '*'
331
+ sp_between_ptr_star = ignore # ignore/add/remove/force
332
+
333
+ # Add or remove space after pointer star '*', if followed by a word.
334
+ sp_after_ptr_star = ignore # ignore/add/remove/force
335
+
336
+ # Add or remove space after pointer star '*', if followed by a qualifier.
337
+ sp_after_ptr_star_qualifier = ignore # ignore/add/remove/force
338
+
339
+ # Add or remove space after a pointer star '*', if followed by a func proto/def.
340
+ sp_after_ptr_star_func = ignore # ignore/add/remove/force
341
+
342
+ # Add or remove space after a pointer star '*', if followed by an open paren (function types).
343
+ sp_ptr_star_paren = ignore # ignore/add/remove/force
344
+
345
+ # Add or remove space before a pointer star '*', if followed by a func proto/def.
346
+ sp_before_ptr_star_func = ignore # ignore/add/remove/force
347
+
348
+ # Add or remove space before a reference sign '&'
349
+ sp_before_byref = ignore # ignore/add/remove/force
350
+
351
+ # Add or remove space before a reference sign '&' that isn't followed by a variable name
352
+ # If set to 'ignore', sp_before_byref is used instead.
353
+ sp_before_unnamed_byref = ignore # ignore/add/remove/force
354
+
355
+ # Add or remove space after reference sign '&', if followed by a word.
356
+ sp_after_byref = ignore # ignore/add/remove/force
357
+
358
+ # Add or remove space after a reference sign '&', if followed by a func proto/def.
359
+ sp_after_byref_func = ignore # ignore/add/remove/force
360
+
361
+ # Add or remove space before a reference sign '&', if followed by a func proto/def.
362
+ sp_before_byref_func = ignore # ignore/add/remove/force
363
+
364
+ # Add or remove space between type and word. Default=Force
365
+ sp_after_type = force # ignore/add/remove/force
366
+
367
+ # Add or remove space before the paren in the D constructs 'template Foo(' and 'class Foo('.
368
+ sp_before_template_paren = ignore # ignore/add/remove/force
369
+
370
+ # Add or remove space in 'template <' vs 'template<'.
371
+ # If set to ignore, sp_before_angle is used.
372
+ sp_template_angle = ignore # ignore/add/remove/force
373
+
374
+ # Add or remove space before '<>'
375
+ sp_before_angle = ignore # ignore/add/remove/force
376
+
377
+ # Add or remove space inside '<' and '>'
378
+ sp_inside_angle = ignore # ignore/add/remove/force
379
+
380
+ # Add or remove space after '<>'
381
+ sp_after_angle = ignore # ignore/add/remove/force
382
+
383
+ # Add or remove space between '<>' and '(' as found in 'new List<byte>();'
384
+ sp_angle_paren = ignore # ignore/add/remove/force
385
+
386
+ # Add or remove space between '<>' and a word as in 'List<byte> m;'
387
+ sp_angle_word = ignore # ignore/add/remove/force
388
+
389
+ # Add or remove space between '>' and '>' in '>>' (template stuff C++/C# only). Default=Add
390
+ sp_angle_shift = add # ignore/add/remove/force
391
+
392
+ # Permit removal of the space between '>>' in 'foo<bar<int> >' (C++11 only). Default=False
393
+ # sp_angle_shift cannot remove the space without this option.
394
+ sp_permit_cpp11_shift = false # false/true
395
+
396
+ # Add or remove space before '(' of 'if', 'for', 'switch', and 'while'
397
+ sp_before_sparen = ignore # ignore/add/remove/force
398
+
399
+ # Add or remove space inside if-condition '(' and ')'
400
+ sp_inside_sparen = ignore # ignore/add/remove/force
401
+
402
+ # Add or remove space before if-condition ')'. Overrides sp_inside_sparen.
403
+ sp_inside_sparen_close = ignore # ignore/add/remove/force
404
+
405
+ # Add or remove space before if-condition '('. Overrides sp_inside_sparen.
406
+ sp_inside_sparen_open = ignore # ignore/add/remove/force
407
+
408
+ # Add or remove space after ')' of 'if', 'for', 'switch', and 'while'
409
+ sp_after_sparen = ignore # ignore/add/remove/force
410
+
411
+ # Add or remove space between ')' and '{' of 'if', 'for', 'switch', and 'while'
412
+ sp_sparen_brace = ignore # ignore/add/remove/force
413
+
414
+ # Add or remove space between 'invariant' and '(' in the D language.
415
+ sp_invariant_paren = ignore # ignore/add/remove/force
416
+
417
+ # Add or remove space after the ')' in 'invariant (C) c' in the D language.
418
+ sp_after_invariant_paren = ignore # ignore/add/remove/force
419
+
420
+ # Add or remove space before empty statement ';' on 'if', 'for' and 'while'
421
+ sp_special_semi = ignore # ignore/add/remove/force
422
+
423
+ # Add or remove space before ';'. Default=Remove
424
+ sp_before_semi = remove # ignore/add/remove/force
425
+
426
+ # Add or remove space before ';' in non-empty 'for' statements
427
+ sp_before_semi_for = ignore # ignore/add/remove/force
428
+
429
+ # Add or remove space before a semicolon of an empty part of a for statement.
430
+ sp_before_semi_for_empty = ignore # ignore/add/remove/force
431
+
432
+ # Add or remove space after ';', except when followed by a comment. Default=Add
433
+ sp_after_semi = add # ignore/add/remove/force
434
+
435
+ # Add or remove space after ';' in non-empty 'for' statements. Default=Force
436
+ sp_after_semi_for = force # ignore/add/remove/force
437
+
438
+ # Add or remove space after the final semicolon of an empty part of a for statement: for ( ; ; <here> ).
439
+ sp_after_semi_for_empty = ignore # ignore/add/remove/force
440
+
441
+ # Add or remove space before '[' (except '[]')
442
+ sp_before_square = ignore # ignore/add/remove/force
443
+
444
+ # Add or remove space before '[]'
445
+ sp_before_squares = ignore # ignore/add/remove/force
446
+
447
+ # Add or remove space inside a non-empty '[' and ']'
448
+ sp_inside_square = ignore # ignore/add/remove/force
449
+
450
+ # Add or remove space after ','
451
+ sp_after_comma = ignore # ignore/add/remove/force
452
+
453
+ # Add or remove space before ','
454
+ sp_before_comma = remove # ignore/add/remove/force
455
+
456
+ # Add or remove space between an open paren and comma: '(,' vs '( ,'
457
+ sp_paren_comma = force # ignore/add/remove/force
458
+
459
+ # Add or remove space before the variadic '...' when preceded by a non-punctuator
460
+ sp_before_ellipsis = ignore # ignore/add/remove/force
461
+
462
+ # Add or remove space after class ':'
463
+ sp_after_class_colon = ignore # ignore/add/remove/force
464
+
465
+ # Add or remove space before class ':'
466
+ sp_before_class_colon = ignore # ignore/add/remove/force
467
+
468
+ # Add or remove space after class constructor ':'
469
+ sp_after_constr_colon = ignore # ignore/add/remove/force
470
+
471
+ # Add or remove space before class constructor ':'
472
+ sp_before_constr_colon = ignore # ignore/add/remove/force
473
+
474
+ # Add or remove space before case ':'. Default=Remove
475
+ sp_before_case_colon = remove # ignore/add/remove/force
476
+
477
+ # Add or remove space between 'operator' and operator sign
478
+ sp_after_operator = ignore # ignore/add/remove/force
479
+
480
+ # Add or remove space between the operator symbol and the open paren, as in 'operator ++('
481
+ sp_after_operator_sym = ignore # ignore/add/remove/force
482
+
483
+ # Add or remove space after C/D cast, i.e. 'cast(int)a' vs 'cast(int) a' or '(int)a' vs '(int) a'
484
+ sp_after_cast = ignore # ignore/add/remove/force
485
+
486
+ # Add or remove spaces inside cast parens
487
+ sp_inside_paren_cast = ignore # ignore/add/remove/force
488
+
489
+ # Add or remove space between the type and open paren in a C++ cast, i.e. 'int(exp)' vs 'int (exp)'
490
+ sp_cpp_cast_paren = ignore # ignore/add/remove/force
491
+
492
+ # Add or remove space between 'sizeof' and '('
493
+ sp_sizeof_paren = ignore # ignore/add/remove/force
494
+
495
+ # Add or remove space after the tag keyword (Pawn)
496
+ sp_after_tag = ignore # ignore/add/remove/force
497
+
498
+ # Add or remove space inside enum '{' and '}'
499
+ sp_inside_braces_enum = ignore # ignore/add/remove/force
500
+
501
+ # Add or remove space inside struct/union '{' and '}'
502
+ sp_inside_braces_struct = ignore # ignore/add/remove/force
503
+
504
+ # Add or remove space inside '{' and '}'
505
+ sp_inside_braces = ignore # ignore/add/remove/force
506
+
507
+ # Add or remove space inside '{}'
508
+ sp_inside_braces_empty = ignore # ignore/add/remove/force
509
+
510
+ # Add or remove space between return type and function name
511
+ # A minimum of 1 is forced except for pointer return types.
512
+ sp_type_func = ignore # ignore/add/remove/force
513
+
514
+ # Add or remove space between function name and '(' on function declaration
515
+ sp_func_proto_paren = ignore # ignore/add/remove/force
516
+
517
+ # Add or remove space between function name and '(' on function definition
518
+ sp_func_def_paren = ignore # ignore/add/remove/force
519
+
520
+ # Add or remove space inside empty function '()'
521
+ sp_inside_fparens = ignore # ignore/add/remove/force
522
+
523
+ # Add or remove space inside function '(' and ')'
524
+ sp_inside_fparen = ignore # ignore/add/remove/force
525
+
526
+ # Add or remove space inside the first parens in the function type: 'void (*x)(...)'
527
+ sp_inside_tparen = ignore # ignore/add/remove/force
528
+
529
+ # Add or remove between the parens in the function type: 'void (*x)(...)'
530
+ sp_after_tparen_close = ignore # ignore/add/remove/force
531
+
532
+ # Add or remove space between ']' and '(' when part of a function call.
533
+ sp_square_fparen = ignore # ignore/add/remove/force
534
+
535
+ # Add or remove space between ')' and '{' of function
536
+ sp_fparen_brace = ignore # ignore/add/remove/force
537
+
538
+ # Java: Add or remove space between ')' and '{{' of double brace initializer.
539
+ sp_fparen_dbrace = ignore # ignore/add/remove/force
540
+
541
+ # Add or remove space between function name and '(' on function calls
542
+ sp_func_call_paren = ignore # ignore/add/remove/force
543
+
544
+ # Add or remove space between function name and '()' on function calls without parameters.
545
+ # If set to 'ignore' (the default), sp_func_call_paren is used.
546
+ sp_func_call_paren_empty = ignore # ignore/add/remove/force
547
+
548
+ # Add or remove space between the user function name and '(' on function calls
549
+ # You need to set a keyword to be a user function, like this: 'set func_call_user _' in the config file.
550
+ sp_func_call_user_paren = ignore # ignore/add/remove/force
551
+
552
+ # Add or remove space between a constructor/destructor and the open paren
553
+ sp_func_class_paren = ignore # ignore/add/remove/force
554
+
555
+ # Add or remove space between 'return' and '('
556
+ sp_return_paren = ignore # ignore/add/remove/force
557
+
558
+ # Add or remove space between '__attribute__' and '('
559
+ sp_attribute_paren = ignore # ignore/add/remove/force
560
+
561
+ # Add or remove space between 'defined' and '(' in '#if defined (FOO)'
562
+ sp_defined_paren = ignore # ignore/add/remove/force
563
+
564
+ # Add or remove space between 'throw' and '(' in 'throw (something)'
565
+ sp_throw_paren = ignore # ignore/add/remove/force
566
+
567
+ # Add or remove space between 'throw' and anything other than '(' as in '@throw [...];'
568
+ sp_after_throw = ignore # ignore/add/remove/force
569
+
570
+ # Add or remove space between 'catch' and '(' in 'catch (something) { }'
571
+ # If set to ignore, sp_before_sparen is used.
572
+ sp_catch_paren = ignore # ignore/add/remove/force
573
+
574
+ # Add or remove space between 'version' and '(' in 'version (something) { }' (D language)
575
+ # If set to ignore, sp_before_sparen is used.
576
+ sp_version_paren = ignore # ignore/add/remove/force
577
+
578
+ # Add or remove space between 'scope' and '(' in 'scope (something) { }' (D language)
579
+ # If set to ignore, sp_before_sparen is used.
580
+ sp_scope_paren = ignore # ignore/add/remove/force
581
+
582
+ # Add or remove space between macro and value
583
+ sp_macro = ignore # ignore/add/remove/force
584
+
585
+ # Add or remove space between macro function ')' and value
586
+ sp_macro_func = ignore # ignore/add/remove/force
587
+
588
+ # Add or remove space between 'else' and '{' if on the same line
589
+ sp_else_brace = ignore # ignore/add/remove/force
590
+
591
+ # Add or remove space between '}' and 'else' if on the same line
592
+ sp_brace_else = ignore # ignore/add/remove/force
593
+
594
+ # Add or remove space between '}' and the name of a typedef on the same line
595
+ sp_brace_typedef = ignore # ignore/add/remove/force
596
+
597
+ # Add or remove space between 'catch' and '{' if on the same line
598
+ sp_catch_brace = ignore # ignore/add/remove/force
599
+
600
+ # Add or remove space between '}' and 'catch' if on the same line
601
+ sp_brace_catch = ignore # ignore/add/remove/force
602
+
603
+ # Add or remove space between 'finally' and '{' if on the same line
604
+ sp_finally_brace = ignore # ignore/add/remove/force
605
+
606
+ # Add or remove space between '}' and 'finally' if on the same line
607
+ sp_brace_finally = ignore # ignore/add/remove/force
608
+
609
+ # Add or remove space between 'try' and '{' if on the same line
610
+ sp_try_brace = ignore # ignore/add/remove/force
611
+
612
+ # Add or remove space between get/set and '{' if on the same line
613
+ sp_getset_brace = ignore # ignore/add/remove/force
614
+
615
+ # Add or remove space between a variable and '{' for C++ uniform initialization
616
+ sp_word_brace = add # ignore/add/remove/force
617
+
618
+ # Add or remove space between a variable and '{' for a namespace
619
+ sp_word_brace_ns = add # ignore/add/remove/force
620
+
621
+ # Add or remove space before the '::' operator
622
+ sp_before_dc = ignore # ignore/add/remove/force
623
+
624
+ # Add or remove space after the '::' operator
625
+ sp_after_dc = ignore # ignore/add/remove/force
626
+
627
+ # Add or remove around the D named array initializer ':' operator
628
+ sp_d_array_colon = ignore # ignore/add/remove/force
629
+
630
+ # Add or remove space after the '!' (not) operator. Default=Remove
631
+ sp_not = remove # ignore/add/remove/force
632
+
633
+ # Add or remove space after the '~' (invert) operator. Default=Remove
634
+ sp_inv = remove # ignore/add/remove/force
635
+
636
+ # Add or remove space after the '&' (address-of) operator. Default=Remove
637
+ # This does not affect the spacing after a '&' that is part of a type.
638
+ sp_addr = remove # ignore/add/remove/force
639
+
640
+ # Add or remove space around the '.' or '->' operators. Default=Remove
641
+ sp_member = remove # ignore/add/remove/force
642
+
643
+ # Add or remove space after the '*' (dereference) operator. Default=Remove
644
+ # This does not affect the spacing after a '*' that is part of a type.
645
+ sp_deref = remove # ignore/add/remove/force
646
+
647
+ # Add or remove space after '+' or '-', as in 'x = -5' or 'y = +7'. Default=Remove
648
+ sp_sign = remove # ignore/add/remove/force
649
+
650
+ # Add or remove space before or after '++' and '--', as in '(--x)' or 'y++;'. Default=Remove
651
+ sp_incdec = remove # ignore/add/remove/force
652
+
653
+ # Add or remove space before a backslash-newline at the end of a line. Default=Add
654
+ sp_before_nl_cont = add # ignore/add/remove/force
655
+
656
+ # Add or remove space after the scope '+' or '-', as in '-(void) foo;' or '+(int) bar;'
657
+ sp_after_oc_scope = ignore # ignore/add/remove/force
658
+
659
+ # Add or remove space after the colon in message specs
660
+ # '-(int) f:(int) x;' vs '-(int) f: (int) x;'
661
+ sp_after_oc_colon = ignore # ignore/add/remove/force
662
+
663
+ # Add or remove space before the colon in message specs
664
+ # '-(int) f: (int) x;' vs '-(int) f : (int) x;'
665
+ sp_before_oc_colon = ignore # ignore/add/remove/force
666
+
667
+ # Add or remove space after the colon in immutable dictionary expression
668
+ # 'NSDictionary *test = @{@"foo" :@"bar"};'
669
+ sp_after_oc_dict_colon = ignore # ignore/add/remove/force
670
+
671
+ # Add or remove space before the colon in immutable dictionary expression
672
+ # 'NSDictionary *test = @{@"foo" :@"bar"};'
673
+ sp_before_oc_dict_colon = ignore # ignore/add/remove/force
674
+
675
+ # Add or remove space after the colon in message specs
676
+ # '[object setValue:1];' vs '[object setValue: 1];'
677
+ sp_after_send_oc_colon = ignore # ignore/add/remove/force
678
+
679
+ # Add or remove space before the colon in message specs
680
+ # '[object setValue:1];' vs '[object setValue :1];'
681
+ sp_before_send_oc_colon = ignore # ignore/add/remove/force
682
+
683
+ # Add or remove space after the (type) in message specs
684
+ # '-(int)f: (int) x;' vs '-(int)f: (int)x;'
685
+ sp_after_oc_type = ignore # ignore/add/remove/force
686
+
687
+ # Add or remove space after the first (type) in message specs
688
+ # '-(int) f:(int)x;' vs '-(int)f:(int)x;'
689
+ sp_after_oc_return_type = ignore # ignore/add/remove/force
690
+
691
+ # Add or remove space between '@selector' and '('
692
+ # '@selector(msgName)' vs '@selector (msgName)'
693
+ # Also applies to @protocol() constructs
694
+ sp_after_oc_at_sel = ignore # ignore/add/remove/force
695
+
696
+ # Add or remove space between '@selector(x)' and the following word
697
+ # '@selector(foo) a:' vs '@selector(foo)a:'
698
+ sp_after_oc_at_sel_parens = ignore # ignore/add/remove/force
699
+
700
+ # Add or remove space inside '@selector' parens
701
+ # '@selector(foo)' vs '@selector( foo )'
702
+ # Also applies to @protocol() constructs
703
+ sp_inside_oc_at_sel_parens = ignore # ignore/add/remove/force
704
+
705
+ # Add or remove space before a block pointer caret
706
+ # '^int (int arg){...}' vs. ' ^int (int arg){...}'
707
+ sp_before_oc_block_caret = ignore # ignore/add/remove/force
708
+
709
+ # Add or remove space after a block pointer caret
710
+ # '^int (int arg){...}' vs. '^ int (int arg){...}'
711
+ sp_after_oc_block_caret = ignore # ignore/add/remove/force
712
+
713
+ # Add or remove space between the receiver and selector in a message.
714
+ # '[receiver selector ...]'
715
+ sp_after_oc_msg_receiver = ignore # ignore/add/remove/force
716
+
717
+ # Add or remove space after @property.
718
+ sp_after_oc_property = ignore # ignore/add/remove/force
719
+
720
+ # Add or remove space around the ':' in 'b ? t : f'
721
+ sp_cond_colon = ignore # ignore/add/remove/force
722
+
723
+ # Add or remove space before the ':' in 'b ? t : f'. Overrides sp_cond_colon.
724
+ sp_cond_colon_before = ignore # ignore/add/remove/force
725
+
726
+ # Add or remove space after the ':' in 'b ? t : f'. Overrides sp_cond_colon.
727
+ sp_cond_colon_after = ignore # ignore/add/remove/force
728
+
729
+ # Add or remove space around the '?' in 'b ? t : f'
730
+ sp_cond_question = ignore # ignore/add/remove/force
731
+
732
+ # Add or remove space before the '?' in 'b ? t : f'. Overrides sp_cond_question.
733
+ sp_cond_question_before = ignore # ignore/add/remove/force
734
+
735
+ # Add or remove space after the '?' in 'b ? t : f'. Overrides sp_cond_question.
736
+ sp_cond_question_after = ignore # ignore/add/remove/force
737
+
738
+ # In the abbreviated ternary form (a ?: b), add/remove space between ? and :.'. Overrides all other sp_cond_* options.
739
+ sp_cond_ternary_short = ignore # ignore/add/remove/force
740
+
741
+ # Fix the spacing between 'case' and the label. Only 'ignore' and 'force' make sense here.
742
+ sp_case_label = ignore # ignore/add/remove/force
743
+
744
+ # Control the space around the D '..' operator.
745
+ sp_range = ignore # ignore/add/remove/force
746
+
747
+ # Control the spacing after ':' in 'for (TYPE VAR : EXPR)' (Java)
748
+ sp_after_for_colon = ignore # ignore/add/remove/force
749
+
750
+ # Control the spacing before ':' in 'for (TYPE VAR : EXPR)' (Java)
751
+ sp_before_for_colon = ignore # ignore/add/remove/force
752
+
753
+ # Control the spacing in 'extern (C)' (D)
754
+ sp_extern_paren = ignore # ignore/add/remove/force
755
+
756
+ # Control the space after the opening of a C++ comment '// A' vs '//A'
757
+ sp_cmt_cpp_start = ignore # ignore/add/remove/force
758
+
759
+ # Controls the spaces between #else or #endif and a trailing comment
760
+ sp_endif_cmt = ignore # ignore/add/remove/force
761
+
762
+ # Controls the spaces after 'new', 'delete', and 'delete[]'
763
+ sp_after_new = ignore # ignore/add/remove/force
764
+
765
+ # Controls the spaces before a trailing or embedded comment
766
+ sp_before_tr_emb_cmt = ignore # ignore/add/remove/force
767
+
768
+ # Number of spaces before a trailing or embedded comment
769
+ sp_num_before_tr_emb_cmt = 0 # number
770
+
771
+ # Control space between a Java annotation and the open paren.
772
+ sp_annotation_paren = ignore # ignore/add/remove/force
773
+
774
+ #
775
+ # Code alignment (not left column spaces/tabs)
776
+ #
777
+
778
+ # Whether to keep non-indenting tabs
779
+ align_keep_tabs = false # false/true
780
+
781
+ # Whether to use tabs for aligning
782
+ align_with_tabs = false # false/true
783
+
784
+ # Whether to bump out to the next tab when aligning
785
+ align_on_tabstop = false # false/true
786
+
787
+ # Whether to left-align numbers
788
+ align_number_left = false # false/true
789
+
790
+ # Whether to keep whitespace not required for alignment.
791
+ align_keep_extra_space = false # false/true
792
+
793
+ # Align variable definitions in prototypes and functions
794
+ align_func_params = false # false/true
795
+
796
+ # Align parameters in single-line functions that have the same name.
797
+ # The function names must already be aligned with each other.
798
+ align_same_func_call_params = false # false/true
799
+
800
+ # The span for aligning variable definitions (0=don't align)
801
+ align_var_def_span = 0 # number
802
+
803
+ # How to align the star in variable definitions.
804
+ # 0=Part of the type 'void * foo;'
805
+ # 1=Part of the variable 'void *foo;'
806
+ # 2=Dangling 'void *foo;'
807
+ align_var_def_star_style = 0 # number
808
+
809
+ # How to align the '&' in variable definitions.
810
+ # 0=Part of the type
811
+ # 1=Part of the variable
812
+ # 2=Dangling
813
+ align_var_def_amp_style = 0 # number
814
+
815
+ # The threshold for aligning variable definitions (0=no limit)
816
+ align_var_def_thresh = 0 # number
817
+
818
+ # The gap for aligning variable definitions
819
+ align_var_def_gap = 0 # number
820
+
821
+ # Whether to align the colon in struct bit fields
822
+ align_var_def_colon = false # false/true
823
+
824
+ # Whether to align any attribute after the variable name
825
+ align_var_def_attribute = false # false/true
826
+
827
+ # Whether to align inline struct/enum/union variable definitions
828
+ align_var_def_inline = false # false/true
829
+
830
+ # The span for aligning on '=' in assignments (0=don't align)
831
+ align_assign_span = 0 # number
832
+
833
+ # The threshold for aligning on '=' in assignments (0=no limit)
834
+ align_assign_thresh = 0 # number
835
+
836
+ # The span for aligning on '=' in enums (0=don't align)
837
+ align_enum_equ_span = 0 # number
838
+
839
+ # The threshold for aligning on '=' in enums (0=no limit)
840
+ align_enum_equ_thresh = 0 # number
841
+
842
+ # The span for aligning struct/union (0=don't align)
843
+ align_var_struct_span = 0 # number
844
+
845
+ # The threshold for aligning struct/union member definitions (0=no limit)
846
+ align_var_struct_thresh = 0 # number
847
+
848
+ # The gap for aligning struct/union member definitions
849
+ align_var_struct_gap = 0 # number
850
+
851
+ # The span for aligning struct initializer values (0=don't align)
852
+ align_struct_init_span = 0 # number
853
+
854
+ # The minimum space between the type and the synonym of a typedef
855
+ align_typedef_gap = 0 # number
856
+
857
+ # The span for aligning single-line typedefs (0=don't align)
858
+ align_typedef_span = 0 # number
859
+
860
+ # How to align typedef'd functions with other typedefs
861
+ # 0: Don't mix them at all
862
+ # 1: align the open paren with the types
863
+ # 2: align the function type name with the other type names
864
+ align_typedef_func = 0 # number
865
+
866
+ # Controls the positioning of the '*' in typedefs. Just try it.
867
+ # 0: Align on typedef type, ignore '*'
868
+ # 1: The '*' is part of type name: typedef int *pint;
869
+ # 2: The '*' is part of the type, but dangling: typedef int *pint;
870
+ align_typedef_star_style = 0 # number
871
+
872
+ # Controls the positioning of the '&' in typedefs. Just try it.
873
+ # 0: Align on typedef type, ignore '&'
874
+ # 1: The '&' is part of type name: typedef int &pint;
875
+ # 2: The '&' is part of the type, but dangling: typedef int &pint;
876
+ align_typedef_amp_style = 0 # number
877
+
878
+ # The span for aligning comments that end lines (0=don't align)
879
+ align_right_cmt_span = 0 # number
880
+
881
+ # If aligning comments, mix with comments after '}' and #endif with less than 3 spaces before the comment
882
+ align_right_cmt_mix = false # false/true
883
+
884
+ # If a trailing comment is more than this number of columns away from the text it follows,
885
+ # it will qualify for being aligned. This has to be > 0 to do anything.
886
+ align_right_cmt_gap = 0 # number
887
+
888
+ # Align trailing comment at or beyond column N; 'pulls in' comments as a bonus side effect (0=ignore)
889
+ align_right_cmt_at_col = 0 # number
890
+
891
+ # The span for aligning function prototypes (0=don't align)
892
+ align_func_proto_span = 0 # number
893
+
894
+ # Minimum gap between the return type and the function name.
895
+ align_func_proto_gap = 0 # number
896
+
897
+ # Align function protos on the 'operator' keyword instead of what follows
898
+ align_on_operator = false # false/true
899
+
900
+ # Whether to mix aligning prototype and variable declarations.
901
+ # If true, align_var_def_XXX options are used instead of align_func_proto_XXX options.
902
+ align_mix_var_proto = false # false/true
903
+
904
+ # Align single-line functions with function prototypes, uses align_func_proto_span
905
+ align_single_line_func = false # false/true
906
+
907
+ # Aligning the open brace of single-line functions.
908
+ # Requires align_single_line_func=true, uses align_func_proto_span
909
+ align_single_line_brace = false # false/true
910
+
911
+ # Gap for align_single_line_brace.
912
+ align_single_line_brace_gap = 0 # number
913
+
914
+ # The span for aligning ObjC msg spec (0=don't align)
915
+ align_oc_msg_spec_span = 0 # number
916
+
917
+ # Whether to align macros wrapped with a backslash and a newline.
918
+ # This will not work right if the macro contains a multi-line comment.
919
+ align_nl_cont = false # false/true
920
+
921
+ # # Align macro functions and variables together
922
+ align_pp_define_together = false # false/true
923
+
924
+ # The minimum space between label and value of a preprocessor define
925
+ align_pp_define_gap = 0 # number
926
+
927
+ # The span for aligning on '#define' bodies (0=don't align, other=number of lines including comments between blocks)
928
+ align_pp_define_span = 0 # number
929
+
930
+ # Align lines that start with '<<' with previous '<<'. Default=true
931
+ align_left_shift = true # false/true
932
+
933
+ # Span for aligning parameters in an Obj-C message call on the ':' (0=don't align)
934
+ align_oc_msg_colon_span = 0 # number
935
+
936
+ # If true, always align with the first parameter, even if it is too short.
937
+ align_oc_msg_colon_first = false # false/true
938
+
939
+ # Aligning parameters in an Obj-C '+' or '-' declaration on the ':'
940
+ align_oc_decl_colon = false # false/true
941
+
942
+ #
943
+ # Newline adding and removing options
944
+ #
945
+
946
+ # Whether to collapse empty blocks between '{' and '}'
947
+ nl_collapse_empty_body = false # false/true
948
+
949
+ # Don't split one-line braced assignments - 'foo_t f = { 1, 2 };'
950
+ nl_assign_leave_one_liners = false # false/true
951
+
952
+ # Don't split one-line braced statements inside a class xx { } body
953
+ nl_class_leave_one_liners = false # false/true
954
+
955
+ # Don't split one-line enums: 'enum foo { BAR = 15 };'
956
+ nl_enum_leave_one_liners = false # false/true
957
+
958
+ # Don't split one-line get or set functions
959
+ nl_getset_leave_one_liners = false # false/true
960
+
961
+ # Don't split one-line function definitions - 'int foo() { return 0; }'
962
+ nl_func_leave_one_liners = false # false/true
963
+
964
+ # Don't split one-line C++11 lambdas - '[]() { return 0; }'
965
+ nl_cpp_lambda_leave_one_liners = false # false/true
966
+
967
+ # Don't split one-line if/else statements - 'if(a) b++;'
968
+ nl_if_leave_one_liners = false # false/true
969
+
970
+ # Don't split one-line OC messages
971
+ nl_oc_msg_leave_one_liner = false # false/true
972
+
973
+ # Add or remove newlines at the start of the file
974
+ nl_start_of_file = ignore # ignore/add/remove/force
975
+
976
+ # The number of newlines at the start of the file (only used if nl_start_of_file is 'add' or 'force'
977
+ nl_start_of_file_min = 0 # number
978
+
979
+ # Add or remove newline at the end of the file
980
+ nl_end_of_file = ignore # ignore/add/remove/force
981
+
982
+ # The number of newlines at the end of the file (only used if nl_end_of_file is 'add' or 'force')
983
+ nl_end_of_file_min = 0 # number
984
+
985
+ # Add or remove newline between '=' and '{'
986
+ nl_assign_brace = ignore # ignore/add/remove/force
987
+
988
+ # Add or remove newline between '=' and '[' (D only)
989
+ nl_assign_square = ignore # ignore/add/remove/force
990
+
991
+ # Add or remove newline after '= [' (D only). Will also affect the newline before the ']'
992
+ nl_after_square_assign = ignore # ignore/add/remove/force
993
+
994
+ # The number of blank lines after a block of variable definitions at the top of a function body
995
+ # 0 = No change (default)
996
+ nl_func_var_def_blk = 0 # number
997
+
998
+ # The number of newlines before a block of typedefs
999
+ # 0 = No change (default)
1000
+ nl_typedef_blk_start = 0 # number
1001
+
1002
+ # The number of newlines after a block of typedefs
1003
+ # 0 = No change (default)
1004
+ nl_typedef_blk_end = 0 # number
1005
+
1006
+ # The maximum consecutive newlines within a block of typedefs
1007
+ # 0 = No change (default)
1008
+ nl_typedef_blk_in = 0 # number
1009
+
1010
+ # The number of newlines before a block of variable definitions not at the top of a function body
1011
+ # 0 = No change (default)
1012
+ nl_var_def_blk_start = 0 # number
1013
+
1014
+ # The number of newlines after a block of variable definitions not at the top of a function body
1015
+ # 0 = No change (default)
1016
+ nl_var_def_blk_end = 0 # number
1017
+
1018
+ # The maximum consecutive newlines within a block of variable definitions
1019
+ # 0 = No change (default)
1020
+ nl_var_def_blk_in = 0 # number
1021
+
1022
+ # Add or remove newline between a function call's ')' and '{', as in:
1023
+ # list_for_each(item, &list) { }
1024
+ nl_fcall_brace = ignore # ignore/add/remove/force
1025
+
1026
+ # Add or remove newline between 'enum' and '{'
1027
+ nl_enum_brace = ignore # ignore/add/remove/force
1028
+
1029
+ # Add or remove newline between 'struct and '{'
1030
+ nl_struct_brace = ignore # ignore/add/remove/force
1031
+
1032
+ # Add or remove newline between 'union' and '{'
1033
+ nl_union_brace = ignore # ignore/add/remove/force
1034
+
1035
+ # Add or remove newline between 'if' and '{'
1036
+ nl_if_brace = ignore # ignore/add/remove/force
1037
+
1038
+ # Add or remove newline between '}' and 'else'
1039
+ nl_brace_else = ignore # ignore/add/remove/force
1040
+
1041
+ # Add or remove newline between 'else if' and '{'
1042
+ # If set to ignore, nl_if_brace is used instead
1043
+ nl_elseif_brace = ignore # ignore/add/remove/force
1044
+
1045
+ # Add or remove newline between 'else' and '{'
1046
+ nl_else_brace = ignore # ignore/add/remove/force
1047
+
1048
+ # Add or remove newline between 'else' and 'if'
1049
+ nl_else_if = ignore # ignore/add/remove/force
1050
+
1051
+ # Add or remove newline between '}' and 'finally'
1052
+ nl_brace_finally = ignore # ignore/add/remove/force
1053
+
1054
+ # Add or remove newline between 'finally' and '{'
1055
+ nl_finally_brace = ignore # ignore/add/remove/force
1056
+
1057
+ # Add or remove newline between 'try' and '{'
1058
+ nl_try_brace = ignore # ignore/add/remove/force
1059
+
1060
+ # Add or remove newline between get/set and '{'
1061
+ nl_getset_brace = ignore # ignore/add/remove/force
1062
+
1063
+ # Add or remove newline between 'for' and '{'
1064
+ nl_for_brace = ignore # ignore/add/remove/force
1065
+
1066
+ # Add or remove newline between 'catch' and '{'
1067
+ nl_catch_brace = ignore # ignore/add/remove/force
1068
+
1069
+ # Add or remove newline between '}' and 'catch'
1070
+ nl_brace_catch = ignore # ignore/add/remove/force
1071
+
1072
+ # Add or remove newline between '}' and ']'
1073
+ nl_brace_square = ignore # ignore/add/remove/force
1074
+
1075
+ # Add or remove newline between '}' and ')' in a function invocation
1076
+ nl_brace_fparen = ignore # ignore/add/remove/force
1077
+
1078
+ # Add or remove newline between 'while' and '{'
1079
+ nl_while_brace = ignore # ignore/add/remove/force
1080
+
1081
+ # Add or remove newline between 'scope (x)' and '{' (D)
1082
+ nl_scope_brace = ignore # ignore/add/remove/force
1083
+
1084
+ # Add or remove newline between 'unittest' and '{' (D)
1085
+ nl_unittest_brace = ignore # ignore/add/remove/force
1086
+
1087
+ # Add or remove newline between 'version (x)' and '{' (D)
1088
+ nl_version_brace = ignore # ignore/add/remove/force
1089
+
1090
+ # Add or remove newline between 'using' and '{'
1091
+ nl_using_brace = ignore # ignore/add/remove/force
1092
+
1093
+ # Add or remove newline between two open or close braces.
1094
+ # Due to general newline/brace handling, REMOVE may not work.
1095
+ nl_brace_brace = ignore # ignore/add/remove/force
1096
+
1097
+ # Add or remove newline between 'do' and '{'
1098
+ nl_do_brace = ignore # ignore/add/remove/force
1099
+
1100
+ # Add or remove newline between '}' and 'while' of 'do' statement
1101
+ nl_brace_while = ignore # ignore/add/remove/force
1102
+
1103
+ # Add or remove newline between 'switch' and '{'
1104
+ nl_switch_brace = ignore # ignore/add/remove/force
1105
+
1106
+ # Add a newline between ')' and '{' if the ')' is on a different line than the if/for/etc.
1107
+ # Overrides nl_for_brace, nl_if_brace, nl_switch_brace, nl_while_switch, and nl_catch_brace.
1108
+ nl_multi_line_cond = false # false/true
1109
+
1110
+ # Force a newline in a define after the macro name for multi-line defines.
1111
+ nl_multi_line_define = false # false/true
1112
+
1113
+ # Whether to put a newline before 'case' statement
1114
+ nl_before_case = false # false/true
1115
+
1116
+ # Add or remove newline between ')' and 'throw'
1117
+ nl_before_throw = ignore # ignore/add/remove/force
1118
+
1119
+ # Whether to put a newline after 'case' statement
1120
+ nl_after_case = false # false/true
1121
+
1122
+ # Add or remove a newline between a case ':' and '{'. Overrides nl_after_case.
1123
+ nl_case_colon_brace = ignore # ignore/add/remove/force
1124
+
1125
+ # Newline between namespace and {
1126
+ nl_namespace_brace = ignore # ignore/add/remove/force
1127
+
1128
+ # Add or remove newline between 'template<>' and whatever follows.
1129
+ nl_template_class = ignore # ignore/add/remove/force
1130
+
1131
+ # Add or remove newline between 'class' and '{'
1132
+ nl_class_brace = ignore # ignore/add/remove/force
1133
+
1134
+ # Add or remove newline after each ',' in the class base list
1135
+ nl_class_init_args = ignore # ignore/add/remove/force
1136
+
1137
+ # Add or remove newline after each ',' in the constructor member initialization
1138
+ nl_constr_init_args = ignore # ignore/add/remove/force
1139
+
1140
+ # Add or remove newline between return type and function name in a function definition
1141
+ nl_func_type_name = ignore # ignore/add/remove/force
1142
+
1143
+ # Add or remove newline between return type and function name inside a class {}
1144
+ # Uses nl_func_type_name or nl_func_proto_type_name if set to ignore.
1145
+ nl_func_type_name_class = ignore # ignore/add/remove/force
1146
+
1147
+ # Add or remove newline between function scope and name in a definition
1148
+ # Controls the newline after '::' in 'void A::f() { }'
1149
+ nl_func_scope_name = ignore # ignore/add/remove/force
1150
+
1151
+ # Add or remove newline between return type and function name in a prototype
1152
+ nl_func_proto_type_name = ignore # ignore/add/remove/force
1153
+
1154
+ # Add or remove newline between a function name and the opening '('
1155
+ nl_func_paren = ignore # ignore/add/remove/force
1156
+
1157
+ # Add or remove newline between a function name and the opening '(' in the definition
1158
+ nl_func_def_paren = ignore # ignore/add/remove/force
1159
+
1160
+ # Add or remove newline after '(' in a function declaration
1161
+ nl_func_decl_start = ignore # ignore/add/remove/force
1162
+
1163
+ # Add or remove newline after '(' in a function definition
1164
+ nl_func_def_start = ignore # ignore/add/remove/force
1165
+
1166
+ # Overrides nl_func_decl_start when there is only one parameter.
1167
+ nl_func_decl_start_single = ignore # ignore/add/remove/force
1168
+
1169
+ # Overrides nl_func_def_start when there is only one parameter.
1170
+ nl_func_def_start_single = ignore # ignore/add/remove/force
1171
+
1172
+ # Add or remove newline after each ',' in a function declaration
1173
+ nl_func_decl_args = ignore # ignore/add/remove/force
1174
+
1175
+ # Add or remove newline after each ',' in a function definition
1176
+ nl_func_def_args = ignore # ignore/add/remove/force
1177
+
1178
+ # Add or remove newline before the ')' in a function declaration
1179
+ nl_func_decl_end = ignore # ignore/add/remove/force
1180
+
1181
+ # Add or remove newline before the ')' in a function definition
1182
+ nl_func_def_end = ignore # ignore/add/remove/force
1183
+
1184
+ # Overrides nl_func_decl_end when there is only one parameter.
1185
+ nl_func_decl_end_single = ignore # ignore/add/remove/force
1186
+
1187
+ # Overrides nl_func_def_end when there is only one parameter.
1188
+ nl_func_def_end_single = ignore # ignore/add/remove/force
1189
+
1190
+ # Add or remove newline between '()' in a function declaration.
1191
+ nl_func_decl_empty = ignore # ignore/add/remove/force
1192
+
1193
+ # Add or remove newline between '()' in a function definition.
1194
+ nl_func_def_empty = ignore # ignore/add/remove/force
1195
+
1196
+ # Whether to put each OC message parameter on a separate line
1197
+ # See nl_oc_msg_leave_one_liner
1198
+ nl_oc_msg_args = false # false/true
1199
+
1200
+ # Add or remove newline between function signature and '{'
1201
+ nl_fdef_brace = ignore # ignore/add/remove/force
1202
+
1203
+ # Add or remove newline between C++11 lambda signature and '{'
1204
+ nl_cpp_ldef_brace = ignore # ignore/add/remove/force
1205
+
1206
+ # Add or remove a newline between the return keyword and return expression.
1207
+ nl_return_expr = ignore # ignore/add/remove/force
1208
+
1209
+ # Whether to put a newline after semicolons, except in 'for' statements
1210
+ nl_after_semicolon = false # false/true
1211
+
1212
+ # Java: Control the newline between the ')' and '{{' of the double brace initializer.
1213
+ nl_paren_dbrace_open = ignore # ignore/add/remove/force
1214
+
1215
+ # Whether to put a newline after brace open.
1216
+ # This also adds a newline before the matching brace close.
1217
+ nl_after_brace_open = false # false/true
1218
+
1219
+ # If nl_after_brace_open and nl_after_brace_open_cmt are true, a newline is
1220
+ # placed between the open brace and a trailing single-line comment.
1221
+ nl_after_brace_open_cmt = false # false/true
1222
+
1223
+ # Whether to put a newline after a virtual brace open with a non-empty body.
1224
+ # These occur in un-braced if/while/do/for statement bodies.
1225
+ nl_after_vbrace_open = false # false/true
1226
+
1227
+ # Whether to put a newline after a virtual brace open with an empty body.
1228
+ # These occur in un-braced if/while/do/for statement bodies.
1229
+ nl_after_vbrace_open_empty = false # false/true
1230
+
1231
+ # Whether to put a newline after a brace close.
1232
+ # Does not apply if followed by a necessary ';'.
1233
+ nl_after_brace_close = false # false/true
1234
+
1235
+ # Whether to put a newline after a virtual brace close.
1236
+ # Would add a newline before return in: 'if (foo) a++; return;'
1237
+ nl_after_vbrace_close = false # false/true
1238
+
1239
+ # Control the newline between the close brace and 'b' in: 'struct { int a; } b;'
1240
+ # Affects enums, unions, and structures. If set to ignore, uses nl_after_brace_close
1241
+ nl_brace_struct_var = ignore # ignore/add/remove/force
1242
+
1243
+ # Whether to alter newlines in '#define' macros
1244
+ nl_define_macro = false # false/true
1245
+
1246
+ # Whether to not put blanks after '#ifxx', '#elxx', or before '#endif'
1247
+ nl_squeeze_ifdef = false # false/true
1248
+
1249
+ # Add or remove blank line before 'if'
1250
+ nl_before_if = ignore # ignore/add/remove/force
1251
+
1252
+ # Add or remove blank line after 'if' statement
1253
+ nl_after_if = remove # ignore/add/remove/force
1254
+
1255
+ # Add or remove blank line before 'for'
1256
+ nl_before_for = ignore # ignore/add/remove/force
1257
+
1258
+ # Add or remove blank line after 'for' statement
1259
+ nl_after_for = remove # ignore/add/remove/force
1260
+
1261
+ # Add or remove blank line before 'while'
1262
+ nl_before_while = ignore # ignore/add/remove/force
1263
+
1264
+ # Add or remove blank line after 'while' statement
1265
+ nl_after_while = ignore # ignore/add/remove/force
1266
+
1267
+ # Add or remove blank line before 'switch'
1268
+ nl_before_switch = ignore # ignore/add/remove/force
1269
+
1270
+ # Add or remove blank line after 'switch' statement
1271
+ nl_after_switch = ignore # ignore/add/remove/force
1272
+
1273
+ # Add or remove blank line before 'do'
1274
+ nl_before_do = ignore # ignore/add/remove/force
1275
+
1276
+ # Add or remove blank line after 'do/while' statement
1277
+ nl_after_do = ignore # ignore/add/remove/force
1278
+
1279
+ # Whether to double-space commented-entries in struct/enum
1280
+ nl_ds_struct_enum_cmt = false # false/true
1281
+
1282
+ # Whether to double-space before the close brace of a struct/union/enum
1283
+ # (lower priority than 'eat_blanks_before_close_brace')
1284
+ nl_ds_struct_enum_close_brace = false # false/true
1285
+
1286
+ # Add or remove a newline around a class colon.
1287
+ # Related to pos_class_colon, nl_class_init_args, and pos_class_comma.
1288
+ nl_class_colon = ignore # ignore/add/remove/force
1289
+
1290
+ # Add or remove a newline around a class constructor colon.
1291
+ # Related to pos_constr_colon, nl_constr_init_args, and pos_constr_comma.
1292
+ nl_constr_colon = ignore # ignore/add/remove/force
1293
+
1294
+ # Change simple unbraced if statements into a one-liner
1295
+ # 'if(b)\n i++;' => 'if(b) i++;'
1296
+ nl_create_if_one_liner = false # false/true
1297
+
1298
+ # Change simple unbraced for statements into a one-liner
1299
+ # 'for (i=0;i<5;i++)\n foo(i);' => 'for (i=0;i<5;i++) foo(i);'
1300
+ nl_create_for_one_liner = false # false/true
1301
+
1302
+ # Change simple unbraced while statements into a one-liner
1303
+ # 'while (i<5)\n foo(i++);' => 'while (i<5) foo(i++);'
1304
+ nl_create_while_one_liner = false # false/true
1305
+
1306
+ #
1307
+ # Positioning options
1308
+ #
1309
+
1310
+ # The position of arithmetic operators in wrapped expressions
1311
+ pos_arith = ignore # ignore/join/lead/lead_break/lead_force/trail/trail_break/trail_force
1312
+
1313
+ # The position of assignment in wrapped expressions.
1314
+ # Do not affect '=' followed by '{'
1315
+ pos_assign = ignore # ignore/join/lead/lead_break/lead_force/trail/trail_break/trail_force
1316
+
1317
+ # The position of boolean operators in wrapped expressions
1318
+ pos_bool = ignore # ignore/join/lead/lead_break/lead_force/trail/trail_break/trail_force
1319
+
1320
+ # The position of comparison operators in wrapped expressions
1321
+ pos_compare = ignore # ignore/join/lead/lead_break/lead_force/trail/trail_break/trail_force
1322
+
1323
+ # The position of conditional (b ? t : f) operators in wrapped expressions
1324
+ pos_conditional = ignore # ignore/join/lead/lead_break/lead_force/trail/trail_break/trail_force
1325
+
1326
+ # The position of the comma in wrapped expressions
1327
+ pos_comma = ignore # ignore/join/lead/lead_break/lead_force/trail/trail_break/trail_force
1328
+
1329
+ # The position of the comma in the class base list
1330
+ pos_class_comma = ignore # ignore/join/lead/lead_break/lead_force/trail/trail_break/trail_force
1331
+
1332
+ # The position of the comma in the constructor initialization list
1333
+ pos_constr_comma = ignore # ignore/join/lead/lead_break/lead_force/trail/trail_break/trail_force
1334
+
1335
+ # The position of colons between class and base class list
1336
+ pos_class_colon = ignore # ignore/join/lead/lead_break/lead_force/trail/trail_break/trail_force
1337
+
1338
+ # The position of colons between constructor and member initialization
1339
+ pos_constr_colon = ignore # ignore/join/lead/lead_break/lead_force/trail/trail_break/trail_force
1340
+
1341
+ #
1342
+ # Line Splitting options
1343
+ #
1344
+
1345
+ # Try to limit code width to N number of columns
1346
+ code_width = 0 # number
1347
+
1348
+ # Whether to fully split long 'for' statements at semi-colons
1349
+ ls_for_split_full = false # false/true
1350
+
1351
+ # Whether to fully split long function protos/calls at commas
1352
+ ls_func_split_full = false # false/true
1353
+
1354
+ # Whether to split lines as close to code_width as possible and ignore some groupings
1355
+ ls_code_width = false # false/true
1356
+
1357
+ #
1358
+ # Blank line options
1359
+ #
1360
+
1361
+ # The maximum consecutive newlines
1362
+ nl_max = 0 # number
1363
+
1364
+ # The number of newlines after a function prototype, if followed by another function prototype
1365
+ nl_after_func_proto = 0 # number
1366
+
1367
+ # The number of newlines after a function prototype, if not followed by another function prototype
1368
+ nl_after_func_proto_group = 0 # number
1369
+
1370
+ # The number of newlines after '}' of a multi-line function body
1371
+ nl_after_func_body = 0 # number
1372
+
1373
+ # The number of newlines after '}' of a multi-line function body in a class declaration
1374
+ nl_after_func_body_class = 0 # number
1375
+
1376
+ # The number of newlines after '}' of a single line function body
1377
+ nl_after_func_body_one_liner = 0 # number
1378
+
1379
+ # The minimum number of newlines before a multi-line comment.
1380
+ # Doesn't apply if after a brace open or another multi-line comment.
1381
+ nl_before_block_comment = 0 # number
1382
+
1383
+ # The minimum number of newlines before a single-line C comment.
1384
+ # Doesn't apply if after a brace open or other single-line C comments.
1385
+ nl_before_c_comment = 0 # number
1386
+
1387
+ # The minimum number of newlines before a CPP comment.
1388
+ # Doesn't apply if after a brace open or other CPP comments.
1389
+ nl_before_cpp_comment = 0 # number
1390
+
1391
+ # Whether to force a newline after a multi-line comment.
1392
+ nl_after_multiline_comment = false # false/true
1393
+
1394
+ # The number of newlines after '}' or ';' of a struct/enum/union definition
1395
+ nl_after_struct = 0 # number
1396
+
1397
+ # The number of newlines after '}' or ';' of a class definition
1398
+ nl_after_class = 0 # number
1399
+
1400
+ # The number of newlines before a 'private:', 'public:', 'protected:', 'signals:', or 'slots:' label.
1401
+ # Will not change the newline count if after a brace open.
1402
+ # 0 = No change.
1403
+ nl_before_access_spec = 0 # number
1404
+
1405
+ # The number of newlines after a 'private:', 'public:', 'protected:', 'signals:', or 'slots:' label.
1406
+ # 0 = No change.
1407
+ nl_after_access_spec = 0 # number
1408
+
1409
+ # The number of newlines between a function def and the function comment.
1410
+ # 0 = No change.
1411
+ nl_comment_func_def = 0 # number
1412
+
1413
+ # The number of newlines after a try-catch-finally block that isn't followed by a brace close.
1414
+ # 0 = No change.
1415
+ nl_after_try_catch_finally = 0 # number
1416
+
1417
+ # The number of newlines before and after a property, indexer or event decl.
1418
+ # 0 = No change.
1419
+ nl_around_cs_property = 0 # number
1420
+
1421
+ # The number of newlines between the get/set/add/remove handlers in C#.
1422
+ # 0 = No change.
1423
+ nl_between_get_set = 0 # number
1424
+
1425
+ # Add or remove newline between C# property and the '{'
1426
+ nl_property_brace = ignore # ignore/add/remove/force
1427
+
1428
+ # Whether to remove blank lines after '{'
1429
+ eat_blanks_after_open_brace = false # false/true
1430
+
1431
+ # Whether to remove blank lines before '}'
1432
+ eat_blanks_before_close_brace = false # false/true
1433
+
1434
+ # How aggressively to remove extra newlines not in preproc.
1435
+ # 0: No change
1436
+ # 1: Remove most newlines not handled by other config
1437
+ # 2: Remove all newlines and reformat completely by config
1438
+ nl_remove_extra_newlines = 0 # number
1439
+
1440
+ # Whether to put a blank line before 'return' statements, unless after an open brace.
1441
+ nl_before_return = false # false/true
1442
+
1443
+ # Whether to put a blank line after 'return' statements, unless followed by a close brace.
1444
+ nl_after_return = false # false/true
1445
+
1446
+ # Whether to put a newline after a Java annotation statement.
1447
+ # Only affects annotations that are after a newline.
1448
+ nl_after_annotation = ignore # ignore/add/remove/force
1449
+
1450
+ # Controls the newline between two annotations.
1451
+ nl_between_annotation = ignore # ignore/add/remove/force
1452
+
1453
+ #
1454
+ # Code modifying options (non-whitespace)
1455
+ #
1456
+
1457
+ # Add or remove braces on single-line 'do' statement
1458
+ mod_full_brace_do = ignore # ignore/add/remove/force
1459
+
1460
+ # Add or remove braces on single-line 'for' statement
1461
+ mod_full_brace_for = ignore # ignore/add/remove/force
1462
+
1463
+ # Add or remove braces on single-line function definitions. (Pawn)
1464
+ mod_full_brace_function = ignore # ignore/add/remove/force
1465
+
1466
+ # Add or remove braces on single-line 'if' statement. Will not remove the braces if they contain an 'else'.
1467
+ mod_full_brace_if = ignore # ignore/add/remove/force
1468
+
1469
+ # Make all if/elseif/else statements in a chain be braced or not. Overrides mod_full_brace_if.
1470
+ # If any must be braced, they are all braced. If all can be unbraced, then the braces are removed.
1471
+ mod_full_brace_if_chain = false # false/true
1472
+
1473
+ # Don't remove braces around statements that span N newlines
1474
+ mod_full_brace_nl = 0 # number
1475
+
1476
+ # Add or remove braces on single-line 'while' statement
1477
+ mod_full_brace_while = ignore # ignore/add/remove/force
1478
+
1479
+ # Add or remove braces on single-line 'using ()' statement
1480
+ mod_full_brace_using = ignore # ignore/add/remove/force
1481
+
1482
+ # Add or remove unnecessary paren on 'return' statement
1483
+ mod_paren_on_return = ignore # ignore/add/remove/force
1484
+
1485
+ # Whether to change optional semicolons to real semicolons
1486
+ mod_pawn_semicolon = false # false/true
1487
+
1488
+ # Add parens on 'while' and 'if' statement around bools
1489
+ mod_full_paren_if_bool = false # false/true
1490
+
1491
+ # Whether to remove superfluous semicolons
1492
+ mod_remove_extra_semicolon = true # false/true
1493
+
1494
+ # If a function body exceeds the specified number of newlines and doesn't have a comment after
1495
+ # the close brace, a comment will be added.
1496
+ mod_add_long_function_closebrace_comment = 0 # number
1497
+
1498
+ # If a namespace body exceeds the specified number of newlines and doesn't have a comment after
1499
+ # the close brace, a comment will be added.
1500
+ mod_add_long_namespace_closebrace_comment = 0 # number
1501
+
1502
+ # If a switch body exceeds the specified number of newlines and doesn't have a comment after
1503
+ # the close brace, a comment will be added.
1504
+ mod_add_long_switch_closebrace_comment = 0 # number
1505
+
1506
+ # If an #ifdef body exceeds the specified number of newlines and doesn't have a comment after
1507
+ # the #endif, a comment will be added.
1508
+ mod_add_long_ifdef_endif_comment = 0 # number
1509
+
1510
+ # If an #ifdef or #else body exceeds the specified number of newlines and doesn't have a comment after
1511
+ # the #else, a comment will be added.
1512
+ mod_add_long_ifdef_else_comment = 0 # number
1513
+
1514
+ # If TRUE, will sort consecutive single-line 'import' statements [Java, D]
1515
+ mod_sort_import = false # false/true
1516
+
1517
+ # If TRUE, will sort consecutive single-line 'using' statements [C#]
1518
+ mod_sort_using = false # false/true
1519
+
1520
+ # If TRUE, will sort consecutive single-line '#include' statements [C/C++] and '#import' statements [Obj-C]
1521
+ # This is generally a bad idea, as it may break your code.
1522
+ mod_sort_include = false # false/true
1523
+
1524
+ # If TRUE, it will move a 'break' that appears after a fully braced 'case' before the close brace.
1525
+ mod_move_case_break = false # false/true
1526
+
1527
+ # Will add or remove the braces around a fully braced case statement.
1528
+ # Will only remove the braces if there are no variable declarations in the block.
1529
+ mod_case_brace = ignore # ignore/add/remove/force
1530
+
1531
+ # If TRUE, it will remove a void 'return;' that appears as the last statement in a function.
1532
+ mod_remove_empty_return = false # false/true
1533
+
1534
+ #
1535
+ # Comment modifications
1536
+ #
1537
+
1538
+ # Try to wrap comments at cmt_width columns
1539
+ cmt_width = 0 # number
1540
+
1541
+ # Set the comment reflow mode (default: 0)
1542
+ # 0: no reflowing (apart from the line wrapping due to cmt_width)
1543
+ # 1: no touching at all
1544
+ # 2: full reflow
1545
+ cmt_reflow_mode = 0 # number
1546
+
1547
+ # Whether to convert all tabs to spaces in comments. Default is to leave tabs inside comments alone, unless used for indenting.
1548
+ cmt_convert_tab_to_spaces = false # false/true
1549
+
1550
+ # If false, disable all multi-line comment changes, including cmt_width. keyword substitution, and leading chars.
1551
+ # Default is true.
1552
+ cmt_indent_multi = false # false/true
1553
+
1554
+ # Whether to group c-comments that look like they are in a block
1555
+ cmt_c_group = false # false/true
1556
+
1557
+ # Whether to put an empty '/*' on the first line of the combined c-comment
1558
+ cmt_c_nl_start = false # false/true
1559
+
1560
+ # Whether to put a newline before the closing '*/' of the combined c-comment
1561
+ cmt_c_nl_end = false # false/true
1562
+
1563
+ # Whether to group cpp-comments that look like they are in a block
1564
+ cmt_cpp_group = false # false/true
1565
+
1566
+ # Whether to put an empty '/*' on the first line of the combined cpp-comment
1567
+ cmt_cpp_nl_start = false # false/true
1568
+
1569
+ # Whether to put a newline before the closing '*/' of the combined cpp-comment
1570
+ cmt_cpp_nl_end = false # false/true
1571
+
1572
+ # Whether to change cpp-comments into c-comments
1573
+ cmt_cpp_to_c = false # false/true
1574
+
1575
+ # Whether to put a star on subsequent comment lines
1576
+ cmt_star_cont = false # false/true
1577
+
1578
+ # The number of spaces to insert at the start of subsequent comment lines
1579
+ cmt_sp_before_star_cont = 0 # number
1580
+
1581
+ # The number of spaces to insert after the star on subsequent comment lines
1582
+ cmt_sp_after_star_cont = 0 # number
1583
+
1584
+ # For multi-line comments with a '*' lead, remove leading spaces if the first and last lines of
1585
+ # the comment are the same length. Default=True
1586
+ cmt_multi_check_last = true # false/true
1587
+
1588
+ # The filename that contains text to insert at the head of a file if the file doesn't start with a C/C++ comment.
1589
+ # Will substitute $(filename) with the current file's name.
1590
+ cmt_insert_file_header = "" # string
1591
+
1592
+ # The filename that contains text to insert at the end of a file if the file doesn't end with a C/C++ comment.
1593
+ # Will substitute $(filename) with the current file's name.
1594
+ cmt_insert_file_footer = "" # string
1595
+
1596
+ # The filename that contains text to insert before a function implementation if the function isn't preceded with a C/C++ comment.
1597
+ # Will substitute $(function) with the function name and $(javaparam) with the javadoc @param and @return stuff.
1598
+ # Will also substitute $(fclass) with the class name: void CFoo::Bar() { ... }
1599
+ cmt_insert_func_header = "" # string
1600
+
1601
+ # The filename that contains text to insert before a class if the class isn't preceded with a C/C++ comment.
1602
+ # Will substitute $(class) with the class name.
1603
+ cmt_insert_class_header = "" # string
1604
+
1605
+ # The filename that contains text to insert before a Obj-C message specification if the method isn't preceded with a C/C++ comment.
1606
+ # Will substitute $(message) with the function name and $(javaparam) with the javadoc @param and @return stuff.
1607
+ cmt_insert_oc_msg_header = "" # string
1608
+
1609
+ # If a preprocessor is encountered when stepping backwards from a function name, then
1610
+ # this option decides whether the comment should be inserted.
1611
+ # Affects cmt_insert_oc_msg_header, cmt_insert_func_header and cmt_insert_class_header.
1612
+ cmt_insert_before_preproc = false # false/true
1613
+
1614
+ #
1615
+ # Preprocessor options
1616
+ #
1617
+
1618
+ # Control indent of preprocessors inside #if blocks at brace level 0 (file-level)
1619
+ pp_indent = ignore # ignore/add/remove/force
1620
+
1621
+ # Whether to indent #if/#else/#endif at the brace level (true) or from column 1 (false)
1622
+ pp_indent_at_level = false # false/true
1623
+
1624
+ # Specifies the number of columns to indent preprocessors per level at brace level 0 (file-level).
1625
+ # If pp_indent_at_level=false, specifies the number of columns to indent preprocessors per level at brace level > 0 (function-level).
1626
+ # Default=1.
1627
+ pp_indent_count = 1 # number
1628
+
1629
+ # Add or remove space after # based on pp_level of #if blocks
1630
+ pp_space = ignore # ignore/add/remove/force
1631
+
1632
+ # Sets the number of spaces added with pp_space
1633
+ pp_space_count = 0 # number
1634
+
1635
+ # The indent for #region and #endregion in C# and '#pragma region' in C/C++
1636
+ pp_indent_region = 0 # number
1637
+
1638
+ # Whether to indent the code between #region and #endregion
1639
+ pp_region_indent_code = false # false/true
1640
+
1641
+ # If pp_indent_at_level=true, sets the indent for #if, #else, and #endif when not at file-level.
1642
+ # 0: indent preprocessors using output_tab_size.
1643
+ # >0: column at which all preprocessors will be indented.
1644
+ pp_indent_if = 0 # number
1645
+
1646
+ # Control whether to indent the code between #if, #else and #endif.
1647
+ pp_if_indent_code = false # false/true
1648
+
1649
+ # Whether to indent '#define' at the brace level (true) or from column 1 (false)
1650
+ pp_define_at_level = false # false/true
1651
+
1652
+ # You can force a token to be a type with the 'type' option.
1653
+ # Example:
1654
+ # type myfoo1 myfoo2
1655
+ #
1656
+ # You can create custom macro-based indentation using macro-open,
1657
+ # macro-else and macro-close.
1658
+ # Example:
1659
+ # macro-open BEGIN_TEMPLATE_MESSAGE_MAP
1660
+ # macro-open BEGIN_MESSAGE_MAP
1661
+ # macro-close END_MESSAGE_MAP
1662
+ #
1663
+ # You can assign any keyword to any type with the set option.
1664
+ # set func_call_user _ N_
1665
+ #
1666
+ # The full syntax description of all custom definition config entries
1667
+ # is shown below:
1668
+ #
1669
+ # define custom tokens as:
1670
+ # - embed whitespace in token using '' escape character, or
1671
+ # put token in quotes
1672
+ # - these: ' " and ` are recognized as quote delimiters
1673
+ #
1674
+ # type token1 token2 token3 ...
1675
+ # ^ optionally specify multiple tokens on a single line
1676
+ # define def_token output_token
1677
+ # ^ output_token is optional, then NULL is assumed
1678
+ # macro-open token
1679
+ # macro-close token
1680
+ # macro-else token
1681
+ # set id token1 token2 ...
1682
+ # ^ optionally specify multiple tokens on a single line
1683
+ # ^ id is one of the names in token_enum.h sans the CT_ prefix,
1684
+ # e.g. PP_PRAGMA
1685
+ #
1686
+ # all tokens are separated by any mix of ',' commas, '=' equal signs
1687
+ # and whitespace (space, tab)
1688
+ #
1689
+ # You can add support for other file extensions using the 'file_ext' command.
1690
+ # The first arg is the language name used with the '-l' option.
1691
+ # The remaining args are file extensions, matched with 'endswith'.
1692
+ # file_ext CPP .ch .cxx .cpp.in
1693
+ #