[PATCH] D29692: [clang-tidy] add check modernize-use-const-instead-of-define

Alexander Lanin via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 14 14:37:53 PST 2017


AlexanderLanin updated this revision to Diff 88447.
AlexanderLanin marked an inline comment as done.
AlexanderLanin added a comment.

Applied review comments and added test cases regarding parenthesis, floats, doubles, wide chars etc


https://reviews.llvm.org/D29692

Files:
  clang-tidy/modernize/CMakeLists.txt
  clang-tidy/modernize/ModernizeTidyModule.cpp
  clang-tidy/modernize/UseConstInsteadOfDefineCheck.cpp
  clang-tidy/modernize/UseConstInsteadOfDefineCheck.h
  docs/ReleaseNotes.rst
  docs/clang-tidy/checks/list.rst
  docs/clang-tidy/checks/modernize-use-const-instead-of-define.rst
  test/clang-tidy/modernize-use-const-instead-of-define.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D29692.88447.patch
Type: text/x-patch
Size: 12227 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170214/329e66fc/attachment-0001.bin>


More information about the cfe-commits mailing list