njames93 added inline comments.

================
Comment at: 
clang-tools-extra/clang-tidy/cppcoreguidelines/PreferMemberInitializerCheck.cpp:103
+                                Context->getOptions().CheckOptions)
+                        .get("UseAssignment", 0) != 0) {}
+
----------------
`OptionsView::get(...)` is specialized for bools, so you can just pass `false` 
as the second argument and negate the need to compare against zero


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

https://reviews.llvm.org/D71199

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to