Commit 514f984
authored
[CIR][NFC] Fix warnings in ClangIR code (llvm#133134)
This fixes unused variable warnings that have crept into the ClangIR
code. In some cases the variable will be needed later, but all unused
variables are being removed here. They can be reintroduced when they are
needed.1 parent f0b3bdd commit 514f984
File tree
5 files changed
+6
-30
lines changed- clang/lib/CIR
- CodeGen
- Lowering/DirectToLLVM
5 files changed
+6
-30
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
170 | 170 | | |
171 | 171 | | |
172 | 172 | | |
173 | | - | |
| 173 | + | |
174 | 174 | | |
175 | 175 | | |
176 | 176 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1366 | 1366 | | |
1367 | 1367 | | |
1368 | 1368 | | |
1369 | | - | |
1370 | | - | |
| 1369 | + | |
1371 | 1370 | | |
1372 | 1371 | | |
1373 | 1372 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
243 | 243 | | |
244 | 244 | | |
245 | 245 | | |
246 | | - | |
247 | | - | |
248 | | - | |
249 | | - | |
250 | 246 | | |
251 | 247 | | |
252 | 248 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | 129 | | |
145 | 130 | | |
146 | 131 | | |
| |||
261 | 246 | | |
262 | 247 | | |
263 | 248 | | |
264 | | - | |
| 249 | + | |
265 | 250 | | |
266 | 251 | | |
267 | 252 | | |
| |||
1251 | 1236 | | |
1252 | 1237 | | |
1253 | 1238 | | |
1254 | | - | |
1255 | | - | |
1256 | 1239 | | |
1257 | 1240 | | |
1258 | 1241 | | |
1259 | 1242 | | |
1260 | 1243 | | |
| 1244 | + | |
1261 | 1245 | | |
1262 | 1246 | | |
1263 | 1247 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
116 | | - | |
117 | | - | |
118 | 116 | | |
119 | 117 | | |
120 | | - | |
121 | | - | |
122 | | - | |
| 118 | + | |
| 119 | + | |
123 | 120 | | |
124 | 121 | | |
125 | 122 | | |
| |||
0 commit comments