[PATCH] D34932: [clang-tidy] Resolve cppcoreguidelines-pro-type-member-init false positive

Haojian Wu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 3 07:56:46 PDT 2017


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

LGTM, thanks.



================
Comment at: clang-tools-extra/clang-tidy/cppcoreguidelines/ProTypeMemberInitCheck.cpp:452
   if (Ctor) {
+    if(Ctor->isImplicit())
+      return;
----------------
nit: a space after `if`.


Repository:
  rL LLVM

https://reviews.llvm.org/D34932





More information about the cfe-commits mailing list