summaryrefslogtreecommitdiffstats
path: root/clang/test/CXX/expr/expr.prim/expr.prim.lambda/default-arguments.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Instantiate function declarations in instantiated functions.Serge Pavlov2015-08-231-5/+8
| | | | | | | | | | | | | | | | | If a function declaration is found inside a template function as in: template<class T> void f() { void g(int x = T::v) except(T::w); } it must be instantiated along with the enclosing template function, including default arguments and exception specification. Together with the patch committed in r240974 this implements DR1484. Differential Revision: http://reviews.llvm.org/D11194 llvm-svn: 245810
* DR974: Lambdas can have default arguments.Richard Smith2013-04-171-1/+1
| | | | llvm-svn: 179688
* Implement C++ core issue 974, which permits default arguments forDouglas Gregor2012-02-141-0/+50
lambda expressions. Because these issue was pulled back from Ready status at the Kona meeting, we still emit an ExtWarn when using default arguments for lambda expressions. llvm-svn: 150519
OpenPOWER on IntegriCloud