[PATCH] D145581: [clang-tidy] In C++17, callee is guaranteed to be sequenced before arguments.
Martin Böhme via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Apr 24 05:14:50 PDT 2023
mboehme added inline comments.
================
Comment at: clang-tools-extra/test/clang-tidy/checkers/bugprone/use-after-move.cpp:1439
// CHECK-NOTES: [[@LINE-1]]:9: note: move occurred here
- // CHECK-NOTES: [[@LINE-4]]:11: note: the use happens in a later loop iteration than the move
----------------
Rewriting the logic for the "use happens in a later loop iteration" has also eliminated this erroneous note.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D145581/new/
https://reviews.llvm.org/D145581
More information about the cfe-commits
mailing list