summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaTemplate/explicit-specialization-member.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix crash-on-invalid and name lookup when recovering from ~X::X() typo.Richard Smith2015-01-151-1/+1
| | | | llvm-svn: 226067
* PR19340: If we see a declaration of a member of an unspecialized class templateRichard Smith2014-04-171-4/+14
| | | | | | | that looks like it might be an explicit specialization, don't recover as an explicit specialization (bypassing the check that would reject that). llvm-svn: 206444
* PR18246: When performing template argument deduction to decide which templateRichard Smith2013-12-141-0/+19
| | | | | | | | | | is specialized by an explicit specialization, start from the first declaration in case we've got a member of a class template (redeclarations might not number the template parameters the same way). Our recover here is still far from ideal. llvm-svn: 197305
* Add regression test for PR12331.Richard Smith2013-07-021-0/+9
| | | | llvm-svn: 185453
* Instantiate class member template partial specialization declarationsDouglas Gregor2010-11-101-4/+2
| | | | | | | | | in the order they occur within the class template, delaying out-of-line member template partial specializations until after the class has been fully instantiated. This fixes a regression introduced by r118454 (itself a fix for PR8001). llvm-svn: 118704
* Fix some redundant errors by changing CXXScopeSpec::isSet calls intoJeffrey Yasskin2010-04-071-1/+1
| | | | | | isNotEmpty calls. llvm-svn: 100722
* Fix an assertion-on-error during tentative constructor parsing byJohn McCall2010-02-261-1/+1
| | | | | | | | | | propagating error conditions out of the various annotate-me-a-snowflake routines. Generally (but not universally) removes redundant diagnostics as well as, you know, not crashing on bad code. On the other hand, I have just signed myself up to fix fiddly parser errors for the next week. Again. llvm-svn: 97221
* Do not try to instantiate invalid declarations. It's a recipe forDouglas Gregor2010-02-161-0/+12
| | | | | | disaster. Fixes PR6161. llvm-svn: 96371
* 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
* When entering the scope of a declarator, make sure that the scope isDouglas Gregor2009-09-241-0/+11
complete (or, possibly causing template instantiation). Test this via some explicit specializations of member functions. llvm-svn: 82732
OpenPOWER on IntegriCloud