Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Prior to adding the new "expected-no-diagnostics" directive to ↵ | Andy Gibbs | 2012-10-19 | 1 | -0/+1 |
| | | | | | | VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. llvm-svn: 166280 | ||||
* | Update all tests other than Driver/std.cpp to use -std=c++11 rather than | Richard Smith | 2011-10-13 | 1 | -1/+1 |
| | | | | | | -std=c++0x. Patch by Ahmed Charles! llvm-svn: 141900 | ||||
* | Work-in-progress implementation of C++0x [temp.arg.explicit]p9, which | Douglas Gregor | 2011-01-10 | 1 | -4/+0 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | allows an argument pack determines via explicit specification of function template arguments to be extended by further, deduced arguments. For example: template<class ... Types> void f(Types ... values); void g() { f<int*, float*>(0, 0, 0); // Types is deduced to the sequence int*, float*, int } There are a number of FIXMEs in here that indicate places where we need to implement + test retained expansions, plus a number of other places in deduction where we need to correctly cope with the explicitly-specified arguments when deducing an argument pack. Furthermore, it appears that the RecursiveASTVisitor needs to be auditied; it's missing some traversals (especially w.r.t. template arguments) that cause it not to find unexpanded parameter packs when it should. The good news, however, is that the tr1::tuple implementation now works fully, and the tr1::bind example (both from N2080) is actually working now. llvm-svn: 123163 | ||||
* | Variadic templates example: a nearly-complete implementation of a TR1 | Douglas Gregor | 2011-01-07 | 1 | -1/+1 |
| | | | | | | function class template. llvm-svn: 123024 | ||||
* | Variadic templates example: a nearly-complete implementation of a TR1 | Douglas Gregor | 2011-01-07 | 1 | -0/+264 |
tuple class template. This implementation is boosted directly from the variadic templates proposal. N2080. Note that one section is #ifdef'd out. I'll implement that aspect of template argument deduction next. llvm-svn: 123016 |