Lines Matching refs:RecordDecl
69 class RecordDecl;
2988 const RecordDecl *getParent() const {
2989 return dyn_cast<RecordDecl>(getDeclContext());
2992 RecordDecl *getParent() {
2993 return dyn_cast<RecordDecl>(getDeclContext());
3820 class RecordDecl : public TagDecl {
3849 RecordDecl(Kind DK, TagKind TK, const ASTContext &C, DeclContext *DC,
3851 IdentifierInfo *Id, RecordDecl *PrevDecl);
3854 static RecordDecl *Create(const ASTContext &C, TagKind TK, DeclContext *DC,
3856 IdentifierInfo *Id, RecordDecl* PrevDecl = nullptr);
3857 static RecordDecl *CreateDeserialized(const ASTContext &C, unsigned ID);
3859 RecordDecl *getPreviousDecl() {
3860 return cast_or_null<RecordDecl>(
3863 const RecordDecl *getPreviousDecl() const {
3864 return const_cast<RecordDecl*>(this)->getPreviousDecl();
3867 RecordDecl *getMostRecentDecl() {
3868 return cast<RecordDecl>(static_cast<TagDecl *>(this)->getMostRecentDecl());
3870 const RecordDecl *getMostRecentDecl() const {
3871 return const_cast<RecordDecl*>(this)->getMostRecentDecl();
4017 /// Returns the RecordDecl that actually defines
4022 /// RecordDecl is a completed definition, not whether or not the
4024 /// no RecordDecl that defines the struct/union/tag.
4025 RecordDecl *getDefinition() const {
4026 return cast_or_null<RecordDecl>(TagDecl::getDefinition());