[PATCH] D27284: [ClangTidy] Add new performance-type-promotion-in-math-fn check.

Justin Lebar via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 30 16:03:15 PST 2016


jlebar updated this revision to Diff 79835.
jlebar marked an inline comment as done.
jlebar added a comment.

Note that the relevant functions may come from <cmath>.


https://reviews.llvm.org/D27284

Files:
  clang-tools-extra/clang-tidy/performance/CMakeLists.txt
  clang-tools-extra/clang-tidy/performance/PerformanceTidyModule.cpp
  clang-tools-extra/clang-tidy/performance/TypePromotionInMathFnCheck.cpp
  clang-tools-extra/clang-tidy/performance/TypePromotionInMathFnCheck.h
  clang-tools-extra/docs/clang-tidy/checks/list.rst
  clang-tools-extra/docs/clang-tidy/checks/performance-type-promotion-in-math-fn.rst
  clang-tools-extra/test/clang-tidy/performance-type-promotion-in-math-fn.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D27284.79835.patch
Type: text/x-patch
Size: 27486 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20161201/ae40bd9f/attachment-0001.bin>


More information about the cfe-commits mailing list