diff options
| author | Fariborz Jahanian <fjahanian@apple.com> | 2009-04-08 21:54:52 +0000 | 
|---|---|---|
| committer | Fariborz Jahanian <fjahanian@apple.com> | 2009-04-08 21:54:52 +0000 | 
| commit | 9c9f742ee250def58de0f79345b26584e89c54fa (patch) | |
| tree | 9fe7bbc22e25ad288c5f188110bad77d0d39c5c4 | |
| parent | 3b2df10c9ed9b92c0c2ae4c84b5e649f52002176 (diff) | |
| download | bcm5719-llvm-9c9f742ee250def58de0f79345b26584e89c54fa.tar.gz bcm5719-llvm-9c9f742ee250def58de0f79345b26584e89c54fa.zip | |
Added a FIXME.
llvm-svn: 68646
| -rw-r--r-- | clang/lib/AST/ASTContext.cpp | 2 | 
1 files changed, 2 insertions, 0 deletions
| diff --git a/clang/lib/AST/ASTContext.cpp b/clang/lib/AST/ASTContext.cpp index d056ed4cb70..aaec98830e5 100644 --- a/clang/lib/AST/ASTContext.cpp +++ b/clang/lib/AST/ASTContext.cpp @@ -679,6 +679,8 @@ ASTContext::getASTObjCInterfaceLayout(const ObjCInterfaceDecl *D) {    // Allocate and assign into ASTRecordLayouts here.  The "Entry" reference can    // be invalidated (dangle) if the ASTRecordLayouts hashtable is inserted into.    ASTRecordLayout *NewEntry = NULL; +  // FIXME. Add actual count of synthesized ivars, instead of count +  // of properties which is the upper bound, but is safe.    unsigned FieldCount =       D->ivar_size() + std::distance(D->prop_begin(), D->prop_end());    if (ObjCInterfaceDecl *SD = D->getSuperClass()) { | 

