diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2008-12-15 21:58:08 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2008-12-15 21:58:08 +0000 |
commit | 9ee92e84ecf085ccbe6f877d1c6e1500961bbbce (patch) | |
tree | bccb5d2d6034a1182cae17af0bb4e50fabdefb30 /lib/AST/DeclObjC.cpp | |
parent | 9e7d9de3ef538c1473248238b76a6d7b16f5f684 (diff) |
Name of addLayoutToClass is confusing as no layout calculation
is done. Layout is calculated lazily at code gen type.
This patch changes the name.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@61054 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/DeclObjC.cpp')
-rw-r--r-- | lib/AST/DeclObjC.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/AST/DeclObjC.cpp b/lib/AST/DeclObjC.cpp index 50f45e8579..7e2a99fb26 100644 --- a/lib/AST/DeclObjC.cpp +++ b/lib/AST/DeclObjC.cpp @@ -377,10 +377,10 @@ FieldDecl *ObjCInterfaceDecl::lookupFieldDeclForIvar(ASTContext &Context, return MemberDecl; } -/// addLayoutToClass - produces layout info. for the class for its +/// addRecordToClass - produces record info. for the class for its /// ivars and all those inherited. /// -void ObjCInterfaceDecl::addLayoutToClass(ASTContext &Context) +void ObjCInterfaceDecl::addRecordToClass(ASTContext &Context) { std::vector<FieldDecl*> RecFields; CollectObjCIvars(RecFields); |