[PATCH] D118927: [clang-tidy] Fix invalid fix-it for cppcoreguidelines-prefer-member-initializer

Jonas Toth via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Feb 4 03:55:42 PST 2022


JonasToth 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;
----------------
could you please add a test-case for initializer lists, like `std::vector`? Or is this not supported?


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