[PATCH] D24892: [clang-tidy] Add option "LiteralInitializers" to cppcoreguidelines-pro-type-member-init

Roman Lebedev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon May 13 12:55:02 PDT 2019


lebedev.ri added inline comments.


================
Comment at: clang-tools-extra/docs/ReleaseNotes.rst:66-69
+- Added `UseAssignment` option to `cppcoreguidelines-pro-type-member-init`
+
+  If set to true, the check will provide fix-its with literal initializers
+  (``int i = 0;``) instead of curly braces (``int i{};``).
----------------
This is in the wrong category


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D24892





More information about the cfe-commits mailing list