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/Sema/SemaDeclObjC.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/Sema/SemaDeclObjC.cpp')
-rw-r--r-- | lib/Sema/SemaDeclObjC.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Sema/SemaDeclObjC.cpp b/lib/Sema/SemaDeclObjC.cpp index 3545eb0c0a..417803e5c1 100644 --- a/lib/Sema/SemaDeclObjC.cpp +++ b/lib/Sema/SemaDeclObjC.cpp @@ -588,7 +588,7 @@ void Sema::CheckImplementationIvars(ObjCImplementationDecl *ImpDecl, /// Add implementations's ivar to the synthesize class's ivar list. if (IDecl->ImplicitInterfaceDecl()) { IDecl->addInstanceVariablesToClass(ivars, numIvars, RBrace); - IDecl->addLayoutToClass(Context); + IDecl->addRecordToClass(Context); return; } // If implementation has empty ivar list, just return. |