Supresses misc-move-constructor init warning for const fields.
Details
Details
Diff Detail
Diff Detail
- Build Status
Buildable 3739 Build 3739: arc lint + arc unit
Event Timeline
clang-tools-extra/test/clang-tidy/misc-move-constructor-init.cpp | ||
---|---|---|
88 | 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 | Missing semicolon. I wonder how the test still passes. It passes, doesn't it? |
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.