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 | 9dd2e0872e045bc7fe3c664a81bb537569059623 (patch) | |
tree | 458062e68f9d4b458483b9919c11b38587823db8 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | a312bb0879e95ec119a6555919ab66a29bce6a6a (diff) | |
download | bcm5719-llvm-9dd2e0872e045bc7fe3c664a81bb537569059623.tar.gz bcm5719-llvm-9dd2e0872e045bc7fe3c664a81bb537569059623.zip |
Add comment for my patch in r166809.
llvm-svn: 166823
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
-rw-r--r-- | clang/lib/CodeGen/CodeGenModule.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.cpp b/clang/lib/CodeGen/CodeGenModule.cpp index 65ba91a6389..9617de8eb7a 100644 --- a/clang/lib/CodeGen/CodeGenModule.cpp +++ b/clang/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(); |