Commit 46e5eba
committed
A7-3-1: Refactor to avoid join on name
Refactor to:
1. Avoid any potential performance problems from equating names of two
member functions.
2. Report the Declaration, not the DeclarationEntry of the hidden
function, which reduces duplication.1 parent 47c8a57 commit 46e5eba
2 files changed
Lines changed: 14 additions & 7 deletions
File tree
- cpp/autosar
- src/rules/A7-3-1
- test/rules/A7-3-1
Lines changed: 13 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
20 | 29 | | |
21 | 30 | | |
22 | 31 | | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
| 32 | + | |
| 33 | + | |
27 | 34 | | |
28 | 35 | | |
29 | | - | |
| 36 | + | |
30 | 37 | | |
31 | 38 | | |
32 | 39 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
0 commit comments