summaryrefslogtreecommitdiffstats
path: root/clang/test/CXX/temp/temp.param/p9-0x.cpp
Commit message (Collapse)AuthorAgeFilesLines
* 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
* When checking the instantiation of a default template argument againstDouglas Gregor2011-06-031-0/+9
| | | | | | | | | | | | | | | the template parameter, perform the checking as a "specified" template argument rather than a "deduced" template argument; the latter implies stricter type checking that is not permitted for default template arguments. Also, cleanup our handling of substitution of explicit template arguments for a function template. We were actually performing some substitution of default arguments at this point! Fixes PR10069. llvm-svn: 132529
* Tweak my fix for PR8748, and update the incorrect PR number in the test case.Douglas Gregor2011-02-041-2/+2
| | | | llvm-svn: 124863
* Tighten up the semantics of default template arguments, per C++0xDouglas Gregor2011-02-041-0/+38
| | | | | | [temp.param]p9 and C++ DR226. Fixes PR8747. llvm-svn: 124856
* Implement support for template template parameter packs, e.g.,Douglas Gregor2011-01-051-0/+4
| | | | | | | template<template<class> class ...Metafunctions> struct apply_to_each; llvm-svn: 122874
* Non-type template parameter packs cannot have default arguments.Douglas Gregor2010-12-241-0/+10
llvm-svn: 122533
OpenPOWER on IntegriCloud