[PATCH] D49114: [clang-tidy] Add a check for "magic numbers"

Eugene Zelenko via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 11 16:08:34 PDT 2018


Eugene.Zelenko added inline comments.


================
Comment at: docs/ReleaseNotes.rst:158
+- New :doc:`readability-magic-numbers
+  <http://clang.llvm.org/extra/clang-tidy/checks/readability-magic-numbers.html>` check.
+
----------------
Please make link short. See other links as examples.


================
Comment at: docs/clang-tidy/checks/readability-magic-numbers.rst:29
+
+... code-block:: c
+
----------------
This is not needed and also wrongly formatted.


================
Comment at: docs/clang-tidy/checks/readability-magic-numbers.rst:46
+
+... code-block:: c
+
----------------
This is not needed and also wrongly formatted.


Repository:
  rCTE Clang Tools Extra

https://reviews.llvm.org/D49114





More information about the cfe-commits mailing list