]> granicus.if.org Git - clang/commit
Implement semantic checking for __builtin_signbit.
authorAaron Ballman <aaron@aaronballman.com>
Tue, 19 Jun 2018 14:36:04 +0000 (14:36 +0000)
committerAaron Ballman <aaron@aaronballman.com>
Tue, 19 Jun 2018 14:36:04 +0000 (14:36 +0000)
commit21630d5d23e01b5eef9f6958c21dfacfce20da02
treec67c7d1015d2501a3c0c2d1607f3131492dee00e
parentae1561d38e5ac05f9398bcd6a0acdf65305d8ec9
Implement semantic checking for __builtin_signbit.

r242675 changed the signature for the signbit builtin but did not introduce proper semantic checking to ensure the arguments are as-expected. This patch groups the signbit builtin along with the other fp classification builtins. Fixes PR28172.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@335048 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaChecking.cpp
test/Sema/builtins.c