summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/copy-constructor-synthesis.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Use the new function in EmitClassAggrMemberwiseCopy, fixing the same assert ↵Anders Carlsson2010-03-301-0/+1
| | | | | | as seen in PR6628 but for arrays this time. llvm-svn: 99867
* Handle default arguments when calling copy constructors for bases or members ↵Anders Carlsson2010-03-301-0/+43
| | | | | | when synthesizing a copy constructor. Fixes PR6628. llvm-svn: 99864
* Change a test to FileCheck bitcode instead of assembler.Anders Carlsson2010-03-301-12/+2
| | | | llvm-svn: 99863
* Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.Daniel Dunbar2009-12-151-2/+2
| | | | | | | | | - 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
* Handle references correctly when synthesizing copy constructors.Anders Carlsson2009-11-241-0/+11
| | | | | | | | | | | With this change, the clang-on-clang test result is now Expected Passes : 224 Unexpected Failures: 37 Which means that we can compile over 80% of clang with clang! :) llvm-svn: 89799
* Implement a few more cases for copy constructor synthesis.Eli Friedman2009-11-161-0/+2
| | | | llvm-svn: 88971
* Remove RUN: true lines.Daniel Dunbar2009-11-081-1/+0
| | | | llvm-svn: 86432
* Eliminate &&s in tests.Daniel Dunbar2009-11-081-4/+4
| | | | | | - 'for i in $(find . -type f); do sed -e 's#\(RUN:.*[^ ]\) *&& *$#\1#g' $i | FileUpdate $i; done', for the curious. llvm-svn: 86430
* Mangle record types as decls.Anders Carlsson2009-09-261-6/+6
| | | | llvm-svn: 82843
* Remove tabs, and whitespace cleanups.Mike Stump2009-09-091-39/+40
| | | | llvm-svn: 81346
* Patch to provide ir-gen support in copying array membersFariborz Jahanian2009-08-211-0/+34
| | | | | | | when synthesizing a copy constructor. Arrays's base element may have a trivial or non-trivial copy constructor. llvm-svn: 79653
* ir-gen support for anonymous union data memberFariborz Jahanian2009-08-111-1/+15
| | | | | | | copying in copy constructors and used in default constructor's initializer list. llvm-svn: 78700
* ir-gen for generating copying of scalar data members inFariborz Jahanian2009-08-101-2/+11
| | | | | | a synthesized copy constructor. llvm-svn: 78580
* Fixed a ir-gen bug in synthesizing copy constructors.Fariborz Jahanian2009-08-101-5/+2
| | | | llvm-svn: 78570
* ir-gen for initialization, in synthesize copy constructor, Fariborz Jahanian2009-08-081-0/+55
of base/field which have trivial copy constructor. llvm-svn: 78516
OpenPOWER on IntegriCloud