llvm-6502/lib
Duncan Sands 03531a4816 It turns out that in C++ it is legal to declare functions
that return an opaque type by value, as long as you don't
call it or provide a body (you can take the address of it).
So it is wrong to insist that sret parameters not be an
opaque*.  And I guess it is really up to codegen to complain
if someone tries to call such a function.  I'm also removing
the analogous check from byval parameters, since I don't
see why we shouldn't allow them as long as no-one tries to
call the function or give it a body.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46216 91177308-0d34-0410-b5e6-96231b3b80d8
2008-01-21 21:37:41 +00:00
..
Analysis Don't be rude, emit debugging info where asked to. 2008-01-02 02:49:20 +00:00
Archive Remove attribution from file headers, per discussion on llvmdev. 2007-12-29 20:36:04 +00:00
AsmParser If there are attributes on the varargs part of a 2008-01-11 21:23:39 +00:00
Bitcode Remove attribution from file headers, per discussion on llvmdev. 2007-12-29 20:36:04 +00:00
CodeGen Move DAG-changing code out of #ifndef NDEBUG. 2008-01-21 01:00:34 +00:00
Debugger Remove attribution from file headers, per discussion on llvmdev. 2007-12-29 20:36:04 +00:00
ExecutionEngine I doubt the address of the Error string was intended 2008-01-07 19:14:42 +00:00
Linker Remove attribution from file headers, per discussion on llvmdev. 2007-12-29 20:36:04 +00:00
Support Added FoldingSet style 'profiling' support for APSInt. 2008-01-19 04:31:12 +00:00
System Fix compile failures with g++-4.3. 2008-01-09 19:42:09 +00:00
Target Honour ByVal parameter attribute for name decoration 2008-01-20 14:00:07 +00:00
Transforms Make sure the caller doesn't use freed memory. 2008-01-20 16:51:46 +00:00
VMCore It turns out that in C++ it is legal to declare functions 2008-01-21 21:37:41 +00:00
Makefile remove attribution from lib Makefiles. 2007-12-29 20:09:26 +00:00