aboutsummaryrefslogtreecommitdiff
path: root/clang/test/Parser/cxx-variadic-func.cpp
AgeCommit message (Collapse)AuthorFilesLines
2015-02-23Revert "Improve declaration / expression disambiguation around ↵Justin Bogner1-1/+2
ptr-operators, and use" This seems to break mixing function-style and c-style casts, and is breaking bootstrapping llvm. This reverts r230261. llvm-svn: 230274
2015-02-23Improve declaration / expression disambiguation around ptr-operators, and useRichard Smith1-2/+1
the presence of an abstract declarator with a ptr-operator as proof that a construct cannot parse as an expression to improve diagnostics along error recovery paths. llvm-svn: 230261
2014-08-11Reject varargs '...' in function prototype if there are more parameters afterRichard Smith1-2/+5
it. Diagnose with recovery if it appears after a function parameter that was obviously supposed to be a parameter pack. Otherwise, warn if it immediately follows a function parameter pack, because the user most likely didn't intend to write a parameter pack followed by a C-style varargs ellipsis. This warning can be syntactically disabled by using ", ..." instead of "...". llvm-svn: 215408
2009-12-15Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.Daniel Dunbar1-1/+1
- 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). llvm-svn: 91446
2009-03-24Rename clang to clang-cc.Daniel Dunbar1-1/+1
Tests and drivers updated, still need to shuffle dirs. llvm-svn: 67602
2009-02-14Add svn:eol-style=native to some filesCedric Venet1-5/+5
Correct two files with inconsistent lines endings. llvm-svn: 64564
2008-10-06Allow variadic arguments without named ones for C++, e.g. "void(...);"Argyrios Kyrtzidis1-0/+5
llvm-svn: 57143