diff options
| author | Douglas Gregor <dgregor@apple.com> | 2009-02-18 07:07:28 +0000 |
|---|---|---|
| committer | Douglas Gregor <dgregor@apple.com> | 2009-02-18 07:07:28 +0000 |
| commit | 94349fd8cb8649f8b4e19876644cc8a10375e24d (patch) | |
| tree | e4b836af003592279da7d62b1e303783461c1d54 /llvm/lib/Support/CommandLine.cpp | |
| parent | 112c2a914f3b300f258e1b5faa3d3bd5c24185ea (diff) | |
| download | bcm5719-llvm-94349fd8cb8649f8b4e19876644cc8a10375e24d.tar.gz bcm5719-llvm-94349fd8cb8649f8b4e19876644cc8a10375e24d.zip | |
Allow "overloadable" functions in C to be declared as variadic without
any named parameters, e.g., this is accepted in C:
void f(...) __attribute__((overloadable));
although this would be rejected:
void f(...);
To do this, moved the checking of the "ellipsis without any named
arguments" condition from the parser into Sema (where it belongs anyway).
llvm-svn: 64902
Diffstat (limited to 'llvm/lib/Support/CommandLine.cpp')
0 files changed, 0 insertions, 0 deletions

