History log of /external/clang/test/CodeGen/complex.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
43e890b0354c40b9bfe9281a47985e7a4e2fc2c3 15-Jun-2011 Eli Friedman <eli.friedman@gmail.com> Test for r133070.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@133079 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/complex.c
abd3a857ace59100305790545d1baae5877b8945 08-May-2010 John McCall <rjmccall@apple.com> The FP constant evaluator was missing a few cases of unary operators that return floats
but whose operand isn't a float: specifically, __real__ and __imag__. Instead
of filtering these out, just implement them.

Fixes <rdar://problem/7958272>.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@103307 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/complex.c
5b088a10e106a287684bef78cd6c3a3830ac0721 03-Jan-2010 Eli Friedman <eli.friedman@gmail.com> Fix minor oversight for increment/decrement of complex int. Add tests for
coverage.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@92433 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/complex.c
a5728872c7702ddd09537c95bc3cbd20e1f2fb09 15-Dec-2009 Daniel Dunbar <daniel@zuster.org> Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.
- This is designed to make it obvious that %clang_cc1 is a "test variable"
which is substituted. It is '%clang_cc1' instead of '%clang -cc1' because it
can be useful to redefine what gets run as 'clang -cc1' (for example, to set
a default target).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91446 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/complex.c
ab3a852ae713189444dcbf75e70accf1e8c2b7f2 28-Mar-2009 Eli Friedman <eli.friedman@gmail.com> Change compound assignment operators to keep track of both the promoted
LHS type and the computation result type; this encodes information into
the AST which is otherwise non-obvious. Fix Sema to always come up with the
right answer for both of these types. Fix IRGen and the analyzer to
account for these changes. This fixes PR2601. The approach is inspired
by PR2601 comment 2.

Note that this changes real *= complex in CodeGen from a silent
miscompilation to an explicit error.

I'm not really sure that the analyzer changes are correct, or how to
test them... someone more familiar with the analyzer should check those
changes.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67889 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/complex.c
d7d5f0223bd30dfd618762349c6209dd1d5ea3e6 24-Mar-2009 Daniel Dunbar <daniel@zuster.org> Rename clang to clang-cc.

Tests and drivers updated, still need to shuffle dirs.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67602 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/complex.c
ad3d6917dabbdab3399ff8307240aad58247d2e3 25-Nov-2008 Anders Carlsson <andersca@mac.com> Handle returning complex types that get coerced. Fixes PR3131

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@60058 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/complex.c
9b2dc287177394a8f73833e2ad4f7ca8cd6f22bb 04-Apr-2008 Chris Lattner <sabre@nondot.org> Since isComplexType() no longer returns true for _Complex integers, the code
generator needs to call isAnyComplexType(). This fixes PR1960.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@49220 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/complex.c
7da36f642e907ff5a5ba4b18b5bfebfabf36ecc7 30-Oct-2007 Chris Lattner <sabre@nondot.org> __real__ and __imag__ can be lvalues. Add support to ast and codegen for them.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@43525 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/complex.c
9cff1a9ac25f2b1386d3157e8daa0b219573d6a6 27-Aug-2007 Chris Lattner <sabre@nondot.org> add some more testcases now that sema is happier :)


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41492 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/complex.c
8ae3a9f8bec69b5251abd695ffcd306a90b84d61 27-Aug-2007 Chris Lattner <sabre@nondot.org> new testcases


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41465 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/complex.c
46f93d021a1778442c1c4a53f0b94a68bfae3be5 24-Aug-2007 Chris Lattner <sabre@nondot.org> implement codegen for real/imag. TODO: imag of non-complex.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41376 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/complex.c
fd90ac054e9703b0a8f39da388e28f2b70d08dcc 24-Aug-2007 Chris Lattner <sabre@nondot.org> make this harder



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41346 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/complex.c
99351fdeaffe584e3a663f16d465b8a92674c7f0 23-Aug-2007 Chris Lattner <sabre@nondot.org> this test is passing, though it is generating bogus code at the moment.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41314 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/complex.c
954698cd846f24c02e15bd86e19be8f796dd2ced 11-Aug-2007 Chris Lattner <sabre@nondot.org> xfail this for now.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41015 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/complex.c
12b2be25f8575fb0a1f6ecf5802e3bcb78af6ada 10-Aug-2007 Chris Lattner <sabre@nondot.org> make this harder



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@40994 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/complex.c
d5e0d9854c9e400ecf729e1023cd331f5ebe1355 14-Jul-2007 Gabor Greif <ggreif@gmail.com> add FIXME and un-XFAIL test

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@39858 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/complex.c
b02d4b4bdf07273e86bf73414d51ea16ce46b081 14-Jul-2007 Gabor Greif <ggreif@gmail.com> fix type of main, use !=

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@39842 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/complex.c
4db18f279ba2760d77a79587fac5fd69d68dc4ed 14-Jul-2007 Gabor Greif <ggreif@gmail.com> implement _Complex * == and !=

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@39841 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/complex.c
bacfa02138dce5e380bca924b2c9c40bf7959aab 14-Jul-2007 Gabor Greif <ggreif@gmail.com> a simple _Complex testcase

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@39836 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/complex.c