Commit bc7fb97
GNU3 demangler: remove dead code and unused function
- Remove unreachable C1-C5/D0-D5 cases from GetNameType() — these
are handled directly by DemangleUnqualifiedName's own case blocks
- Remove unused DemangleInitializer() (declaration and definition)
- Remove dead "." operator check in DemangleBinaryExpression — the
dt (member access) operator has its own handler in DemangleExpression
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent b5022be commit bc7fb97
2 files changed
Lines changed: 3 additions & 28 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
209 | 209 | | |
210 | 210 | | |
211 | 211 | | |
212 | | - | |
213 | | - | |
214 | | - | |
215 | | - | |
216 | | - | |
217 | | - | |
218 | | - | |
219 | | - | |
220 | | - | |
221 | | - | |
222 | | - | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
223 | 215 | | |
224 | 216 | | |
225 | 217 | | |
| |||
992 | 984 | | |
993 | 985 | | |
994 | 986 | | |
995 | | - | |
996 | | - | |
997 | | - | |
998 | | - | |
999 | | - | |
1000 | | - | |
1001 | | - | |
1002 | | - | |
1003 | | - | |
1004 | | - | |
1005 | | - | |
1006 | | - | |
1007 | | - | |
1008 | | - | |
1009 | 987 | | |
1010 | 988 | | |
1011 | 989 | | |
| |||
1139 | 1117 | | |
1140 | 1118 | | |
1141 | 1119 | | |
1142 | | - | |
1143 | | - | |
1144 | 1120 | | |
1145 | 1121 | | |
1146 | 1122 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
136 | | - | |
137 | 136 | | |
138 | 137 | | |
139 | 138 | | |
| |||
0 commit comments