]> granicus.if.org Git - clang/commit
Implement semantic checking for __builtin_signbit.
authorAaron Ballman <aaron@aaronballman.com>
Tue, 19 Jun 2018 14:59:11 +0000 (14:59 +0000)
committerAaron Ballman <aaron@aaronballman.com>
Tue, 19 Jun 2018 14:59:11 +0000 (14:59 +0000)
commit4ede2bf4c9918758be3388ab015438db11146af4
tree26f6d5f9d2c25f549b4ff8eea561fcfcc68242eb
parentac1b00383a6afe8c89fa814906e9ed8187157f49
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@335050 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaChecking.cpp
test/Sema/builtins.c