You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/user_manual.md
+14-14Lines changed: 14 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -426,8 +426,8 @@ The `process_coding_standards_config.py` has a dependency on the package `pyyaml
426
426
A code identifier specified in a deviation record can be applied to certain results in the code by adding a comment marker consisting of a `code-identifier` with some optional annotations. The supported marker annotation formats are:
427
427
428
428
- `<code-identifier>`- the deviation applies to results on the current line.
429
-
- `DEVIATION(<code-identifier>)`- the deviation applies to results on the current line.
430
-
- `DEVIATION_NEXT_LINE(<code-identifier>)`- this deviation applies to results on the next line.
429
+
- `codingstandards::deviation(<code-identifier>)`- the deviation applies to results on the current line.
430
+
- `codingstandards::deviation_next_line(<code-identifier>)`- this deviation applies to results on the next line.
431
431
- `DEVIATION_BEGIN(<code-identifier>)`- marks the beginning of a range of lines where the deviation applies.
432
432
- `DEVIATION_END(<code-identifier>)`- marks the end of a range of lines where the deviation applies.
433
433
@@ -438,32 +438,32 @@ Here are some examples, using the deviation record with the `a-0-4-2-deviation`
438
438
long double x2; // a-0-4-2-deviation - COMPLIANT
439
439
long double x3; // COMPLIANT - a-0-4-2-deviation
440
440
441
-
long double x4; // DEVIATION(a-0-4-2-deviation) - COMPLIANT
442
-
long double x5; // COMPLIANT - DEVIATION(a-0-4-2-deviation)
441
+
long double x4; // [[codingstandards::deviation(a-0-4-2-deviation)]] - COMPLIANT
442
+
long double x5; // COMPLIANT - [[codingstandards::deviation(a-0-4-2-deviation)]]
`DEVIATION_END` markers will pair with the closest unmatched `DEVIATION_BEGIN` for the same `code-identifier`. Consider this example:
452
+
`codingstandards::deviation_end` markers will pair with the closest unmatched `codingstandards::deviation_begin` for the same `code-identifier`. Consider this example:
Here, Line 1 will pair with Line 7, and Line 3 will pair with Line 8.
463
463
464
-
A `DEVIATION_END` without a matching `DEVIATION_BEGIN`, or `DEVIATION_BEGIN` without a matching `DEVIATION_END` is invalid and will be ignored.
464
+
A `codingstandards::deviation_end` without a matching `codingstandards::deviation_begin`, or `codingstandards::deviation_begin` without a matching `codingstandards::deviation_end` is invalid and will be ignored.
465
465
466
-
`DEVIATION_BEGIN`and `DEVIATION_END` markers only apply within a single file. Markers cannot be paired across files, and deviations do not apply to included files.
466
+
`codingstandards::deviation_begin`and `codingstandards::deviation_end` markers only apply within a single file. Markers cannot be paired across files, and deviations do not apply to included files.
0 commit comments