This was flagged in https://www.viva64.com/en/b/0629/ under "Snippet No.
7".
These statements are order independent, short of the use-after-move.
Differential D62114
[Bugpoint] fix another use-after-move. NFC nickdesaulniers on May 19 2019, 6:46 PM. Authored by
Details This was flagged in https://www.viva64.com/en/b/0629/ under "Snippet No. These statements are order independent, short of the use-after-move.
Diff Detail
Event TimelineComment Actions Is this code tested? (what happens if you replace this code with "assert(false);" and then run make check?) If not, it'd be good to add some test coverage that this has revealed is missing. Comment Actions
Doesn't look like it is. I guess I would have expected a bugpoint directory under llvm/test/tools/.
I agree. Filed: https://bugs.llvm.org/show_bug.cgi?id=41970 Comment Actions Correction: -DLLVM_BUILD_LLVM_DYLIB="ON" is required to run ninja check-llvm-bugpoint. It doesn't look like any existing tests under llvm/tests/BugPoint/ call this method at all. |