summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaTemplate/derived.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [Sema] Be consistent about diagnostic wording: always use "cannot".Davide Italiano2015-08-151-2/+2
| | | | | | Discussed with Richard Smith. llvm-svn: 245162
* Fix grammatical error in diagnostic.Richard Smith2014-08-211-2/+2
| | | | llvm-svn: 216221
* [test] Add test case for rdar://14183893.Argyrios Kyrtzidis2013-06-281-0/+15
| | | | llvm-svn: 185244
* Propagate the invalid bit from bases to derived template classes.Matt Beaumont-Gay2013-06-211-0/+9
| | | | | | Fixes PR16292. llvm-svn: 184581
* <rdar://problem/13267210> Ensure that Sema::CompareReferenceRelationship ↵Douglas Gregor2013-03-261-0/+18
| | | | | | | | | | | | | returns consistent results with invalid types. When Sema::RequireCompleteType() is given a class template specialization type that then fails to instantiate, it returns 'true'. On subsequent invocations, it can return false. Make sure that this difference doesn't change the result of Sema::CompareReferenceRelationship, which is expected to remain stable while we're checking an initialization sequence. llvm-svn: 178088
* When template deduction fails on a derived class, try a template deduction onRichard Trieu2012-11-071-0/+12
the base class. If the base class deduction succeeds, use those results. If it fails, keep using the results from the derived class template deduction. This prevents an assertion later where the type of deduction failure doesn't match up with the template deduction info. llvm-svn: 167550
OpenPOWER on IntegriCloud