Lines Matching refs:RecordDecl
2381 const RecordDecl *getParent() const { in getParent()
2382 return cast<RecordDecl>(getDeclContext()); in getParent()
2385 RecordDecl *getParent() { in getParent()
2386 return cast<RecordDecl>(getDeclContext()); in getParent()
3181 class RecordDecl : public TagDecl {
3208 RecordDecl(Kind DK, TagKind TK, const ASTContext &C, DeclContext *DC,
3210 IdentifierInfo *Id, RecordDecl *PrevDecl);
3213 static RecordDecl *Create(const ASTContext &C, TagKind TK, DeclContext *DC,
3215 IdentifierInfo *Id, RecordDecl* PrevDecl = nullptr);
3216 static RecordDecl *CreateDeserialized(const ASTContext &C, unsigned ID);
3218 RecordDecl *getPreviousDecl() { in getPreviousDecl()
3219 return cast_or_null<RecordDecl>( in getPreviousDecl()
3222 const RecordDecl *getPreviousDecl() const { in getPreviousDecl()
3223 return const_cast<RecordDecl*>(this)->getPreviousDecl(); in getPreviousDecl()
3226 RecordDecl *getMostRecentDecl() { in getMostRecentDecl()
3227 return cast<RecordDecl>(static_cast<TagDecl *>(this)->getMostRecentDecl()); in getMostRecentDecl()
3229 const RecordDecl *getMostRecentDecl() const { in getMostRecentDecl()
3230 return const_cast<RecordDecl*>(this)->getMostRecentDecl(); in getMostRecentDecl()
3293 RecordDecl *getDefinition() const { in getDefinition()
3294 return cast_or_null<RecordDecl>(TagDecl::getDefinition()); in getDefinition()