diff options
author | Daniel Dunbar <daniel@zuster.org> | 2008-09-17 00:51:38 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2008-09-17 00:51:38 +0000 |
commit | 5627377df5439a1d3d46a4e4cef4ae44f84a322b (patch) | |
tree | 2cae32ee17e1b381ecdd942acec881e0b62f313b /lib/CodeGen/CodeGenTypes.h | |
parent | 1c9f81b90223a2588b5d2c95152f04896599322c (diff) |
Add support for ABIArgInfo::Expand
- No functionality change.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56269 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenTypes.h')
-rw-r--r-- | lib/CodeGen/CodeGenTypes.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/CodeGen/CodeGenTypes.h b/lib/CodeGen/CodeGenTypes.h index f9cc4ef08f..0c9ab7ef63 100644 --- a/lib/CodeGen/CodeGenTypes.h +++ b/lib/CodeGen/CodeGenTypes.h @@ -187,6 +187,11 @@ public: // These are internal details of CGT that shouldn't be used externally. /// ConvertTagDeclType - Lay out a tagged decl type like struct or union or /// enum. const llvm::Type *ConvertTagDeclType(const TagDecl *TD); + + /// GetExpandedTypes - Expand the type \arg Ty into the LLVM + /// argument types it would be passed as on the provided vector \arg + /// ArgTys. See ABIArgInfo::Expand. + void GetExpandedTypes(QualType Ty, std::vector<const llvm::Type*> &ArgTys); }; } // end namespace CodeGen |