summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaTemplate/temp_param.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Move a bunch of tests into temp.param, and write a few tests for paragraphs ↵Douglas Gregor2009-06-131-90/+0
| | | | | | that hadn't been touched before llvm-svn: 73288
* Rename clang to clang-cc.Daniel Dunbar2009-03-241-1/+1
| | | | | | Tests and drivers updated, still need to shuffle dirs. llvm-svn: 67602
* Add partial semantic checking of template arguments that are meant forDouglas Gregor2009-02-111-0/+1
| | | | | | | | | | | | | | | | | | | non-type template parameters of pointer-to-object and pointer-to-function type. The most fun part of this is the use of overload resolution to pick a function from the set of overloaded functions that comes in as a template argument. Also, fixed two minor bugs in this area: - We were allowing non-type template parameters of type pointer to void. - We weren't patching up an expression that refers to an overloaded function set via "&f" properly. We're still not performing complete checking of the expression to be sure that it is referring to an object or function with external linkage (C++ [temp.arg.nontype]p1). llvm-svn: 64266
* Fix a problem with bogus template shadowing warningsDouglas Gregor2009-02-101-4/+4
| | | | llvm-svn: 64230
* Implement parsing, semantic analysis and ASTs for default templateDouglas Gregor2009-02-101-0/+62
| | | | | | | | | arguments. This commit covers checking and merging default template arguments from previous declarations, but it does not cover the actual use of default template arguments when naming class template specializations. llvm-svn: 64229
* Semantic analysis for non-type template parameter declarations.Douglas Gregor2009-02-101-0/+27
llvm-svn: 64223
OpenPOWER on IntegriCloud