Commit 895a59c
committed
Guard against self-assignment in the DominatorTreeBase move assignment operator.
The DominatorTreeBase move assignment operator was not self-assignment safe
because the last thing it does before returning is to release all resources
held by the source object. This issue was reported by a static analysis tool;
no self-assignment is known to occur in practice.1 parent 4b50ec4 commit 895a59c
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
287 | 287 | | |
288 | 288 | | |
289 | 289 | | |
| 290 | + | |
| 291 | + | |
290 | 292 | | |
291 | 293 | | |
292 | 294 | | |
| |||
0 commit comments