[PATCH] D25480: __builtin_fpclassify missing one int parameter

Hubert Tong via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 11 12:21:10 PDT 2016


hubert.reinterpretcast added a comment.

In https://reviews.llvm.org/D25480#567552, @ahatanak wrote:

> __builtin_fpclassify takes five int arguments followed by one last argument that is of floating point type. Do you know if there is a way to specify the last one argument is a floating point rather than using '.'?


There is already code in `clang/lib/Sema/SemaChecking.cpp` to generate `diag::err_typecheck_call_invalid_unary_fp`.


https://reviews.llvm.org/D25480





More information about the cfe-commits mailing list