[PATCH] D153220: [clang-tidy] Improve `performance-move-const-arg` message when no move constructor is available
André Schackier via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sun Jun 18 00:43:47 PDT 2023
AMS21 added inline comments.
================
Comment at: clang-tools-extra/test/clang-tidy/checkers/performance/move-const-arg.cpp:345
+namespace issue_62550 {
+
+struct NonMoveConstructable {
----------------
I've tried to add
```
// CHECK-MESSAGES: [[@LINE+1]]:1: note: 'NonMoveConstructable' is not move constructible
```
here. But doing so actually fails the tests and I'm not quite sure why.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D153220/new/
https://reviews.llvm.org/D153220
More information about the cfe-commits
mailing list