diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2012-10-26 22:20:25 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2012-10-26 22:20:25 +0000 |
commit | 107dae4c7afca73e97d2689d6f644c13ac3048a4 (patch) | |
tree | ac4a99f8d063996d2d176a91a4de2d7cb1952b78 /lib/CodeGen | |
parent | 3b334036d3ee581352cfe62ccac0e4c6592bcf35 (diff) |
Add comment for my patch in r166809.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@166823 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen')
-rw-r--r-- | lib/CodeGen/CodeGenModule.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/CodeGen/CodeGenModule.cpp b/lib/CodeGen/CodeGenModule.cpp index 65ba91a638..9617de8eb7 100644 --- a/lib/CodeGen/CodeGenModule.cpp +++ b/lib/CodeGen/CodeGenModule.cpp @@ -2583,6 +2583,8 @@ void CodeGenModule::EmitLinkageSpec(const LinkageSpecDecl *LSD) { for (RecordDecl::decl_iterator I = LSD->decls_begin(), E = LSD->decls_end(); I != E; ++I) { + // Meta-data for ObjC class includes references to implemented methods. + // Generate class's method definitions first. if (ObjCImplDecl *OID = dyn_cast<ObjCImplDecl>(*I)) { for (ObjCContainerDecl::method_iterator M = OID->meth_begin(), MEnd = OID->meth_end(); |