Commit f3b6141
authored
Remove the redundant SetIndependentVarCountDecl setter. NFC (#1897)
SetIndependentVarCountDecl existed only so VectorPushForwardModeVisitor could
set the base's m_IndVarCountDecl. That member is protected, so a derived class
assigns it directly; the setter is a needless indirection.
Assign m_IndVarCountDecl at the one call site and drop the setter.1 parent 02cd313 commit f3b6141
3 files changed
Lines changed: 1 addition & 7 deletions
File tree
- include/clad/Differentiator
- lib/Differentiator
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | | - | |
88 | | - | |
89 | 87 | | |
90 | 88 | | |
91 | 89 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | 31 | | |
36 | 32 | | |
37 | 33 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| |||
0 commit comments