xref: /petsc/src/sys/tests/linter/output/testValidFunctionDocStrings.out (revision daf982ea3b3c0de818633ff43cf4817ad46649b7)
1<--- FIXED --->
2--------------------------------------------------------------------------------------------
3./src/sys/tests/linter/testValidFunctionDocStrings.c:34:6: error: Invalid comment begin line, must only contain '/*' and sowing identifier [-fdoc-sowing-chars]:
4  32: }
5  33:
6> 34: /*@C Lorem ipsum dolor sit amet
7           ^^^^^^^^^^^^^^^^^^^^^^^^^^
8  35:   someOtherFunctionName - Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do
9  36:   eiusmod tempor incididunt ut labore et dolore magna aliqua. Excepteur sint occaecat cupidatat
10
11./src/sys/tests/linter/testValidFunctionDocStrings.c:76:1: error: Invalid line-spacing between docstring and the symbol it describes. The docstring must appear immediately above its target [-fdoc-symbol-spacing]:
12  74: testIllFormedFunctionDocString(), `testNonExistentFunction()`, testIllFormedMinimalDocString()
13  75: @*/
14> 76:
15  77: PetscErrorCode testIllFormedFunctionDocString(PetscViewer viewer, PetscInt x, PetscScalar *y, PetscBool cond)
16  78: {
17
18./src/sys/tests/linter/testValidFunctionDocStrings.c:44:1: error: Invalid indentation (3), all regular (non-empty, non-parameter, non-seealso) text must be indented to 2 columns [-fdoc-indentation]:
19  42:   Not Collective, Synchronous
20  43:
21> 44:    Input Parameters:
22      ^^^
23  45: + viewer - a PetscViewer
24  46:
25
26./src/sys/tests/linter/testValidFunctionDocStrings.c:45:1: error: Solitary parameter list entry must start with '.' [-fdoc-param-list-prefix]:
27  43:
28  44:    Input Parameters:
29> 45: + viewer - a PetscViewer
30      ^
31  46:
32  47:   Output Parameter:
33
34./src/sys/tests/linter/testValidFunctionDocStrings.c:48:1: error: First multi parameter list entry must start with '+' [-fdoc-param-list-prefix]:
35  46:
36  47:   Output Parameter:
37> 48: - y          - a pointer
38      ^
39  49: + cnd           - a boolean
40  50: . z - a nonexistent parameter
41
42./src/sys/tests/linter/testValidFunctionDocStrings.c:49:1: error: Multi parameter list entry must start with '.' [-fdoc-param-list-prefix]:
43  47:   Output Parameter:
44  48: - y          - a pointer
45> 49: + cnd           - a boolean
46      ^
47  50: . z - a nonexistent parameter
48  51:
49
50./src/sys/tests/linter/testValidFunctionDocStrings.c:50:1: error: Last multi parameter list entry must start with '-' [-fdoc-param-list-prefix]:
51  48: - y          - a pointer
52  49: + cnd           - a boolean
53> 50: . z - a nonexistent parameter
54      ^
55  51:
56  52:   level: Lorem ipsum dolor sit amet
57
58./src/sys/tests/linter/testValidFunctionDocStrings.c:48:5: error: Description 'a pointer' must be aligned to 1 space from longest (valid) argument 'y' [-fdoc-param-list-alignment]:
59  46:
60  47:   Output Parameter:
61> 48: - y          - a pointer
62          ^^^^^^^^^^^^^^^^^^^^
63  49: + cnd           - a boolean
64  50: . z - a nonexistent parameter
65
66./src/sys/tests/linter/testValidFunctionDocStrings.c:50:3: error: Extra docstring parameter 'z' not found in symbol parameter list [-fdoc-param-list-func-parameter-documentation]:
67  48: - y          - a pointer
68  49: + cnd           - a boolean
69> 50: . z - a nonexistent parameter
70        ^
71  51:
72  52:   level: Lorem ipsum dolor sit amet
73
74./src/sys/tests/linter/testValidFunctionDocStrings.c:77:67 Note: Maybe you meant 'x' of type 'PetscInt' (a.k.a. 'int')
75  75: @*/
76  76:
77> 77: PetscErrorCode testIllFormedFunctionDocString(PetscViewer viewer, PetscInt x, PetscScalar *y, PetscBool cond)
78                                                                        ^^^^^^^^^^
79  78: {
80  79:   return 0;
81
82./src/sys/tests/linter/testValidFunctionDocStrings.c:52:3: error: Invalid header spelling. Expected 'Level' found 'level' [-fdoc-section-header-spelling]:
83  50: . z - a nonexistent parameter
84  51:
85> 52:   level: Lorem ipsum dolor sit amet
86        ^^^^^
87  53:
88  54:   Level:
89
90./src/sys/tests/linter/testValidFunctionDocStrings.c:55:3: error: Level subheading must be lowercase, expected 'beginner' found 'Beginner' [-fdoc-inline-list-level-casefold]:
91  53:
92  54: Level:
93> 55: Beginner
94      ^^^^^^^^
95  56:
96  57: Developer Notes:
97
98./src/sys/tests/linter/testValidFunctionDocStrings.c:73:11: error: seealso values must be (1) space away from colon not (50) [-fdoc-inline-list-formatting]:
99  71:   References: Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
100  72:
101> 73: .seealso:                                                  testNonExistentFunction(), testNonExistentType,
102                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
103  74: testIllFormedFunctionDocString(), `testNonExistentFunction()`, testIllFormedMinimalDocString()
104  75: @*/
105
106./src/sys/tests/linter/testValidFunctionDocStrings.c:74:1: error: Found self-referential seealso entry 'testIllFormedFunctionDocString()'; your documentation may be good but it's not *that* good [-fdoc-inline-list-seealso-self-reference]:
107  72:
108  73: .seealso:                                                  testNonExistentFunction(), testNonExistentType,
109> 74: testIllFormedFunctionDocString(), `testNonExistentFunction()`, testIllFormedMinimalDocString()
110      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
111  75: @*/
112  76:
113
114./src/sys/tests/linter/testValidFunctionDocStrings.c:73:60: error: seealso symbol 'testNonExistentFunction()' not enclosed with '`' [-fdoc-inline-list-seealso-backticks]:
115  71:   References: Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
116  72:
117> 73: .seealso:                                                  testNonExistentFunction(), testNonExistentType,
118                                                                 ^^^^^^^^^^^^^^^^^^^^^^^^^
119  74: testIllFormedFunctionDocString(), `testNonExistentFunction()`, testIllFormedMinimalDocString()
120  75: @*/
121
122./src/sys/tests/linter/testValidFunctionDocStrings.c:73:87: error: seealso symbol 'testNonExistentType' not enclosed with '`' [-fdoc-inline-list-seealso-backticks]:
123  71:   References: Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
124  72:
125> 73: .seealso:                                                  testNonExistentFunction(), testNonExistentType,
126                                                                                            ^^^^^^^^^^^^^^^^^^^
127  74: testIllFormedFunctionDocString(), `testNonExistentFunction()`, testIllFormedMinimalDocString()
128  75: @*/
129
130./src/sys/tests/linter/testValidFunctionDocStrings.c:74:64: error: seealso symbol 'testIllFormedMinimalDocString()' not enclosed with '`' [-fdoc-inline-list-seealso-backticks]:
131  72:
132  73: .seealso:                                                  testNonExistentFunction(), testNonExistentType,
133> 74: testIllFormedFunctionDocString(), `testNonExistentFunction()`, testIllFormedMinimalDocString()
134                                                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
135  75: @*/
136  76:
137./src/sys/tests/linter/testValidFunctionDocStrings.c:93:1: error: Invalid indentation (3), all regular (non-empty, non-parameter, non-seealso) text must be indented to 2 columns [-fdoc-indentation]:
138  91:   References:
139  92:   Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
140> 93:    .seealso: testNonExistentFunction(), testNonExistentType,`testNonExistentFunction()
141      ^^^
142  94: */
143  95: PetscErrorCode testIllFormedMinimalDocString(void)
144
145./src/sys/tests/linter/testValidFunctionDocStrings.c:93:1: error: Missing empty line between sections, must have one before this section [-fdoc-section-spacing]:
146  91:   References:
147  92:   Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
148> 93:    .seealso: testNonExistentFunction(), testNonExistentType,`testNonExistentFunction()
149  94: */
150  95: PetscErrorCode testIllFormedMinimalDocString(void)
151
152./src/sys/tests/linter/testValidFunctionDocStrings.c:85:1: error: Found parameter docstring(s) but 'testIllFormedMinimalDocString()' has no parameters [-fdoc-param-list-func-parameter-documentation]:
153  83:   Not Collective, Synchronous
154  84:
155> 85:   input parms:
156> 86: . foo
157> 87:
158> 88:   Output params:
159> 89: + bar -
160> 90:
161  91:   References:
162  92:   Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
163
164./src/sys/tests/linter/testValidFunctionDocStrings.c:95:1 Note: 'testIllFormedMinimalDocString()' defined here:
165  93:    .seealso: testNonExistentFunction(), testNonExistentType,`testNonExistentFunction()
166  94: */
167> 95: PetscErrorCode testIllFormedMinimalDocString(void)
168      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
169  96: {
170  97:   return 0;
171
172./src/sys/tests/linter/testValidFunctionDocStrings.c:93:14: error: seealso symbol 'testNonExistentFunction()' not enclosed with '`' [-fdoc-inline-list-seealso-backticks]:
173  91:   References:
174  92:   Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
175> 93:    .seealso: testNonExistentFunction(), testNonExistentType,`testNonExistentFunction()
176                   ^^^^^^^^^^^^^^^^^^^^^^^^^
177  94: */
178  95: PetscErrorCode testIllFormedMinimalDocString(void)
179
180./src/sys/tests/linter/testValidFunctionDocStrings.c:93:41: error: seealso symbol 'testNonExistentType' not enclosed with '`' [-fdoc-inline-list-seealso-backticks]:
181  91:   References:
182  92:   Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
183> 93:    .seealso: testNonExistentFunction(), testNonExistentType,`testNonExistentFunction()
184                                              ^^^^^^^^^^^^^^^^^^^
185  94: */
186  95: PetscErrorCode testIllFormedMinimalDocString(void)
187
188./src/sys/tests/linter/testValidFunctionDocStrings.c:93:61: error: seealso symbol '`testNonExistentFunction()' not enclosed with '`' [-fdoc-inline-list-seealso-backticks]:
189  91:   References:
190  92:   Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
191> 93:    .seealso: testNonExistentFunction(), testNonExistentType,`testNonExistentFunction()
192                                                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^
193  94: */
194  95: PetscErrorCode testIllFormedMinimalDocString(void)
195./src/sys/tests/linter/testValidFunctionDocStrings.c:114:1: error: Missing empty line between sections, must have one before this section [-fdoc-section-spacing]:
196  112: - -option_a     - foo
197  113: - -option_b [filename][:[~]<foo,bar,baz>[:[~]bop]] - descr
198> 114:   lvl: itnmediate
199  115:
200  116: .zeeakso:
201
202./src/sys/tests/linter/testValidFunctionDocStrings.c:101:3: error: Docstring name 'testTerbleSpelingDocstring' does not match symbol. Assuming you meant 'testTerribleSpellingDocString' [-fdoc-synopsis-matching-symbol-name]:
203  99 :
204  100: /*@C
205> 101:   testTerbleSpelingDocstring - Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do
206         ^^^^^^^^^^^^^^^^^^^^^^^^^^
207  102:   eiusmod tempor incididunt ut labore et dolore magna aliqua.
208  103:
209
210./src/sys/tests/linter/testValidFunctionDocStrings.c:104:3: error: Unknown section header 'input prametirs', assuming you meant 'Input Parameter' [-fdoc-section-header-spelling]:
211  102:   eiusmod tempor incididunt ut labore et dolore magna aliqua.
212  103:
213> 104:   input prametirs:
214         ^^^^^^^^^^^^^^^
215  105: + viewer - a PetsViewer
216  106: - x - a PetscInt
217
218./src/sys/tests/linter/testValidFunctionDocStrings.c:108:3: error: Unknown section header 'output Psrammmetrs', assuming you meant 'Output Parameter' [-fdoc-section-header-spelling]:
219  106: - x - a PetscInt
220  107:
221> 108:   output Psrammmetrs:
222         ^^^^^^^^^^^^^^^^^^
223  109: . y - a PetscScalar pointer
224  110:
225
226./src/sys/tests/linter/testValidFunctionDocStrings.c:106:5: error: Description 'a PetscInt' must be aligned to 1 space from longest (valid) argument 'viewer' [-fdoc-param-list-alignment]:
227  104:   input prametirs:
228  105: + viewer - a PetsViewer
229> 106: - x - a PetscInt
230           ^^^^^^^^^^^^
231  107:
232  108:   output Psrammmetrs:
233
234./src/sys/tests/linter/testValidFunctionDocStrings.c:111:3: error: Unknown section header 'optnS dtaaSE', assuming you meant 'Options Database' [-fdoc-section-header-spelling]:
235  109: . y - a PetscScalar pointer
236  110:
237> 111:   optnS dtaaSE:
238         ^^^^^^^^^^^^
239  112: - -option_a     - foo
240  113: - -option_b [filename][:[~]<foo,bar,baz>[:[~]bop]] - descr
241
242./src/sys/tests/linter/testValidFunctionDocStrings.c:112:1: error: First multi parameter list entry must start with '+' [-fdoc-param-list-prefix]:
243  110:
244  111:   optnS dtaaSE:
245> 112: - -option_a     - foo
246       ^
247  113: - -option_b [filename][:[~]<foo,bar,baz>[:[~]bop]] - descr
248  114:   lvl: itnmediate
249
250./src/sys/tests/linter/testValidFunctionDocStrings.c:112:17: error: Description 'foo' must be aligned to 1 space from longest (valid) argument '-option_b [filename][:[~]<foo,bar,baz>[:[~]bop]]' [-fdoc-param-list-alignment]:
251  110:
252  111:   optnS dtaaSE:
253> 112: - -option_a     - foo
254                       ^^^^^
255  113: - -option_b [filename][:[~]<foo,bar,baz>[:[~]bop]] - descr
256  114:   lvl: itnmediate
257
258./src/sys/tests/linter/testValidFunctionDocStrings.c:114:3: error: Unknown section header 'lvl', assuming you meant 'Level' [-fdoc-section-header-spelling]:
259  112: - -option_a     - foo
260  113: - -option_b [filename][:[~]<foo,bar,baz>[:[~]bop]] - descr
261> 114:   lvl: itnmediate
262         ^^^
263  115:
264  116: .zeeakso:
265
266./src/sys/tests/linter/testValidFunctionDocStrings.c:114:8: error: Unknown Level subheading 'itnmediate', assuming you meant 'intermediate' [-fdoc-inline-list-level-spelling]:
267  112: - -option_a     - foo
268  113: - -option_b [filename][:[~]<foo,bar,baz>[:[~]bop]] - descr
269> 114:   lvl: itnmediate
270              ^^^^^^^^^^
271  115:
272  116: .zeeakso:
273
274./src/sys/tests/linter/testValidFunctionDocStrings.c:116:1: error: Unknown section header '.zeeakso', assuming you meant '.seealso' [-fdoc-section-header-spelling]:
275  114:   lvl: itnmediate
276  115:
277> 116: .zeeakso:
278       ^^^^^^^^
279  117: C@*/
280  118: PetscErrorCode testTerribleSpellingDocString(PetscViewer viewer, PetscInt x, PetscScalar *y)
281./src/sys/tests/linter/testValidFunctionDocStrings.c:123:5: error: Invalid comment begin line, must only contain '/*' and sowing identifier [-fdoc-sowing-chars]:
282  121: }
283  122:
284> 123: /*@ asdadsadasdas
285           ^^^^^^^^^^^^^
286  124:   testCustomFortranInterfaceDocString - Lorem ipsum dolor sit amet, consectetur adipiscing elit
287  125:
288
289./src/sys/tests/linter/testValidFunctionDocStrings.c:123:3: error: Function requires custom fortran interface but missing 'C' from docstring header [-fdoc-param-list-func-fortran-interface]:
290  121: }
291  122:
292> 123: /*@ asdadsadasdas
293         ^
294  124:   testCustomFortranInterfaceDocString - Lorem ipsum dolor sit amet, consectetur adipiscing elit
295  125:
296
297./src/sys/tests/linter/testValidFunctionDocStrings.c:134:52 Note: due to char pointer 'string' of type 'char *******'
298  133: @*/
299> 134: PetscErrorCode testCustomFortranInterfaceDocString(char *******string, PetscErrorCode (*function_ptr)(PetscInt))
300                                                          ^^^^^^^^^^^^^^^^^^
301  135: {
302
303./src/sys/tests/linter/testValidFunctionDocStrings.c:134:72 Note: due to function pointer 'function_ptr' of type 'PetscErrorCode (*)(PetscInt)' (a.k.a. 'int (*)(int)')
304  133: @*/
305> 134: PetscErrorCode testCustomFortranInterfaceDocString(char *******string, PetscErrorCode (*function_ptr)(PetscInt))
306                                                                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
307  135: {
308
309./src/sys/tests/linter/testValidFunctionDocStrings.c:127:10: error: Description 'a char pointer' must be aligned to 1 space from longest (valid) argument 'function_ptr' [-fdoc-param-list-alignment]:
310  125:
311  126:   Input Parameters:
312> 127: + string -  a char pointer
313                ^^^^^^^^^^^^^^^^^
314  128: - function_ptr - a function pointer
315  129:
316
317./src/sys/tests/linter/testValidFunctionDocStrings.c:132:11: error: seealso symbol 'Lorem()' not enclosed with '`' [-fdoc-inline-list-seealso-backticks]:
318  130:   Level:
319  131:
320> 132: .seealso: Lorem(), `ipsum()`, dolor(), `sit(), `amet()`, consectetur(), adipiscing(), elit()`
321                 ^^^^^^^
322  133: @*/
323  134: PetscErrorCode testCustomFortranInterfaceDocString(char *******string, PetscErrorCode (*function_ptr)(PetscInt))
324
325./src/sys/tests/linter/testValidFunctionDocStrings.c:132:31: error: seealso symbol 'dolor()' not enclosed with '`' [-fdoc-inline-list-seealso-backticks]:
326  130:   Level:
327  131:
328> 132: .seealso: Lorem(), `ipsum()`, dolor(), `sit(), `amet()`, consectetur(), adipiscing(), elit()`
329                                     ^^^^^^^
330  133: @*/
331  134: PetscErrorCode testCustomFortranInterfaceDocString(char *******string, PetscErrorCode (*function_ptr)(PetscInt))
332
333./src/sys/tests/linter/testValidFunctionDocStrings.c:132:40: error: seealso symbol '`sit()' not enclosed with '`' [-fdoc-inline-list-seealso-backticks]:
334  130:   Level:
335  131:
336> 132: .seealso: Lorem(), `ipsum()`, dolor(), `sit(), `amet()`, consectetur(), adipiscing(), elit()`
337                                              ^^^^^^
338  133: @*/
339  134: PetscErrorCode testCustomFortranInterfaceDocString(char *******string, PetscErrorCode (*function_ptr)(PetscInt))
340
341./src/sys/tests/linter/testValidFunctionDocStrings.c:132:58: error: seealso symbol 'consectetur()' not enclosed with '`' [-fdoc-inline-list-seealso-backticks]:
342  130:   Level:
343  131:
344> 132: .seealso: Lorem(), `ipsum()`, dolor(), `sit(), `amet()`, consectetur(), adipiscing(), elit()`
345                                                                ^^^^^^^^^^^^^
346  133: @*/
347  134: PetscErrorCode testCustomFortranInterfaceDocString(char *******string, PetscErrorCode (*function_ptr)(PetscInt))
348
349./src/sys/tests/linter/testValidFunctionDocStrings.c:132:73: error: seealso symbol 'adipiscing()' not enclosed with '`' [-fdoc-inline-list-seealso-backticks]:
350  130:   Level:
351  131:
352> 132: .seealso: Lorem(), `ipsum()`, dolor(), `sit(), `amet()`, consectetur(), adipiscing(), elit()`
353                                                                               ^^^^^^^^^^^^
354  133: @*/
355  134: PetscErrorCode testCustomFortranInterfaceDocString(char *******string, PetscErrorCode (*function_ptr)(PetscInt))
356
357./src/sys/tests/linter/testValidFunctionDocStrings.c:132:87: error: seealso symbol 'elit()`' not enclosed with '`' [-fdoc-inline-list-seealso-backticks]:
358  130:   Level:
359  131:
360> 132: .seealso: Lorem(), `ipsum()`, dolor(), `sit(), `amet()`, consectetur(), adipiscing(), elit()`
361                                                                                             ^^^^^^^
362  133: @*/
363  134: PetscErrorCode testCustomFortranInterfaceDocString(char *******string, PetscErrorCode (*function_ptr)(PetscInt))
364./src/sys/tests/linter/testValidFunctionDocStrings.c:171:10: error: Unknown Level subheading 'beginner developer', assuming you meant 'developer' [-fdoc-inline-list-level-spelling]:
365  169: testAllParamsUndocumented - lorem
366  170:
367> 171: Level: beginner developer
368              ^^^^^^^^^^^^^^^^^^
369  172:
370  173: Example Usage:
371./src/sys/tests/linter/testValidFunctionDocStrings.c:190:3: error: Invalid header spelling. Expected 'Input Parameters' found 'Input parameters' [-fdoc-section-header-spelling]:
372  188:   testParameterGrouping ipsum
373  189:
374> 190:   Input parameters:
375         ^^^^^^^^^^^^^^^^
376  191: - a,b - some params
377  192: + nonExistentParam - this param does not exist
378
379./src/sys/tests/linter/testValidFunctionDocStrings.c:191:1: error: First multi parameter list entry must start with '+' [-fdoc-param-list-prefix]:
380  189:
381  190:   Input parameters:
382> 191: - a,b - some params
383       ^
384  192: + nonExistentParam - this param does not exist
385  193: . ... - variadic arguments
386
387./src/sys/tests/linter/testValidFunctionDocStrings.c:192:1: error: Multi parameter list entry must start with '.' [-fdoc-param-list-prefix]:
388  190:   Input parameters:
389  191: - a,b - some params
390> 192: + nonExistentParam - this param does not exist
391       ^
392  193: . ... - variadic arguments
393  194:
394
395./src/sys/tests/linter/testValidFunctionDocStrings.c:193:1: error: Last multi parameter list entry must start with '-' [-fdoc-param-list-prefix]:
396  191: - a,b - some params
397  192: + nonExistentParam - this param does not exist
398> 193: . ... - variadic arguments
399       ^
400  194:
401  195:   Level dev
402
403./src/sys/tests/linter/testValidFunctionDocStrings.c:197:1: error: Unknown section header '.see also', assuming you meant '.seealso' [-fdoc-section-header-spelling]:
404  195:   Level dev
405  196:
406> 197: .see also: testStaticFunction()
407       ^^^^^^^^^
408  198: @*/
409  199: PetscErrorCode testParameterGrouping(PetscInt a, PetscInt b, ...)
410
411./src/sys/tests/linter/testValidFunctionDocStrings.c:197:12: error: seealso symbol 'testStaticFunction()' not enclosed with '`' [-fdoc-inline-list-seealso-backticks]:
412  195:   Level dev
413  196:
414> 197: .see also: testStaticFunction()
415                  ^^^^^^^^^^^^^^^^^^^^
416  198: @*/
417  199: PetscErrorCode testParameterGrouping(PetscInt a, PetscInt b, ...)
418./src/sys/tests/linter/testValidFunctionDocStrings.c:212:8: error: Description 'a beta' must be aligned to 1 space from longest (valid) argument 'alpha' [-fdoc-param-list-alignment]:
419  210:   int a_code_block;
420  211: .ve
421> 212: - beta - a beta
422              ^^^^^^^^
423  213:
424  214:   Level: beginner
425./src/sys/tests/linter/testValidFunctionDocStrings.c:227:8: error: Description 'an alpha' must be aligned to 1 space from longest (valid) argument 'alpha' [-fdoc-param-list-alignment]:
426  225:
427  226:   Input Parameters:
428> 227: + alpha, an alpha
429              ^^^^^^^^^^
430  228: - beta = a beta
431  229:
432
433./src/sys/tests/linter/testValidFunctionDocStrings.c:228:8: error: Description 'a beta' must be aligned to 1 space from longest (valid) argument 'alpha' [-fdoc-param-list-alignment]:
434  226:   Input Parameters:
435  227: + alpha, an alpha
436> 228: - beta = a beta
437              ^^^^^^^^
438  229:
439  230:   Level: beginner
440
441./src/sys/tests/linter/testValidFunctionDocStrings.c:232:11: error: seealso symbol 'Foo()' not enclosed with '`' [-fdoc-inline-list-seealso-backticks]:
442  230:   Level: beginner
443  231:
444> 232: .seealso: Foo()
445                 ^^^^^
446  233: @*/
447  234: PetscErrorCode testBadParamListDescrSep(PetscInt alpha, PetscInt beta)
448./src/sys/tests/linter/testValidFunctionDocStrings.c:249:11: error: seealso symbol '`Foo()' not enclosed with '`' [-fdoc-inline-list-seealso-backticks]:
449  247:   Level: beginner
450  248:
451> 249: .seealso: `Foo()
452                 ^^^^^^
453  250: @*/
454  251: PetscErrorCode testBadMidSentenceColons(void)
455./src/sys/tests/linter/testValidFunctionDocStrings.c:283:9: error: Description 'a baz' must be aligned to 1 space from longest (valid) argument 'baz' [-fdoc-param-list-alignment]:
456  281:
457  282:   Output Parameter:
458> 283: . baz -                 a baz
459               ^^^^^^^^^^^^^^^^^^^^^
460  284:
461  285:   Level: beginner
462./src/sys/tests/linter/testValidFunctionDocStrings.c:301:1: error: Invalid docstring identifier, contains unexpected char sequence 'C', expected '/*@C'. It appears you forgot to prepend '@'? [-fdoc-sowing-chars]:
463  299: }
464  300:
465> 301: /*C testBadDocStringMissingChar - asdadsasd
466       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
467  302:
468  303:   Input Parameter:
469
470./src/sys/tests/linter/testValidFunctionDocStrings.c:301:5: error: Invalid comment begin line, must only contain '/*' and sowing identifier [-fdoc-sowing-chars]:
471  299: }
472  300:
473> 301: /*C testBadDocStringMissingChar - asdadsasd
474           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
475  302:
476  303:   Input Parameter:
477./src/sys/tests/linter/testValidFunctionDocStrings.c:352:3: error: Unknown section header 'Input parm', assuming you meant 'Input Parameter' [-fdoc-section-header-spelling]:
478  350:   testSingleFunctionArgNotFound - asdasdasdasd
479  351:
480> 352:   Input parm:
481         ^^^^^^^^^^
482  353: + unrelated - A function arg
483  354:
484
485./src/sys/tests/linter/testValidFunctionDocStrings.c:353:1: error: Solitary parameter list entry must start with '.' [-fdoc-param-list-prefix]:
486  351:
487  352:   Input parm:
488> 353: + unrelated - A function arg
489       ^
490  354:
491  355:   lvel: dev
492
493./src/sys/tests/linter/testValidFunctionDocStrings.c:353:3: error: Extra docstring parameter 'unrelated' not found in symbol parameter list [-fdoc-param-list-func-parameter-documentation]:
494  351:
495  352:   Input parm:
496> 353: + unrelated - A function arg
497         ^^^^^^^^^
498  354:
499  355:   lvel: dev
500
501./src/sys/tests/linter/testValidFunctionDocStrings.c:360:46 Note: Maybe you meant 'some_function_arg' of type 'PetscScalar' (a.k.a. 'double')
502  358:
503  359: @*/
504> 360: PetscErrorCode testSingleFunctionArgNotFound(PetscScalar some_function_arg)
505                                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
506  361: {
507  362:   return 0;
508
509./src/sys/tests/linter/testValidFunctionDocStrings.c:355:3: error: Unknown section header 'lvel', assuming you meant 'Level' [-fdoc-section-header-spelling]:
510  353: + unrelated - A function arg
511  354:
512> 355:   lvel: dev
513         ^^^^
514  356:
515  357: .seealso: `testBadDocString()
516
517./src/sys/tests/linter/testValidFunctionDocStrings.c:357:11: error: seealso symbol '`testBadDocString()' not enclosed with '`' [-fdoc-inline-list-seealso-backticks]:
518  355:   lvel: dev
519  356:
520> 357: .seealso: `testBadDocString()
521                 ^^^^^^^^^^^^^^^^^^^
522  358:
523  359: @*/
524./src/sys/tests/linter/testValidFunctionDocStrings.c:380:1: error: Invalid line-spacing between docstring and the symbol it describes. The docstring must appear immediately above its target [-fdoc-symbol-spacing]:
525  378: .seealso: testPredeclarationCursorIgnored()`
526  379: */
527> 380:
528  381: PetscErrorCode testPredeclarationCursorIgnored(int arg, int *another_arg)
529  382: {
530
531./src/sys/tests/linter/testValidFunctionDocStrings.c:370:3: error: Unknown section header 'Inp Paramet', assuming you meant 'Input Parameter' [-fdoc-section-header-spelling]:
532  368:   testPredeclarationCursorIgnored - the cursor above this will be ignored!
533  369:
534> 370:   Inp Paramet:
535         ^^^^^^^^^^^
536  371: . asdasd - an arg
537  372:
538
539./src/sys/tests/linter/testValidFunctionDocStrings.c:373:3: error: Unknown section header 'Ouput Pameter', assuming you meant 'Output Parameter' [-fdoc-section-header-spelling]:
540  371: . asdasd - an arg
541  372:
542> 373:   Ouput Pameter:
543         ^^^^^^^^^^^^^
544  374: . another_arg_asd22 - another arg
545  375:
546
547./src/sys/tests/linter/testValidFunctionDocStrings.c:378:11: error: seealso symbol 'testPredeclarationCursorIgnored()`' not enclosed with '`' [-fdoc-inline-list-seealso-backticks]:
548  376:   Level: beg
549  377:
550> 378: .seealso: testPredeclarationCursorIgnored()`
551                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
552  379: */
553  380:
554./src/sys/tests/linter/testValidFunctionDocStrings.c:386:3: error: Function requires custom fortran interface but missing 'C' from docstring header [-fdoc-param-list-func-fortran-interface]:
555  384: }
556  385:
557> 386: /*@
558         ^
559  387:   testFunctionPointerArguments - the first set of arguments are unnamed and should be errored
560  388:
561
562./src/sys/tests/linter/testValidFunctionDocStrings.c:419:45 Note: due to function pointer 'foo' of type 'int (*)(int, double, float)'
563  418: */
564> 419: PetscErrorCode testFunctionPointerArguments(int (*foo)(int, double, float), int (*bar)(int bar_parm1, double bar_parm2, float bar_parm3), void (*baz)(int (*bop)(void), void (*blitz)(void (*)(void)), int baz_parm1, double baz_parm2, float baz_parm3))
565                                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
566  420: {
567
568./src/sys/tests/linter/testValidFunctionDocStrings.c:419:77 Note: due to function pointer 'bar' of type 'int (*)(int, double, float)'
569  418: */
570> 419: PetscErrorCode testFunctionPointerArguments(int (*foo)(int, double, float), int (*bar)(int bar_parm1, double bar_parm2, float bar_parm3), void (*baz)(int (*bop)(void), void (*blitz)(void (*)(void)), int baz_parm1, double baz_parm2, float baz_parm3))
571                                                                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
572  420: {
573
574./src/sys/tests/linter/testValidFunctionDocStrings.c:419:139 Note: due to function pointer 'baz' of type 'void (*)(int (*)(), void (*)(void (*)()), int, double, float)'
575  418: */
576> 419: PetscErrorCode testFunctionPointerArguments(int (*foo)(int, double, float), int (*bar)(int bar_parm1, double bar_parm2, float bar_parm3), void (*baz)(int (*bop)(void), void (*blitz)(void (*)(void)), int baz_parm1, double baz_parm2, float baz_parm3))
577                                                                                                                                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
578  420: {
579./src/sys/tests/linter/testValidFunctionDocStrings.c:439:1: error: Found parameter docstring(s) but 'testIllFormedDeprecated()' has no parameters [-fdoc-param-list-func-parameter-documentation]:
580  437:   testIllFormedDeprecated - check that deprecated (since VERSION) works
581  438:
582> 439:   Input Parameters:
583> 440: + foo - a nonexistent foo
584> 441: . bar - a nonexistent bar
585> 442: - baz - a nonexistent baz
586> 443:
587  444:   Level: dpcrtd (since 3.18.5)
588  445:
589
590./src/sys/tests/linter/testValidFunctionDocStrings.c:448:1 Note: 'testIllFormedDeprecated()' defined here:
591  446: .seealso: [](ch_matrices), `testDeprecated()`, [Matrix Factorization](sec_matfactor)
592  447: */
593> 448: PetscErrorCode testIllFormedDeprecated(void)
594       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
595  449: {
596  450:   return PETSC_SUCCESS;
597
598./src/sys/tests/linter/testValidFunctionDocStrings.c:444:10: error: Unknown Level subheading 'dpcrtd', assuming you meant 'deprecated' [-fdoc-inline-list-level-spelling]:
599  442: - baz - a nonexistent baz
600  443:
601> 444:   Level: dpcrtd (since 3.18.5)
602                ^^^^^^
603  445:
604  446: .seealso: [](ch_matrices), `testDeprecated()`, [Matrix Factorization](sec_matfactor)
605./src/sys/tests/linter/testValidFunctionDocStrings.c:476:1: error: Multi parameter list entry must start with '.' [-fdoc-param-list-prefix]:
606  474:   Input Parameter:
607  475: + foo - the input description for an in-out param
608> 476: + baz - asdasdasd
609       ^
610  477: - foo              - a duplicate description
611  478:
612
613./src/sys/tests/linter/testValidFunctionDocStrings.c:480:1: error: First multi parameter list entry must start with '+' [-fdoc-param-list-prefix]:
614  478:
615  479:   Output Parameters:
616> 480: . bop = asdas
617       ^
618  481: - foo    - the output description for an in-out param
619  482: - foo - a duplicate description2
620
621./src/sys/tests/linter/testValidFunctionDocStrings.c:481:1: error: Multi parameter list entry must start with '.' [-fdoc-param-list-prefix]:
622  479:   Output Parameters:
623  480: . bop = asdas
624> 481: - foo    - the output description for an in-out param
625       ^
626  482: - foo - a duplicate description2
627  483:
628
629./src/sys/tests/linter/testValidFunctionDocStrings.c:477:7: error: Description 'a duplicate description' must be aligned to 1 space from longest (valid) argument 'foo' [-fdoc-param-list-alignment]:
630  475: + foo - the input description for an in-out param
631  476: + baz - asdasdasd
632> 477: - foo              - a duplicate description
633             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
634  478:
635  479:   Output Parameters:
636--------------------------------------------------------------------------------------------
637<--- LEFT --->
638--------------------------------------------------------------------------------------------
639./src/sys/tests/linter/testValidFunctionDocStrings.c:60:61: error: Sowing treats all lines ending with ':' as header, are you sure 'qui officia deserunt mollit [...]' qualifies? Use '\:' to escape the colon if not [-fdoc-section-header-fishy-header]:
640  58: Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut
641  59: labore et dolore magna aliqua. Excepteur sint occaecat cupidatat non proident, sunt in culpa
642> 60: qui officia deserunt mollit anim id est laborum as follows:
643                                                                ^
644  61:
645  62: Notes Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor
646
647./src/sys/tests/linter/testValidFunctionDocStrings.c:62:3: error: Line seems to be a section header but missing ':', did you mean 'Notes:'? [-fdoc-section-header-maybe-header]:
648  60: qui officia deserunt mollit anim id est laborum as follows:
649  61:
650> 62: Notes Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor
651      ^^^^^
652  63: incididunt ut labore et dolore magna aliqua. Excepteur sint occaecat cupidatat non proident,
653  64: sunt in culpa qui officia deserunt mollit anim id est laborum example.
654
655./src/sys/tests/linter/testValidFunctionDocStrings.c:69:59: error: Sowing treats all lines ending with ':' as header, are you sure 'qui officia deserunt mollit [...]' qualifies? Use '\:' to escape the colon if not [-fdoc-section-header-fishy-header]:
656  67: Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut
657  68: labore et dolore magna aliqua. Excepteur sint occaecat cupidatat non proident, sunt in culpa
658> 69: qui officia deserunt mollit anim id est laborum instance:
659                                                              ^
660  70:
661  71: References: Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
662
663./src/sys/tests/linter/testValidFunctionDocStrings.c:35:3: error: Docstring name 'someOtherFunctionName' does not match symbol name 'testIllFormedFunctionDocString' [-fdoc-synopsis-matching-symbol-name]:
664  33:
665  34: /*@C Lorem ipsum dolor sit amet
666> 35:   someOtherFunctionName - Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do
667        ^^^^^^^^^^^^^^^^^^^^^
668  36:   eiusmod tempor incididunt ut labore et dolore magna aliqua. Excepteur sint occaecat cupidatat
669  37:   non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. Sed ut
670
671./src/sys/tests/linter/testValidFunctionDocStrings.c:35:1: error: Synopsis for 'testIllFormedFunctionDocString' is too long (must be at most 250 characters or 40 words), consider moving it to Notes. If you can't explain it simply, then you don't understand it well enough! [-fdoc-synopsis-verbose-description]:
672  33:
673  34: /*@C Lorem ipsum dolor sit amet
674> 35:   someOtherFunctionName - Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do
675> 36:   eiusmod tempor incididunt ut labore et dolore magna aliqua. Excepteur sint occaecat cupidatat
676> 37:   non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. Sed ut
677> 38:   perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium,
678> 39:   totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae
679> 40:   vitae dicta sunt explicabo.
680> 41:
681> 42:   Not Collective, Synchronous
682> 43:
683  44:    Input Parameters:
684  45: + viewer - a PetscViewer
685
686./src/sys/tests/linter/testValidFunctionDocStrings.c:49:3: error: Extra docstring parameter 'cnd' not found in symbol parameter list [-fdoc-param-list-func-parameter-documentation]:
687  47:   Output Parameter:
688  48: - y          - a pointer
689> 49: + cnd           - a boolean
690        ^^^
691  50: . z - a nonexistent parameter
692  51:
693
694./src/sys/tests/linter/testValidFunctionDocStrings.c:77:95 Note: Maybe you meant 'cond' of type 'PetscBool'
695  75: @*/
696  76:
697> 77: PetscErrorCode testIllFormedFunctionDocString(PetscViewer viewer, PetscInt x, PetscScalar *y, PetscBool cond)
698                                                                                                    ^^^^^^^^^^^^^^
699  78: {
700  79:   return 0;
701
702./src/sys/tests/linter/testValidFunctionDocStrings.c:62:8: error: Heading must appear alone on a line, any content must be on the next line [-fdoc-section-header-solitary]:
703  60: qui officia deserunt mollit anim id est laborum as follows:
704  61:
705> 62: Notes Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor
706           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
707  63: incididunt ut labore et dolore magna aliqua. Excepteur sint occaecat cupidatat non proident,
708  64: sunt in culpa qui officia deserunt mollit anim id est laborum example.
709
710./src/sys/tests/linter/testValidFunctionDocStrings.c:52:1: error: Multiple 'Level' subheadings. Much like Highlanders, there can only be one [-fdoc-section-header-unique]:
711  50: . z - a nonexistent parameter
712  51:
713> 52:   level: Lorem ipsum dolor sit amet
714        ^^^^^
715  53:
716> 54:   Level:
717        ^^^^^
718  55:   Beginner
719  56:
720
721./src/sys/tests/linter/testValidFunctionDocStrings.c:52:10: error: Unknown Level subheading 'Lorem ipsum dolor sit amet', expected one of beginner, intermediate, advanced, developer, or deprecated [-fdoc-inline-list-level-spelling]:
722  50: . z - a nonexistent parameter
723  51:
724> 52:   level: Lorem ipsum dolor sit amet
725               ^^^^^
726  53:
727  54:   Level:
728./src/sys/tests/linter/testValidFunctionDocStrings.c:82:1: error: Invalid comment begin line, does not contain sowing identifier. Expected '/*@' for functions [-fdoc-sowing-chars]:
729  80: }
730  81:
731> 82: /*
732      ^^
733  83:   Not Collective, Synchronous
734  84:
735
736./src/sys/tests/linter/testValidFunctionDocStrings.c:83:1: error: Docstring missing synopsis [-fdoc-synopsis-missing-description]:
737  81:
738  82: /*
739> 83:   Not Collective, Synchronous
740> 84:
741  85:   input parms:
742  86: . foo
743
744./src/sys/tests/linter/testValidFunctionDocStrings.c:83:1 Note: Expected 'testIllFormedMinimalDocString - a very useful description'
745
746./src/sys/tests/linter/testValidFunctionDocStrings.c:82:1: error: Required section 'Level' not found [-fdoc-section-header-missing]:
747  80: }
748  81:
749> 82: /*
750> 83:   Not Collective, Synchronous
751> 84:
752> 85:   input parms:
753> 86: . foo
754> 87:
755> 88:   Output params:
756> 89: + bar -
757> 90:
758> 91:   References:
759> 92:   Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
760> 93:    .seealso: testNonExistentFunction(), testNonExistentType,`testNonExistentFunction()
761> 94: */
762  95: PetscErrorCode testIllFormedMinimalDocString(void)
763  96: {
764./src/sys/tests/linter/testValidFunctionDocStrings.c:116:1: error: Section appears to be empty; while I'm all for a good mystery, you should probably elaborate here [-fdoc-section-barren]:
765  114:   lvl: itnmediate
766  115:
767> 116: .zeeakso:
768       ^^^^^^^^^
769  117: C@*/
770  118: PetscErrorCode testTerribleSpellingDocString(PetscViewer viewer, PetscInt x, PetscScalar *y)
771./src/sys/tests/linter/testValidFunctionDocStrings.c:130:1: error: Section appears to be empty; while I'm all for a good mystery, you should probably elaborate here [-fdoc-section-barren]:
772  128: - function_ptr - a function pointer
773  129:
774> 130:   Level:
775> 131:
776  132: .seealso: Lorem(), `ipsum()`, dolor(), `sit(), `amet()`, consectetur(), adipiscing(), elit()`
777  133: @*/
778./src/sys/tests/linter/testValidFunctionDocStrings.c:144:1: error: A sowing docstring for a symbol with internal linkage is pointless [-fdoc-internal-linkage]:
779  142: PETSC_INTERN PetscErrorCode testInternFunction();
780  143:
781> 144: /*@
782> 145:   testInternFunction - an internal function
783> 146:
784> 147:   Level: developer
785> 148:
786> 149: .seealso: function()
787> 150: @*/
788  151: PetscErrorCode testInternFunction()
789  152: {
790
791./src/sys/tests/linter/testValidFunctionDocStrings.c:142:1 Note: 'testInternFunction()' is declared 'PETSC_INTERN' here:
792  140: void function() { }
793  141:
794> 142: PETSC_INTERN PetscErrorCode testInternFunction();
795       ^^^^^^^^^^^^
796  143:
797  144: /*@
798
799./src/sys/tests/linter/testValidFunctionDocStrings.c:144:1 Note: If this docstring is meant as developer-only documentation, remove the sowing chars from the docstring declaration. The linter will then ignore this docstring.
800
801./src/sys/tests/linter/testValidFunctionDocStrings.c:144:3 Note: Sowing chars declared here:
802  142: PETSC_INTERN PetscErrorCode testInternFunction();
803  143:
804> 144: /*@
805         ^
806  145:   testInternFunction - an internal function
807  146:
808./src/sys/tests/linter/testValidFunctionDocStrings.c:156:1: error: A sowing docstring for a symbol with internal linkage is pointless [-fdoc-internal-linkage]:
809  154: }
810  155:
811> 156: /*@
812> 157:   testStaticFunction - an internal function
813> 158:
814> 159:   Level: developer
815> 160:
816> 161: .seealso: function()
817> 162: @*/
818  163: static PetscErrorCode testStaticFunction()
819  164: {
820
821./src/sys/tests/linter/testValidFunctionDocStrings.c:163:1 Note: 'testStaticFunction()' is declared 'STATIC' here:
822  161: .seealso: function()
823  162: @*/
824> 163: static PetscErrorCode testStaticFunction()
825       ^
826> 164: {
827> 165:   return 0;
828> 166: }
829  167:
830  168: /*@
831
832./src/sys/tests/linter/testValidFunctionDocStrings.c:156:1 Note: If this docstring is meant as developer-only documentation, remove the sowing chars from the docstring declaration. The linter will then ignore this docstring.
833
834./src/sys/tests/linter/testValidFunctionDocStrings.c:156:3 Note: Sowing chars declared here:
835  154: }
836  155:
837> 156: /*@
838         ^
839  157:   testStaticFunction - an internal function
840  158:
841./src/sys/tests/linter/testValidFunctionDocStrings.c:168:1: error: Symbol parameters are all undocumented [-fdoc-param-list-func-parameter-documentation]:
842  166: }
843  167:
844> 168: /*@
845> 169:   testAllParamsUndocumented - lorem
846> 170:
847> 171:   Level: beginner developer
848> 172:
849> 173:   Example Usage:
850> 174: .vb
851> 175:   int a;
852> 176:   double multiline;
853> 177:   char codeBlock;
854> 178: .ve
855> 179:
856> 180: .seealso:
857> 181: @*/
858  182: PetscErrorCode testAllParamsUndocumented(PetscInt a, PetscInt b)
859  183: {
860
861./src/sys/tests/linter/testValidFunctionDocStrings.c:182:42 Note: Parameters defined here:
862  180: .seealso:
863  181: @*/
864> 182: PetscErrorCode testAllParamsUndocumented(PetscInt a, PetscInt b)
865                                                ^^^^^^^^^^^^^^^^^^^^^^
866  183: {
867  184:   return testStaticFunction();
868
869./src/sys/tests/linter/testValidFunctionDocStrings.c:180:1: error: Section appears to be empty; while I'm all for a good mystery, you should probably elaborate here [-fdoc-section-barren]:
870  178: .ve
871  179:
872> 180: .seealso:
873       ^^^^^^^^^
874  181: @*/
875  182: PetscErrorCode testAllParamsUndocumented(PetscInt a, PetscInt b)
876./src/sys/tests/linter/testValidFunctionDocStrings.c:195:3: error: Line seems to be a section header but missing ':', did you mean 'Level:'? [-fdoc-section-header-maybe-header]:
877  193: . ... - variadic arguments
878  194:
879> 195:   Level dev
880         ^^^^^^^^^
881  196:
882  197: .see also: testStaticFunction()
883
884./src/sys/tests/linter/testValidFunctionDocStrings.c:188:1: error: Synopsis seems to be missing a description separator; I suspect you may be using ' ' as a separator instead of '-'. Expected 'testParameterGrouping - ipsum' [-fdoc-synopsis-wrong-description-separator]:
885  186:
886  187: /*@
887> 188:   testParameterGrouping ipsum
888       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
889  189:
890  190:   Input parameters:
891
892./src/sys/tests/linter/testValidFunctionDocStrings.c:191:3: error: Each parameter entry must be documented separately on its own line [-fdoc-param-list-solitary-parameter]:
893  189:
894  190:   Input parameters:
895> 191: - a,b - some params
896         ^^^
897  192: + nonExistentParam - this param does not exist
898  193: . ... - variadic arguments
899
900./src/sys/tests/linter/testValidFunctionDocStrings.c:191:3 Note: variable argument lists should be documented in notes
901
902./src/sys/tests/linter/testValidFunctionDocStrings.c:192:3: error: Extra docstring parameter 'nonExistentParam' not found in symbol parameter list [-fdoc-param-list-func-parameter-documentation]:
903  190:   Input parameters:
904  191: - a,b - some params
905> 192: + nonExistentParam - this param does not exist
906         ^^^^^^^^^^^^^^^^
907  193: . ... - variadic arguments
908  194:
909
910./src/sys/tests/linter/testValidFunctionDocStrings.c:199:1 Note: Parameter list defined here:
911  197: .see also: testStaticFunction()
912  198: @*/
913> 199: PetscErrorCode testParameterGrouping(PetscInt a, PetscInt b, ...)
914       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
915  200: {
916  201:   return 0;
917
918./src/sys/tests/linter/testValidFunctionDocStrings.c:193:3: error: Extra docstring parameter '...' not found in symbol parameter list [-fdoc-param-list-func-parameter-documentation]:
919  191: - a,b - some params
920  192: + nonExistentParam - this param does not exist
921> 193: . ... - variadic arguments
922         ^^^
923  194:
924  195:   Level dev
925
926./src/sys/tests/linter/testValidFunctionDocStrings.c:199:1 Note: Parameter list defined here:
927  197: .see also: testStaticFunction()
928  198: @*/
929> 199: PetscErrorCode testParameterGrouping(PetscInt a, PetscInt b, ...)
930       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
931  200: {
932  201:   return 0;
933
934./src/sys/tests/linter/testValidFunctionDocStrings.c:195:9: error: Unknown Level subheading 'dev', expected one of beginner, intermediate, advanced, developer, or deprecated [-fdoc-inline-list-level-spelling]:
935  193: . ... - variadic arguments
936  194:
937> 195:   Level dev
938               ^^^
939  196:
940  197: .see also: testStaticFunction()
941./src/sys/tests/linter/testValidFunctionDocStrings.c:227:1: error: Parameters seems to be missing a description separator; I suspect you may be using ',' as a separator instead of '-'. Expected 'alpha - an alpha' [-fdoc-param-list-wrong-description-separator]:
942  225:
943  226:   Input Parameters:
944> 227: + alpha, an alpha
945       ^^^^^^^^^^^^^^^^^
946  228: - beta = a beta
947  229:
948
949./src/sys/tests/linter/testValidFunctionDocStrings.c:228:1: error: Parameters seems to be missing a description separator; I suspect you may be using '=' as a separator instead of '-'. Expected 'beta - a beta' [-fdoc-param-list-wrong-description-separator]:
950  226:   Input Parameters:
951  227: + alpha, an alpha
952> 228: - beta = a beta
953       ^^^^^^^^^^^^^^^
954  229:
955  230:   Level: beginner
956./src/sys/tests/linter/testValidFunctionDocStrings.c:240:35: error: Sowing treats all lines ending with ':' as header, are you sure 'testBadMidSentenceColons - Lorem:' qualifies? Use '\:' to escape the colon if not [-fdoc-section-header-fishy-header]:
957  238:
958  239: /*@
959> 240:   testBadMidSentenceColons - Lorem:
960                                         ^
961  241:
962  242:   Notes:
963
964./src/sys/tests/linter/testValidFunctionDocStrings.c:245:64: error: Sowing treats all lines ending with ':' as header, are you sure 'qui officia: deserunt mollit: [...]' qualifies? Use '\:' to escape the colon if not [-fdoc-section-header-fishy-header]:
965  243: Lorem ipsum dolor sit amet:, consectetur adipiscing elit: sed do: eiusmod tempor: incididunt ut
966  244: labore et dolore: magna aliqua: Excepteur: sint occaecat cupidatat non proident, sunt: in culpa
967> 245: qui officia: deserunt mollit: anim id est: laborum as follows:
968                                                                    ^
969  246:
970  247: Level: beginner
971./src/sys/tests/linter/testValidFunctionDocStrings.c:278:1: error: Undocumented parameter 'unknown' not found in parameter section [-fdoc-param-list-func-parameter-documentation]:
972  276:   Collective
973  277:
974> 278:   Input Parameters:
975> 279: + foo - a foo
976> 280: - bar - a bar
977> 281:
978> 282:   Output Parameter:
979> 283: . baz -                 a baz
980> 284:
981  285:   Level: beginner
982  286:
983
984./src/sys/tests/linter/testValidFunctionDocStrings.c:289:45 Note: Parameter 'unknown' defined here:
985  288: M@*/
986> 289: PetscErrorCode testExplicitSynopsis_Private(PetscScalar unknown, PetscInt foo, PetscReal bar, void *baz)
987                                                   ^^^^^^^^^^^^^^^^^^^
988  290: {
989./src/sys/tests/linter/testValidFunctionDocStrings.c:302:1: error: Docstring missing synopsis [-fdoc-synopsis-missing-description]:
990  300:
991  301: /*C testBadDocStringMissingChar - asdadsasd
992> 302:
993  303:   Input Parameter:
994  304: . n - the n
995
996./src/sys/tests/linter/testValidFunctionDocStrings.c:302:1 Note: Expected 'testBadDocStringMissingChar - a very useful description'
997./src/sys/tests/linter/testValidFunctionDocStrings.c:315:1: error: Invalid docstring identifier, contains unexpected char sequence 'C@', expected '/*@C'. Did you put it in the wrong order? [-fdoc-sowing-chars]:
998  313: }
999  314:
1000> 315: /*C@
1001       ^^^^
1002  316:   testBadDocStringCharOutOfOrder - asdadsasd
1003  317:
1004./src/sys/tests/linter/testValidFunctionDocStrings.c:367:1: error: Invalid comment begin line, does not contain sowing identifier. Expected '/*@' for functions [-fdoc-sowing-chars]:
1005  365: extern PetscErrorCode testPredeclarationCursorIgnored(int, int *);
1006  366:
1007> 367: /*
1008       ^^
1009  368:   testPredeclarationCursorIgnored - the cursor above this will be ignored!
1010  369:
1011
1012./src/sys/tests/linter/testValidFunctionDocStrings.c:371:3: error: Extra docstring parameter 'asdasd' not found in symbol parameter list [-fdoc-param-list-func-parameter-documentation]:
1013  369:
1014  370:   Inp Paramet:
1015> 371: . asdasd - an arg
1016         ^^^^^^
1017  372:
1018  373:   Ouput Pameter:
1019
1020./src/sys/tests/linter/testValidFunctionDocStrings.c:381:1 Note: Parameter list defined here:
1021  379: */
1022  380:
1023> 381: PetscErrorCode testPredeclarationCursorIgnored(int arg, int *another_arg)
1024       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1025  382: {
1026  383:   return 0;
1027
1028./src/sys/tests/linter/testValidFunctionDocStrings.c:374:3: error: Extra docstring parameter 'another_arg_asd22' not found in symbol parameter list [-fdoc-param-list-func-parameter-documentation]:
1029  372:
1030  373:   Ouput Pameter:
1031> 374: . another_arg_asd22 - another arg
1032         ^^^^^^^^^^^^^^^^^
1033  375:
1034  376:   Level: beg
1035
1036./src/sys/tests/linter/testValidFunctionDocStrings.c:381:57 Note: Maybe you meant 'another_arg' of type 'int *'
1037  379: */
1038  380:
1039> 381: PetscErrorCode testPredeclarationCursorIgnored(int arg, int *another_arg)
1040                                                               ^^^^^^^^^^^^^^^^
1041  382: {
1042  383:   return 0;
1043
1044./src/sys/tests/linter/testValidFunctionDocStrings.c:370:1: error: Undocumented parameter 'arg' not found in parameter section [-fdoc-param-list-func-parameter-documentation]:
1045  368:   testPredeclarationCursorIgnored - the cursor above this will be ignored!
1046  369:
1047> 370:   Inp Paramet:
1048> 371: . asdasd - an arg
1049> 372:
1050> 373:   Ouput Pameter:
1051> 374: . another_arg_asd22 - another arg
1052> 375:
1053  376:   Level: beg
1054  377:
1055
1056./src/sys/tests/linter/testValidFunctionDocStrings.c:381:48 Note: Parameter 'arg' defined here:
1057  380:
1058> 381: PetscErrorCode testPredeclarationCursorIgnored(int arg, int *another_arg)
1059                                                      ^^^^^^^
1060  382: {
1061
1062./src/sys/tests/linter/testValidFunctionDocStrings.c:376:10: error: Unknown Level subheading 'beg', expected one of beginner, intermediate, advanced, developer, or deprecated [-fdoc-inline-list-level-spelling]:
1063  374: . another_arg_asd22 - another arg
1064  375:
1065> 376:   Level: beg
1066                ^^^
1067  377:
1068  378: .seealso: testPredeclarationCursorIgnored()`
1069./src/sys/tests/linter/testValidFunctionDocStrings.c:395:3: error: Extra docstring parameter 'foo_parm1' not found in symbol parameter list [-fdoc-param-list-func-parameter-documentation]:
1070  393:
1071  394:   Calling sequence of `foo`:
1072> 395: + foo_parm1 - an int
1073         ^^^^^^^^^
1074  396: . foo_parm2 - a double
1075  397: - foo_parm3 - a float
1076
1077./src/sys/tests/linter/testValidFunctionDocStrings.c:419:1 Note: Parameter list defined here:
1078  417: .seealso: `testPredeclarationCursorIgnored()`
1079  418: */
1080> 419: PetscErrorCode testFunctionPointerArguments(int (*foo)(int, double, float), int (*bar)(int bar_parm1, double bar_parm2, float bar_parm3), void (*baz)(int (*bop)(void), void (*blitz)(void (*)(void)), int baz_parm1, double baz_parm2, float baz_parm3))
1081       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1082  420: {
1083  421:   return 0;
1084
1085./src/sys/tests/linter/testValidFunctionDocStrings.c:396:3: error: Extra docstring parameter 'foo_parm2' not found in symbol parameter list [-fdoc-param-list-func-parameter-documentation]:
1086  394:   Calling sequence of `foo`:
1087  395: + foo_parm1 - an int
1088> 396: . foo_parm2 - a double
1089         ^^^^^^^^^
1090  397: - foo_parm3 - a float
1091  398:
1092
1093./src/sys/tests/linter/testValidFunctionDocStrings.c:419:1 Note: Parameter list defined here:
1094  417: .seealso: `testPredeclarationCursorIgnored()`
1095  418: */
1096> 419: PetscErrorCode testFunctionPointerArguments(int (*foo)(int, double, float), int (*bar)(int bar_parm1, double bar_parm2, float bar_parm3), void (*baz)(int (*bop)(void), void (*blitz)(void (*)(void)), int baz_parm1, double baz_parm2, float baz_parm3))
1097       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1098  420: {
1099  421:   return 0;
1100
1101./src/sys/tests/linter/testValidFunctionDocStrings.c:397:3: error: Extra docstring parameter 'foo_parm3' not found in symbol parameter list [-fdoc-param-list-func-parameter-documentation]:
1102  395: + foo_parm1 - an int
1103  396: . foo_parm2 - a double
1104> 397: - foo_parm3 - a float
1105         ^^^^^^^^^
1106  398:
1107  399:   Calling sequence of `bar`:
1108
1109./src/sys/tests/linter/testValidFunctionDocStrings.c:419:1 Note: Parameter list defined here:
1110  417: .seealso: `testPredeclarationCursorIgnored()`
1111  418: */
1112> 419: PetscErrorCode testFunctionPointerArguments(int (*foo)(int, double, float), int (*bar)(int bar_parm1, double bar_parm2, float bar_parm3), void (*baz)(int (*bop)(void), void (*blitz)(void (*)(void)), int baz_parm1, double baz_parm2, float baz_parm3))
1113       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1114  420: {
1115  421:   return 0;
1116./src/sys/tests/linter/testValidFunctionDocStrings.c:476:3: error: Extra docstring parameter 'baz' not found in symbol parameter list [-fdoc-param-list-func-parameter-documentation]:
1117  474:   Input Parameter:
1118  475: + foo - the input description for an in-out param
1119> 476: + baz - asdasdasd
1120         ^^^
1121  477: - foo              - a duplicate description
1122  478:
1123
1124./src/sys/tests/linter/testValidFunctionDocStrings.c:488:1 Note: Parameter list defined here:
1125  486: .seealso: `testWellFormedFunctionDocString()`
1126  487: */
1127> 488: PetscErrorCode testInvalidInOutParams(int *foo)
1128       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1129  489: {
1130  490:   return PETSC_SUCCESS;
1131
1132./src/sys/tests/linter/testValidFunctionDocStrings.c:480:3: error: Extra docstring parameter 'bop' not found in symbol parameter list [-fdoc-param-list-func-parameter-documentation]:
1133  478:
1134  479:   Output Parameters:
1135> 480: . bop = asdas
1136         ^^^
1137  481: - foo    - the output description for an in-out param
1138  482: - foo - a duplicate description2
1139
1140./src/sys/tests/linter/testValidFunctionDocStrings.c:488:1 Note: Parameter list defined here:
1141  486: .seealso: `testWellFormedFunctionDocString()`
1142  487: */
1143> 488: PetscErrorCode testInvalidInOutParams(int *foo)
1144       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1145  489: {
1146  490:   return PETSC_SUCCESS;
1147
1148./src/sys/tests/linter/testValidFunctionDocStrings.c:481:3: error: Extra docstring parameter 'foo' not found in symbol parameter list [-fdoc-param-list-func-parameter-documentation]:
1149  479:   Output Parameters:
1150  480: . bop = asdas
1151> 481: - foo    - the output description for an in-out param
1152         ^^^
1153  482: - foo - a duplicate description2
1154  483:
1155
1156./src/sys/tests/linter/testValidFunctionDocStrings.c:488:1 Note: Parameter list defined here:
1157  486: .seealso: `testWellFormedFunctionDocString()`
1158  487: */
1159> 488: PetscErrorCode testInvalidInOutParams(int *foo)
1160       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1161  489: {
1162  490:   return PETSC_SUCCESS;
1163
1164./src/sys/tests/linter/testValidFunctionDocStrings.c:482:3: error: Extra docstring parameter 'foo' not found in symbol parameter list [-fdoc-param-list-func-parameter-documentation]:
1165  480: . bop = asdas
1166  481: - foo    - the output description for an in-out param
1167> 482: - foo - a duplicate description2
1168         ^^^
1169  483:
1170  484:   Level: beginner
1171
1172./src/sys/tests/linter/testValidFunctionDocStrings.c:488:1 Note: Parameter list defined here:
1173  486: .seealso: `testWellFormedFunctionDocString()`
1174  487: */
1175> 488: PetscErrorCode testInvalidInOutParams(int *foo)
1176       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1177  489: {
1178  490:   return PETSC_SUCCESS;
1179--------------------------------------------------------------------------------------------