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

Malcolm Parsons via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 13 14:02:11 PST 2020


malcolm.parsons marked 2 inline comments as done.
malcolm.parsons added inline comments.


================
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;
----------------
JonasToth wrote:
> are those related to this patch?
Yes - checking that this style of initialisation works in all cases.


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