summaryrefslogtreecommitdiffstats
path: root/clang/test/CXX/temp/temp.spec/temp.explicit/p1-0x.cpp
Commit message (Collapse)AuthorAgeFilesLines
* C++1y is now C++14!Aaron Ballman2014-08-191-1/+1
| | | | | | Changes diagnostic options, language standard options, diagnostic identifiers, diagnostic wording to use c++14 instead of c++1y. It also modifies related test cases to use the updated diagnostic wording. llvm-svn: 215982
* The 'constexpr implies const' rule for non-static member functions is gone inRichard Smith2013-04-211-1/+1
| | | | | | | | | C++1y, so stop adding the 'const' there. Provide a compatibility warning for code relying on this in C++11, with a fix-it hint. Update our lazily-written tests to add the const, except for those ones which were testing our implementation of this rule. llvm-svn: 179969
* PR12008: defer adding the implicit 'const' to a constexpr member function untilRichard Smith2013-01-141-1/+1
| | | | | | we know whether it is static. llvm-svn: 172376
* Support for definitions of member enumerations of class templates outside theRichard Smith2012-03-231-0/+9
| | | | | | | class template's definition, and for explicit specializations of such enum members. llvm-svn: 153304
* [temp.explicit]p1: constexpr cannot be specified in explicit instantiations.Richard Smith2011-10-141-2/+7
| | | | llvm-svn: 141982
* 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
* Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.Daniel Dunbar2009-12-151-1/+1
| | | | | | | | | - This is designed to make it obvious that %clang_cc1 is a "test variable" which is substituted. It is '%clang_cc1' instead of '%clang -cc1' because it can be useful to redefine what gets run as 'clang -cc1' (for example, to set a default target). llvm-svn: 91446
* Diagnose explicit instantiations of function templates and memberDouglas Gregor2009-10-151-1/+1
| | | | | | | | functions/static data members of class template specializations that do not have definitions. This is the latter part of [temp.explicit]p4; the former part still needs more testing. llvm-svn: 84182
* Testing and some minor fixes for explicit template instantiation.Douglas Gregor2009-10-141-0/+10
llvm-svn: 84129
OpenPOWER on IntegriCloud