diff options
| author | Douglas Gregor <dgregor@apple.com> | 2010-09-27 23:31:14 +0000 |
|---|---|---|
| committer | Douglas Gregor <dgregor@apple.com> | 2010-09-27 23:31:14 +0000 |
| commit | 01daafc58a7fec37dfc41877f2a386cba0b6c5d3 (patch) | |
| tree | 2dd6ff56245346b45546b6818d176c04329bd3e9 /clang/lib/AST/ASTContext.cpp | |
| parent | 6316021baea81f47cb561c3d77679faa78aa87cf (diff) | |
| download | bcm5719-llvm-01daafc58a7fec37dfc41877f2a386cba0b6c5d3.tar.gz bcm5719-llvm-01daafc58a7fec37dfc41877f2a386cba0b6c5d3.zip | |
Centralize the management of CXXRecordDecl::DefinitionData's Empty bit
in CXXRecordDecl itself. Yes, this is also part of <rdar://problem/8459981>.
llvm-svn: 114924
Diffstat (limited to 'clang/lib/AST/ASTContext.cpp')
| -rw-r--r-- | clang/lib/AST/ASTContext.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/clang/lib/AST/ASTContext.cpp b/clang/lib/AST/ASTContext.cpp index fdeac1ebf87..57780ef981c 100644 --- a/clang/lib/AST/ASTContext.cpp +++ b/clang/lib/AST/ASTContext.cpp @@ -3138,10 +3138,6 @@ QualType ASTContext::getObjCFastEnumerationStateType() { Field->setAccess(AS_public); ObjCFastEnumerationStateTypeDecl->addDecl(Field); } - if (getLangOptions().CPlusPlus) - if (CXXRecordDecl *CXXRD = - dyn_cast<CXXRecordDecl>(ObjCFastEnumerationStateTypeDecl)) - CXXRD->setEmpty(false); ObjCFastEnumerationStateTypeDecl->completeDefinition(); } |

