summaryrefslogtreecommitdiffstats
path: root/clang/test/CXX/expr/expr.post/expr.call
Commit message (Collapse)AuthorAgeFilesLines
* sizeof(void) etc. should be a hard error in C++.Eli Friedman2013-08-131-1/+1
| | | | | | PR16872. llvm-svn: 188324
* Implement C++'s restrictions on the type of an expression passed to a varargRichard Smith2013-08-051-0/+5
| | | | | | | | | | | | | function: it can't be 'void' and it can't be an initializer list. We give a hard error for these rather than treating them as undefined behavior (we can and probably should do the same for non-POD types in C++11, but as of this change we don't). Slightly rework the checking of variadic arguments in a function with a format attribute to ensure that certain kinds of format string problem (non-literal string, too many/too few arguments, ...) don't suppress this error. llvm-svn: 187735
* Test that we correctly deal with multiple copy constructors when detectingRichard Smith2012-11-221-2/+13
| | | | | | non-trivial special members for varargs calls. llvm-svn: 168476
* Don't try to diagnose anything when we're passing incomplete typesDouglas Gregor2011-10-141-0/+13
| | | | | | | | through varargs. This only happens when we're in an unevaluated context, where we don't want to trigger an error anyway. Fixes PR11131 / <rdar://problem/10288375>. llvm-svn: 141986
* Update all tests other than Driver/std.cpp to use -std=c++11 rather thanRichard Smith2011-10-131-1/+1
| | | | | | -std=c++0x. Patch by Ahmed Charles! llvm-svn: 141900
* Implement C++0x semantics for passing non-POD classes through varargs.Douglas Gregor2011-05-211-0/+17
llvm-svn: 131792
OpenPOWER on IntegriCloud