[PATCH] D145778: [clang-tidy] Change readability-magic-numbers to allow numbers in type aliases.

Florian Humblot via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Mar 10 04:39:58 PST 2023


florianhumblot updated this revision to Diff 504097.
florianhumblot marked 2 inline comments as done.
florianhumblot added a comment.

Generate diff with full context and updated the example to use the default settings of the readabiliy-magic-numbers checker


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

https://reviews.llvm.org/D145778

Files:
  clang-tools-extra/clang-tidy/readability/MagicNumbersCheck.cpp
  clang-tools-extra/clang-tidy/readability/MagicNumbersCheck.h
  clang-tools-extra/docs/ReleaseNotes.rst
  clang-tools-extra/docs/clang-tidy/checks/readability/magic-numbers.rst
  clang-tools-extra/test/clang-tidy/checkers/readability/magic-numbers.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D145778.504097.patch
Type: text/x-patch
Size: 6925 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230310/375fbc53/attachment-0001.bin>


More information about the cfe-commits mailing list