[PATCH] D16517: ClangTidy check to flag uninitialized builtin and pointer fields.

Alexander Kornienko via cfe-commits cfe-commits at lists.llvm.org
Mon Feb 8 05:30:36 PST 2016


alexfh added a comment.

Looks good apart from renaming and one comment that's still relevant.


================
Comment at: clang-tidy/misc/UninitializedFieldCheck.cpp:178
@@ +177,3 @@
+
+  SmallPtrSet<const FieldDecl *, 16> FieldsToInit;
+  fieldsRequiringInit(MemberFields, FieldsToInit);
----------------
What about this? (relates to line 184 now)


http://reviews.llvm.org/D16517





More information about the cfe-commits mailing list