[PATCH] D137302: [clang-tidy] Add modernize-type-traits check

Eugene Zelenko via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 2 16:51:41 PDT 2022


Eugene.Zelenko added inline comments.


================
Comment at: clang-tools-extra/docs/ReleaseNotes.rst:121
+
+  Converts standard library type traits of the form `traits<...>::type` and
+  `traits<...>::value` into `traits_t<...>` and `traits_v<...>` respectively.
----------------
Please use double back-ticks for language constructs.


================
Comment at: clang-tools-extra/docs/clang-tidy/checks/modernize/type-traits.rst:6
+
+Converts standard library type traits of the form `traits<...>::type` and
+`traits<...>::value` into `traits_t<...>` and `traits_v<...>` respectively.
----------------
Ditto.


================
Comment at: clang-tools-extra/docs/clang-tidy/checks/modernize/type-traits.rst:26
+  std::make_signed_t<unsigned>
+
----------------
Excessive newline.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D137302



More information about the cfe-commits mailing list