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

Simon Giesecke via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Feb 4 00:37:00 PST 2022


simon.giesecke added inline comments.


================
Comment at: clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines-prefer-member-initializer.cpp:537
 
+struct PR53515 {
+  int M;
----------------
Can this be renamed to something describing the test case? E.g. `AlreadyHasInitializer` (and the case above might be renamed to `AlreadyHasDefaultInitializer` to differentiate the two cases)


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