]> granicus.if.org Git - clang/commit
Support constant-evaluation of __builtin_nans* as well as the correct constant
authorJohn McCall <rjmccall@apple.com>
Sun, 28 Feb 2010 13:00:19 +0000 (13:00 +0000)
committerJohn McCall <rjmccall@apple.com>
Sun, 28 Feb 2010 13:00:19 +0000 (13:00 +0000)
commitdb7b72a82a6834680ccf1eeb51dc57e6d935c655
tree3d7404795c3b5b88e1d5150291f597a9bebf993b
parent6b601395e79291ec98f596f724001976106b6f6e
Support constant-evaluation of __builtin_nans* as well as the correct constant
evaluation of __builtin_nan*.  Most of the work to make this work is in LLVM.

Fixes <rdar://problem/7696712> and part of PR 5255.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97383 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/ExprConstant.cpp
test/CodeGen/builtins.c