| commit | b99f44aa5e7e427e2dca0286497801ad6a972cf8 | [log] [tgz] |
|---|---|---|
| author | Duncan Sands <baldrick@free.fr> | Fri Jan 11 22:36:48 2008 +0000 |
| committer | Duncan Sands <baldrick@free.fr> | Fri Jan 11 22:36:48 2008 +0000 |
| tree | 25ed9b94698b70c7f880a41b9104b890bb87fe34 | |
| parent | b5bd924e839a3bef97fb44f68f3d1172aaee1c4b [diff] |
Do not allow attributes beyond a function's last parameter, even if it is a varargs function. Do allow attributes on the varargs part of a call, but not beyond the last argument. Only allow selected attributes to be on the varargs part of a call (currently only 'byval' is allowed). The reasoning here is that most attributes, eg inreg, simply make no sense here. llvm-svn: 45887