summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaCXX/invalid-template-specifier.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Improve diagnostics and error recovery for template name lookup.Richard Smith2018-05-111-1/+1
| | | | | | | | | | | | | For 'x::template y', consistently give a "no member named 'y' in 'x'" diagnostic if there is no such member, and give a 'template keyword not followed by a template' name error if there is such a member but it's not a template. In the latter case, add a note pointing at the non-template. Don't suggest inserting a 'template' keyword in 'X::Y<' if X is dependent if the lookup of X::Y was actually not a dependent lookup and found only non-templates. llvm-svn: 332076
* 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
* Implement support for parsing dependent template-ids that refer toDouglas Gregor2009-11-041-1/+1
| | | | | | | | overloaded operators, e.g., p->template operator+<T>() llvm-svn: 85989
* Fix a couple issues with parsing invalid nested-name-specifiers.Eli Friedman2009-08-291-0/+12
llvm-svn: 80421
OpenPOWER on IntegriCloud