Skip to content

Commit 029537d

Browse files
committed
Fix typos
1 parent 0de32d3 commit 029537d

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

cpp/common/src/codingstandards/cpp/deviations/InvalidDeviationCodeIdentifier.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Invalid deviation dode identifier
1+
# Invalid deviation code identifier
22

33
## Overview
44

docs/user_manual.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -485,26 +485,26 @@ Here are some examples, using the deviation record with the `a-0-4-2-deviation`
485485
long double x2; // a-0-4-2-deviation - COMPLIANT
486486
long double x3; // COMPLIANT - a-0-4-2-deviation
487487
488-
long double x4; // codeql::<standard>_deviation(a-0-4-2-deviation) - COMPLIANT
489-
long double x5; // COMPLIANT - codeql::<standard>_deviation(a-0-4-2-deviation)
488+
long double x4; // codeql::autosar_deviation(a-0-4-2-deviation) - COMPLIANT
489+
long double x5; // COMPLIANT - codeql::autosar_deviation(a-0-4-2-deviation)
490490
491-
// codeql::<standard>_deviation_next_line(a-0-4-2-deviation)
491+
// codeql::autosar_deviation_next_line(a-0-4-2-deviation)
492492
long double x6; // COMPLIANT
493493
494-
// codeql::<standard>_deviation_begin(a-0-4-2-deviation)
494+
// codeql::autosar_deviation_begin(a-0-4-2-deviation)
495495
long double x7; // COMPLIANT
496-
// codeql::<standard>_deviation_end(a-0-4-2-deviation)
496+
// codeql::autosar_deviation_end(a-0-4-2-deviation)
497497
```
498498

499499
`codeql::<standard>_deviation_end` markers will pair with the closest unmatched `codeql::<standard>_deviation_begin` for the same `code-identifier`. Consider this example:
500500
```cpp
501-
1 | // codeql::<standard>_deviation_begin(a-0-4-2-deviation)
501+
1 | // codeql::autosar_deviation_begin(a-0-4-2-deviation)
502502
2 |
503-
3 | // codeql::<standard>_deviation_begin(a-0-4-2-deviation)
503+
3 | // codeql::autosar_deviation_begin(a-0-4-2-deviation)
504504
4 |
505-
5 | // codeql::<standard>_deviation_end(a-0-4-2-deviation)
505+
5 | // codeql::autosar_deviation_end(a-0-4-2-deviation)
506506
6 |
507-
7 | // codeql::<standard>_deviation_end(a-0-4-2-deviation)
507+
7 | // codeql::autosar_deviation_end(a-0-4-2-deviation)
508508
```
509509
Here, Line 1 will pair with Line 7, and Line 3 will pair with Line 5.
510510

0 commit comments

Comments
 (0)