diff options
author | Chris Lattner <sabre@nondot.org> | 2008-02-06 05:18:32 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-02-06 05:18:32 +0000 |
commit | fc3b8e9c1381d5e6ec361591d649c56a870ff971 (patch) | |
tree | eb43b334886da5f39174fed2971878618b493303 /CodeGen/CodeGenTypes.h | |
parent | 6ef58e36bbbfa232fe8b50309361e841985abfc6 (diff) |
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
Diffstat (limited to 'CodeGen/CodeGenTypes.h')
-rw-r--r-- | CodeGen/CodeGenTypes.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/CodeGen/CodeGenTypes.h b/CodeGen/CodeGenTypes.h index 2ce718579b..166d10300b 100644 --- a/CodeGen/CodeGenTypes.h +++ b/CodeGen/CodeGenTypes.h @@ -152,8 +152,13 @@ public: // These are internal details of CGT that shouldn't be used externally. /// 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 |