summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/assign-operator.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Remove another questionable use of hasTrivial*. The relevant thing for thisRichard Smith2012-11-141-1/+25
| | | | | | | test was whether the /selected/ operator= was trivial, not whether the class had any trivial (or any non-trivial) operator=s. llvm-svn: 167897
* Revert r153613 as it's causing large compile-time regressions on the nightly ↵Chad Rosier2012-03-291-21/+0
| | | | | | testers. llvm-svn: 153660
* When we can't prove that the target of an aggregate copy isJohn McCall2012-03-281-0/+21
| | | | | | | a complete object, the memcpy needs to use the data size of the structure instead of its sizeof() value. Fixes PR12204. llvm-svn: 153613
* Be sure to build a dependent expression when we seeJohn McCall2011-10-281-0/+11
| | | | | | a binary operator involving a dependently-typed overload set. llvm-svn: 143172
* Handle compound assignment expressions (i += j) as lvalues, which isDouglas Gregor2010-04-231-1/+11
| | | | | | | permitted in C++ but not in C. Fixes PR6900. Clang can now handle all of Boost.Lambda's regression tests. llvm-svn: 102170
* Turn access control on by default in -cc1.John McCall2010-04-091-1/+1
| | | | | | | | Remove -faccess-control from -cc1; add -fno-access-control. Make the driver pass -fno-access-control by default. Update a bunch of tests to be correct under access control. llvm-svn: 100880
* 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
* Make sure isCopyAssignment is only true for actual copy assignment operators,Eli Friedman2009-11-071-0/+9
instead of all assignment operators. The mistake messes up IRGen because it ends up assuming that the assignment operator is actually the implicit copy assignment operator, and therefore tries to emit the RHS as an lvalue. llvm-svn: 86307
OpenPOWER on IntegriCloud