[cfe-commits] r166823 - /cfe/trunk/lib/CodeGen/CodeGenModule.cpp

Fariborz Jahanian fjahanian at apple.com
Fri Oct 26 15:20:25 PDT 2012


Author: fjahanian
Date: Fri Oct 26 17:20:25 2012
New Revision: 166823

URL: http://llvm.org/viewvc/llvm-project?rev=166823&view=rev
Log:
Add comment for my patch in r166809.


Modified:
    cfe/trunk/lib/CodeGen/CodeGenModule.cpp

Modified: cfe/trunk/lib/CodeGen/CodeGenModule.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CodeGenModule.cpp?rev=166823&r1=166822&r2=166823&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CodeGenModule.cpp (original)
+++ cfe/trunk/lib/CodeGen/CodeGenModule.cpp Fri Oct 26 17:20:25 2012
@@ -2583,6 +2583,8 @@
 
   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();





More information about the cfe-commits mailing list