commit | 94a7ed0b294b7f862447b74fd945f7fdccf2b1e9 | [log] [tgz] |
---|---|---|
author | Justin Lebar <[email protected]> | Wed Dec 14 03:15:01 2016 +0000 |
committer | Justin Lebar <[email protected]> | Wed Dec 14 03:15:01 2016 +0000 |
tree | 12b2ba4c720177abc45d595fc43db951131d193c | |
parent | f2f54efba2afec4634c7e1fc2346b0edb76831f4 [diff] |
[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 git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@289627 91177308-0d34-0410-b5e6-96231b3b80d8