diff options
| author | Douglas Gregor <dgregor@apple.com> | 2010-09-27 21:17:54 +0000 |
|---|---|---|
| committer | Douglas Gregor <dgregor@apple.com> | 2010-09-27 21:17:54 +0000 |
| commit | d30e79f839ccd968168cc8449d3a2c0a15e252ac (patch) | |
| tree | 5d1c22fe02b95328e583663bd2d37bcebed1e1c2 /llvm/lib/Transforms | |
| parent | ce2e535b19e0cf5de6476ff6319e601b2ff4ff9c (diff) | |
| download | bcm5719-llvm-d30e79f839ccd968168cc8449d3a2c0a15e252ac.tar.gz bcm5719-llvm-d30e79f839ccd968168cc8449d3a2c0a15e252ac.zip | |
Clean up the handling of the DeclaredDefaultConstructor and
DeclaredCopyConstructor bits in CXXRecordDecl's DefinitionData
structure. Rather than having Sema call addedConstructor or set the
bits directly at semi-random places, move all of the logic for
managing these bits into CXXRecordDecl itself and tie the
addedConstructor call into DeclContext::addDecl().
This makes it easier for AST-building clients to get the right bits
set in DefinitionData, and is one small part of <rdar://problem/8459981>.
llvm-svn: 114889
Diffstat (limited to 'llvm/lib/Transforms')
0 files changed, 0 insertions, 0 deletions

