diff options
author | Anders Carlsson <andersca@mac.com> | 2010-05-14 19:41:56 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@mac.com> | 2010-05-14 19:41:56 +0000 |
commit | 3e5af908ebf4c56b657c488bb2ca22f418e0868b (patch) | |
tree | 0f4e8ebe9b7a55cfef9d92448443911fe58831cf /lib/CodeGen/CodeGenTypes.h | |
parent | 509d477ae5a24282719320fe92038ccf57358840 (diff) |
Move ContainsPointerToDataMember to CodeGenTypes. No functionality change.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@103792 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenTypes.h')
-rw-r--r-- | lib/CodeGen/CodeGenTypes.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/CodeGen/CodeGenTypes.h b/lib/CodeGen/CodeGenTypes.h index 10e71e2a03..a2c222b9a6 100644 --- a/lib/CodeGen/CodeGenTypes.h +++ b/lib/CodeGen/CodeGenTypes.h @@ -186,6 +186,10 @@ public: // These are internal details of CGT that shouldn't be used externally. /// 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); + + /// ContainsPointerToDataMember - Return whether the given type contains a + /// pointer to a data member. + bool ContainsPointerToDataMember(QualType T); }; } // end namespace CodeGen |