Commit bfb686b
committed
Thread Safety Analysis: Move opcode comparison to Comparator (NFC)
The switch assumes that both operands have the same opcode, so it's
probably cleaner if we do the comparison there. This also deduplicates
the comparison.1 parent 86203b6 commit bfb686b
File tree
1 file changed
+4
-10
lines changed- clang/include/clang/Analysis/Analyses
1 file changed
+4
-10
lines changedLines changed: 4 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
312 | 312 | | |
313 | 313 | | |
314 | 314 | | |
315 | | - | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
316 | 318 | | |
317 | 319 | | |
318 | 320 | | |
| |||
338 | 340 | | |
339 | 341 | | |
340 | 342 | | |
341 | | - | |
342 | | - | |
343 | | - | |
344 | | - | |
345 | | - | |
346 | | - | |
347 | 343 | | |
348 | 344 | | |
349 | 345 | | |
| |||
377 | 373 | | |
378 | 374 | | |
379 | 375 | | |
380 | | - | |
381 | | - | |
382 | | - | |
| 376 | + | |
383 | 377 | | |
384 | 378 | | |
385 | 379 | | |
| |||
0 commit comments