summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaTemplate/instantiate-anonymous-union.cpp
Commit message (Collapse)AuthorAgeFilesLines
* When building a qualified reference to a member of an anonymous structDouglas Gregor2011-02-181-0/+21
| | | | | | | | | or union, place the qualifier on the outermost member reference expression, which actually contains the entity name. Fixes PR9188/<rdar://problem/8990184>. llvm-svn: 125822
* Fix PR7402 when it strikes via template instantiation.Chandler Carruth2010-09-031-0/+19
| | | | llvm-svn: 113019
* When instantiating anonymous structs/unions within a function, makeDouglas Gregor2010-05-211-0/+18
| | | | | | | | | sure that the anonymous struct/union record declaration gets instantiated before the variable declaration, and that it and its fields (recursively) get entries in the local instantiation map. Fixes PR7088. llvm-svn: 104305
* 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
* Don't assume that a base is always a RecordType, it can also be a ↵Anders Carlsson2009-09-011-4/+2
| | | | | | TemplateSpecializationType. Also, make sure to get the instantiated union member. llvm-svn: 80662
* Handle member initializers that point to fields in anonymous structs.Anders Carlsson2009-09-011-0/+12
| | | | llvm-svn: 80659
* Don't assert when instantiating member references to fields in anonymous ↵Anders Carlsson2009-09-011-0/+13
| | | | | | structs. llvm-svn: 80657
* Don't crash when instantiating templates containing anonymous structs/unionsDouglas Gregor2009-08-281-0/+8
llvm-svn: 80397
OpenPOWER on IntegriCloud