[PATCH] D30569: [clang-tidy] misc-use-after-move: Fix failing assertion
Martin Böhme via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Mar 3 05:06:52 PST 2017
mboehme added inline comments.
================
Comment at: test/clang-tidy/misc-use-after-move.cpp:285
// CHECK-MESSAGES: [[@LINE-1]]:3: warning: 'a' used after it was moved
- // CHECK-MESSAGES: [[@LINE-3]]:6: note: move occurred here
+ // CHECK-MESSAGES: [[@LINE-3]]:7: note: move occurred here
}
----------------
I've seen this column number flapping back and forth between 6 and 7 before.
This seems to be unrelated to my fix and instead is triggered simply by adding the extra test case below; even with my fix present, this reverts back to 7 if I remove the test case. Looks like an obscure bug in the way the column number is computed...
https://reviews.llvm.org/D30569
More information about the cfe-commits
mailing list