[PATCH] D41546: [clang-tidy] Adding Fuchsia checker for statically constructed objects
Eugene Zelenko via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Dec 22 12:53:09 PST 2017
Eugene.Zelenko added inline comments.
================
Comment at: docs/ReleaseNotes.rst:146
+
+ Warns if statically-stored objects are created, unless constructed with `constexpr`.
+
----------------
Please highlight constexpr with ``, not `.
================
Comment at: docs/clang-tidy/checks/fuchsia-statically-constructed-objects.rst:6
+
+Warns if statically-stored objects are created, unless constructed with
+`constexpr`.
----------------
Please highlight constexpr with ``, not `.
================
Comment at: docs/clang-tidy/checks/fuchsia-statically-constructed-objects.rst:25
+
+But creation of static objects using `constexpr` constructors is allowed:
+
----------------
Please highlight constexpr with ``, not `.
https://reviews.llvm.org/D41546
More information about the cfe-commits
mailing list