summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/pod-member-memcpys.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add 'nonnull' parameter or return attribute when producing an llvm pointer ↵Nick Lewycky2014-05-281-26/+26
| | | | | | type in a function type where the C++ type is a reference. Update the tests. llvm-svn: 209723
* Don't pass -O0 to clang_cc1, it is the default.Rafael Espindola2013-09-041-2/+2
| | | | llvm-svn: 189910
* Fix the test on -Asserts build.Rafael Espindola2013-09-031-8/+8
| | | | llvm-svn: 189888
* Don't run optimizations in a clang test.Rafael Espindola2013-09-031-49/+49
| | | | llvm-svn: 189880
* CHECK-LABEL-ify some code gen tests to improve diagnostic experience when ↵Stephen Lin2013-08-151-18/+18
| | | | | | tests fail. llvm-svn: 188447
* Use ASTContext::getDeclAlign(<Field Decl>) to get the alignment of the firstLang Hames2013-03-051-0/+20
| | | | | | | | | | field to be memcpy'd, rather instead of ASTContext::getTypeAlign(<Field Type>). For packed structs the alignment of a field may be less than the alignment of the field's type. <rdar://problem/13338585> llvm-svn: 176512
* Use the correct alignment for POD-member memcpys where the first field is aLang Hames2013-02-271-0/+14
| | | | | | | | | | | | bitfield. CGBitField::StorageAlignment holds the alignment in chars, but emitMemcpy had been treating it as if it were held in bits, leading to underaligned memcpys. Related to PR15348. Thanks very much to Chandler for the diagnosis. llvm-svn: 176163
* Remove block names from test case to unbreak release builds.Lang Hames2013-02-171-2/+0
| | | | | | Thanks Chandler. :) llvm-svn: 175392
* Re-apply r174919 - smarter copy/move assignment/construction, with fixes forLang Hames2013-02-171-0/+224
bitfield related issues. The original commit broke Takumi's builder. The bug was caused by bitfield sizes being determined by their underlying type, rather than the field info. A similar issue with bitfield alignments showed up on closer testing. Both have been fixed in this patch. llvm-svn: 175389
OpenPOWER on IntegriCloud