summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
diff options
context:
space:
mode:
authorJustin Lebar <jlebar@google.com>2016-12-14 03:15:01 +0000
committerJustin Lebar <jlebar@google.com>2016-12-14 03:15:01 +0000
commitecb10f4a9af046a5bfb9094e023d122469673649 (patch)
treec461c0235ea7dc505298b7fd52d82a89b385d063 /llvm/lib/Transforms
parent76a00b51f061f13b2b9b8dc0faca4f54f22b0ebb (diff)
downloadbcm5719-llvm-ecb10f4a9af046a5bfb9094e023d122469673649.tar.gz
bcm5719-llvm-ecb10f4a9af046a5bfb9094e023d122469673649.zip
[ClangTidy] Add new performance-type-promotion-in-math-fn check.
Summary: This checks for calls to double-precision math.h with single-precision arguments. For example, it suggests replacing ::sin(0.f) with ::sinf(0.f). Subscribers: mgorny, cfe-commits Differential Revision: https://reviews.llvm.org/D27284 llvm-svn: 289627
Diffstat (limited to 'llvm/lib/Transforms')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud