summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/constructor-init.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix test for no-asserts builds.John McCall2010-09-171-1/+1
| | | | llvm-svn: 114185
* Currently we're initializing the vtable pointers of a class only afterJohn McCall2010-09-171-0/+32
| | | | | | | | | | | | | | | the bases are completely initialized. This won't work --- base initializer expressions can rely on the vtables having been set up. Check for uses of 'this' in the initializers and force a vtable initialization if found. This might not be good enough; we might need to extend this to handle the possibility of arbitrary code finding an external reference to this (not yet completely-constructed!) object and accessing through it, in which case we'll probably find ourselves doing a lot more unnecessary stores. llvm-svn: 114153
* When adding initializers to a constructor, be sure that we are lookingDouglas Gregor2010-03-261-0/+21
| | | | | | | | through the bases and fields of the definition of the class in which the constructor is declared, rather than some other declaration of that class. llvm-svn: 99661
* Switch more of Sema::CheckInitializerTypes over toDouglas Gregor2009-12-191-1/+22
| | | | | | | | | | InitializationSequence. Specially, switch initialization of a C++ class type (either copy- or direct-initialization). Also, make sure that we create an elidable copy-construction when performing copy initialization of a C++ class variable. Fixes PR5826. llvm-svn: 91750
* 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
* Remove tabs, and whitespace cleanups.Mike Stump2009-09-091-13/+14
| | | | llvm-svn: 81346
* Array member construction in prologue of user-declaredFariborz Jahanian2009-08-211-0/+3
| | | | | | constructors. llvm-svn: 79640
* Patch to provide cast of objects in member accessFariborz Jahanian2009-07-291-2/+4
| | | | | | | excpression, if needed, and remove some ir-gen code now unnencessary. llvm-svn: 77490
* More cleanup of data member access and then some.Fariborz Jahanian2009-07-281-0/+3
| | | | llvm-svn: 77351
* More work toward data member access ir-gen.Fariborz Jahanian2009-07-281-0/+3
| | | | llvm-svn: 77332
* ir-gen for non-virtual base class initializationFariborz Jahanian2009-07-251-0/+49
in constructors. llvm-svn: 77087
OpenPOWER on IntegriCloud