[PATCH] D18300: [clang-tidy] ProTypeMemberInitCheck - check that field decls do not have in-class initializer
Aaron Ballman via cfe-commits
cfe-commits at lists.llvm.org
Sun Mar 20 08:56:32 PDT 2016
aaron.ballman added a subscriber: aaron.ballman.
aaron.ballman added a reviewer: aaron.ballman.
================
Comment at: test/clang-tidy/cppcoreguidelines-pro-type-member-init.cpp:94
@@ +93,3 @@
+ bool Bool{false};
+ // CHECK-FIXES: bool Bool{false};
+};
----------------
Why is this checking a fix? I thought that point was that this should not generate any diagnostic (and hence, no fix is required)?
Repository:
rL LLVM
http://reviews.llvm.org/D18300
More information about the cfe-commits
mailing list