split tagged decl layout into its own method.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@46803 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/CodeGen/CodeGenTypes.h b/CodeGen/CodeGenTypes.h
index 2ce7185..166d103 100644
--- a/CodeGen/CodeGenTypes.h
+++ b/CodeGen/CodeGenTypes.h
@@ -152,8 +152,13 @@
   /// addBitFieldInfo - Assign a start bit and a size to field FD.
   void addBitFieldInfo(const FieldDecl *FD, unsigned Begin, unsigned Size);
 
-  /// getBitFieldInfo - Return the BitFieldInfo  that corresponds to the field FD.
+  /// getBitFieldInfo - Return the BitFieldInfo  that corresponds to the field
+  /// FD.
   BitFieldInfo getBitFieldInfo(const FieldDecl *FD);
+
+  /// ConvertTagDeclType - Lay out a tagged decl type like struct or union or
+  /// enum.
+  const llvm::Type *ConvertTagDeclType(QualType T, const TagDecl *TD);
 };
 
 }  // end namespace CodeGen