Page MenuHomePhabricator

[Bugpoint] fix use-after-move. NFC
ClosedPublic

Authored by nickdesaulniers on Sun, May 19, 6:34 PM.

Details

Summary

This was flagged in https://www.viva64.com/en/b/0629/ under "Snippet No.
6".

Note that author also states:
"Note that the loop doesn't actually execute at all."

This is not true, but the author can be forgiven; there's two distinct
variables with very similar identifiers:

MiscompiledFunctions
MisCompFunctions

Diff Detail

Repository
rL LLVM

Event Timeline

Herald added a project: Restricted Project. · View Herald TranscriptSun, May 19, 6:34 PM
RKSimon accepted this revision.Tue, May 21, 2:52 AM

LGTM - cheers

This revision is now accepted and ready to land.Tue, May 21, 2:52 AM
This revision was automatically updated to reflect the committed changes.