summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/CommandLine.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2009-02-18 07:07:28 +0000
committerDouglas Gregor <dgregor@apple.com>2009-02-18 07:07:28 +0000
commit94349fd8cb8649f8b4e19876644cc8a10375e24d (patch)
treee4b836af003592279da7d62b1e303783461c1d54 /llvm/lib/Support/CommandLine.cpp
parent112c2a914f3b300f258e1b5faa3d3bd5c24185ea (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud