aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenTypes.h
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@mac.com>2010-05-18 03:47:15 +0000
committerAnders Carlsson <andersca@mac.com>2010-05-18 03:47:15 +0000
commitc39211d2aef5b8ca2bc69c9fb81ca3dfb3711eb0 (patch)
treed0e326b26b91de077e127dc0a8e769a3233b5002 /lib/CodeGen/CodeGenTypes.h
parent0fb97083cc0f8a82e404e22991ae80d2216e71d5 (diff)
Add CodeGenTypes::ContainsPointerToDataMember overload that takes a CXXRecordDecl.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@104011 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenTypes.h')
-rw-r--r--lib/CodeGen/CodeGenTypes.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/CodeGen/CodeGenTypes.h b/lib/CodeGen/CodeGenTypes.h
index a2c222b9a6..fc28c3ae33 100644
--- a/lib/CodeGen/CodeGenTypes.h
+++ b/lib/CodeGen/CodeGenTypes.h
@@ -190,6 +190,10 @@ public: // These are internal details of CGT that shouldn't be used externally.
/// ContainsPointerToDataMember - Return whether the given type contains a
/// pointer to a data member.
bool ContainsPointerToDataMember(QualType T);
+
+ /// ContainsPointerToDataMember - Return whether the record decl contains a
+ /// pointer to a data member.
+ bool ContainsPointerToDataMember(const CXXRecordDecl *RD);
};
} // end namespace CodeGen