[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 15:55:56 PST 2016


jlebar added inline comments.


================
Comment at: clang-tools-extra/docs/clang-tidy/checks/performance-type-promotion-in-math-fn.rst:6
+
+Finds calls to math.h functions with implicit float to double promotions.
+
----------------
Eugene.Zelenko wrote:
> Please enclose math.h, float and double into ``.
> 
> Will be good idea to mention cmath too.
> Please enclose math.h, float and double into ``.

Done.  I used two backticks, I hope that's the right thing.

> Will be good idea to mention cmath too.

What about cmath, exactly?


https://reviews.llvm.org/D27284





More information about the cfe-commits mailing list