[cfe-commits] r43843 - /cfe/trunk/CodeGen/CodeGenTypes.cpp

Devang Patel dpatel at apple.com
Wed Nov 7 13:04:59 PST 2007


Author: dpatel
Date: Wed Nov  7 15:04:59 2007
New Revision: 43843

URL: http://llvm.org/viewvc/llvm-project?rev=43843&view=rev
Log:
Stay within 80 columns.

Modified:
    cfe/trunk/CodeGen/CodeGenTypes.cpp

Modified: cfe/trunk/CodeGen/CodeGenTypes.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/CodeGen/CodeGenTypes.cpp?rev=43843&r1=43842&r2=43843&view=diff

==============================================================================
--- cfe/trunk/CodeGen/CodeGenTypes.cpp (original)
+++ cfe/trunk/CodeGen/CodeGenTypes.cpp Wed Nov  7 15:04:59 2007
@@ -44,8 +44,8 @@
                       const FieldDecl *FD = NULL, unsigned Begin = 0, 
                       unsigned End = 0);
 
-    /// addPaddingFields - Current cursor is not suitable place to add next field.
-    /// Add required padding fields.
+    /// addPaddingFields - Current cursor is not suitable place to add next 
+    /// field. Add required padding fields.
     void addPaddingFields(unsigned RequiredBits);
 
     /// layoutStructFields - Do the actual work and lay out all fields. Create
@@ -263,7 +263,8 @@
       RecordOrganizer RO(*this);
       for (unsigned i = 0, e = RD->getNumMembers(); i != e; ++i)
         RO.addField(RD->getMember(i));
-      const ASTRecordLayout &RL = Context.getASTRecordLayout(RD, SourceLocation());
+      const ASTRecordLayout &RL = Context.getASTRecordLayout(RD, 
+                                                             SourceLocation());
       RO.layoutStructFields(RL);
 
       // Get llvm::StructType.
@@ -424,8 +425,8 @@
                  CGT.getTargetData().getTypeSizeInBits(llvm::Type::Int8Ty));
 }
 
-/// addLLVMField - Add llvm struct field that corresponds to llvm type Ty. Update
-/// cursor and increment field count. If field decl FD is available than update
+/// addLLVMField - Add llvm struct field that corresponds to llvm type Ty.
+/// Update cursor and increment field count. If field decl FD is available than 
 /// update field info at CodeGenTypes level.
 void RecordOrganizer::addLLVMField(const llvm::Type *Ty, uint64_t Size,
                                    const FieldDecl *FD, unsigned Begin,





More information about the cfe-commits mailing list