2c5695df67c369523bddebe525bc6e410905cb1f |
|
30-Oct-2010 |
John McCall <rjmccall@apple.com> |
When list-initializing a vector, try to copy-initialize from vectors instead of descending into the subelements. rdar://problem/8345836 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@117749 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Sema/vector-init.c
|
3573b2c84372d9484296fa658f5276f6c09acb92 |
|
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/Sema/vector-init.c
|
f3497adb0e0329bd32c4129cc2ac6e692b7ffcfd |
|
04-Dec-2009 |
John Thompson <john.thompson.jtsoftware@gmail.com> |
Fix for PR5650 - Revised vector_size attribute handling to be done earlier before declaration is finalized. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@90600 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Sema/vector-init.c
|
c31911f67e364584fb029fb34932a10af54e3807 |
|
26-Oct-2009 |
Daniel Dunbar <daniel@zuster.org> |
Phrase compile time assert in standard way. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@85079 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Sema/vector-init.c
|
93c598a79d4bb13fc58d563779c2b73c1a78f034 |
|
22-Oct-2009 |
Chris Lattner <sabre@nondot.org> |
fix #2 :) git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@84889 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Sema/vector-init.c
|
d3a471b6d49b87e4cea70a7829a9681c4abe9192 |
|
22-Oct-2009 |
Chris Lattner <sabre@nondot.org> |
fix testcase, thanks Daniel. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@84888 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Sema/vector-init.c
|
cb088463bcec05655885c6d0343f691025e131a2 |
|
22-Oct-2009 |
Chris Lattner <sabre@nondot.org> |
fix PR5265: the size of a float3 should be rounded up to its alignment. This ensures that arrays of float3 are correctly padded. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@84833 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Sema/vector-init.c
|
077fed531835769c12eed0ccfe8d14b92b5336ae |
|
13-May-2009 |
Chris Lattner <sabre@nondot.org> |
Fix rdar://6881069, a crash on a form of vector_size that we don't support. While it would be nice to support this eventually, this form is not common at all (just seen in gcc testsuite) and it might be better to model vector_size as a type attribute anyway. For now just emit a nice error on it. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@71633 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Sema/vector-init.c
|
ffd408a50adb01ae9c0ad92fb5f0981e1ca72df5 |
|
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/Sema/vector-init.c
|
c25bf6d949f81d248750b1d2289a4b5905e39500 |
|
18-Feb-2009 |
Douglas Gregor <doug.gregor@gmail.com> |
Downgrade the "excess elements in initializer" errors to warnings *in C*. They're required errors in C++. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64964 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Sema/vector-init.c
|
09f078ce215f423c1b8c794fe83c13e3b5370a83 |
|
30-Jan-2009 |
Douglas Gregor <doug.gregor@gmail.com> |
Upgrade the "excess elements in array initializer" warning to an error, since both C99 and C++ consider it an error. For reference, GCC makes this a warning while G++ makes it an error. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63435 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Sema/vector-init.c
|
f603b47aec06841368ddb1a36925c57976794c24 |
|
28-Jan-2009 |
Douglas Gregor <doug.gregor@gmail.com> |
Code generation support for C99 designated initializers. The approach I've taken in this patch is relatively straightforward, although the code itself is non-trivial. Essentially, as we process an initializer list we build up a fully-explicit representation of the initializer list, where each of the subobject initializations occurs in order. Designators serve to "fill in" subobject initializations in a non-linear way. The fully-explicit representation makes initializer lists (both with and without designators) easy to grok for codegen and later semantic analyses. We keep the syntactic form of the initializer list linked into the AST for those clients interested in exactly what the user wrote. Known limitations: - Designating a member of a union that isn't the first member may result in bogus initialization (we warn about this) - GNU array-range designators are not supported (we warn about this) git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63242 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Sema/vector-init.c
|
af6ed504d90dc3b813c573bfbee8bc0e92e7fdc0 |
|
19-Apr-2008 |
Nate Begeman <natebegeman@mac.com> |
OCUVector -> ExtVector, shorthand for extended vector, per feedback from Chris. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@49942 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Sema/vector-init.c
|
c4e28e4da9dfd332a6d448cedeaa92ee70ed18b6 |
|
25-Jan-2008 |
Nate Begeman <natebegeman@mac.com> |
Support checking and codegen of constant vector globals git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@46343 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Sema/vector-init.c
|