[PATCH] D72630: [clang-tidy] Ignore implicit casts in modernize-use-default-member-init

Jonas Toth via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 13 13:24:40 PST 2020


JonasToth accepted this revision.
JonasToth added a comment.
This revision is now accepted and ready to land.

LGTM in general. The linked bug report misses a "4" --> PR44440, so please the description for that.



================
Comment at: clang-tools-extra/test/clang-tidy/checkers/modernize-use-default-member-init.cpp:294
   int e3 = {5};
-  int e4 = 5;
+  int e4{5};
   int e5 = -5;
----------------
are those related to this patch?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D72630/new/

https://reviews.llvm.org/D72630





More information about the cfe-commits mailing list