Supresses misc-move-constructor init warning for const fields.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
clang-tools-extra/test/clang-tidy/misc-move-constructor-init.cpp | ||
---|---|---|
88 ↗ | (On Diff #85197) | The test is fine, but it would also pass, if the check verified constness of the field being initialized. I'd suggest adding another one that shows a const-qualified initializer used to initialize a non-const field. |
90 ↗ | (On Diff #85197) | Missing semicolon. I wonder how the test still passes. It passes, doesn't it? |