summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaTemplate/dependent-base-member-init.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Prior to adding the new "expected-no-diagnostics" directive to ↵Andy Gibbs2012-10-191-0/+1
| | | | | | VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. llvm-svn: 166280
* PR7698: Make sure we correctly handle the initialization of an array withEli Friedman2010-07-241-0/+9
| | | | | | dependent size. llvm-svn: 109356
* Another test case for PR6062Douglas Gregor2010-01-191-0/+5
| | | | llvm-svn: 93872
* In a mem-initializer, a nested-name-specifier followed by anDouglas Gregor2010-01-191-0/+18
| | | | | | | | | identifier always names a type. In the case of a dependent nested-name-specifier, build a TypenameType to describe the dependent base type. I'd like to move more of this behavior up into the parser, but this fixes PR6062. llvm-svn: 93871
* 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 we know that we are parsing a class-name, implicitly construct aDouglas Gregor2009-08-261-0/+4
| | | | | | | | | | | | | | TypenameType if getTypeName is looking at a member of an unknown specialization. This allows us to properly parse class templates that derived from type that could only otherwise be described by a typename type, e.g., template<class T> struct X {}; template<typename T> struct Y : public X<T>::X { }; Fixes PR4381. llvm-svn: 80123
* Fixes pr4763. Fariborz Jahanian2009-08-241-0/+7
| | | | llvm-svn: 79923
* Refactor base/member initializers, and construct them correctly in cases Eli Friedman2009-07-291-0/+25
with dependent types. Fixes PR4621 and PR4627. llvm-svn: 77498
OpenPOWER on IntegriCloud