[PATCH] D118927: [clang-tidy] Fix invalid fix-it for cppcoreguidelines-prefer-member-initializer
Nathan James via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Feb 4 04:09:49 PST 2022
njames93 marked 2 inline comments as done.
njames93 added inline comments.
================
Comment at: clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines-prefer-member-initializer.cpp:550
+ // CHECK-FIXES-NEXT: }
+ PR53515(PR53515 &&Other) : M() {
+ M = Other.M;
----------------
JonasToth wrote:
> could you please add a test-case for initializer lists, like `std::vector`? Or is this not supported?
That's not what this fix is about.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D118927/new/
https://reviews.llvm.org/D118927
More information about the cfe-commits
mailing list