summaryrefslogtreecommitdiffstats
path: root/clang/test/CXX/expr/expr.prim/expr.prim.lambda/p19.cpp
Commit message (Collapse)AuthorAgeFilesLines
* DR1891, PR21787: a lambda closure type has no default constructor, rather thanRichard Smith2014-12-101-2/+2
| | | | | | having a deleted default constructor. llvm-svn: 223953
* Render anonymous entities as '(anonymous <thing>)' (and lambdas as '(lambda ↵David Blaikie2014-04-021-1/+1
| | | | | | | | | | | | at ... )') For namespaces, this is consistent with mangling and GCC's debug info behavior. For structs, GCC uses <anonymous struct> but we prefer consistency between all anonymous entities but don't want to confuse them with template arguments, etc, so we'll just go with parens in all cases. llvm-svn: 205398
* Improve diagnostic wording for when an implicitly-deleted special memberRichard Smith2012-12-281-1/+1
| | | | | | function is selected by overload resolution. llvm-svn: 171190
* When overload resolution picks an implicitly-deleted special memberDouglas Gregor2012-02-151-6/+3
| | | | | | | | | function, provide a specialized diagnostic that indicates the kind of special member function (default constructor, copy assignment operator, etc.) and that it was implicitly deleted. Add a hook where we can provide more detailed information later. llvm-svn: 150611
* Lambdas have a deleted default constructor and a deleted copyDouglas Gregor2012-02-121-0/+31
assignment operator, per C++ [expr.prim.lambda]p19. Make it so. llvm-svn: 150345
OpenPOWER on IntegriCloud