Lines Matching refs:CXXRecordDecl
352 CXXRecordDecl *RD = cast<CXXRecordDecl>(CurContext);
353 for (CXXRecordDecl::base_class_const_iterator Base = RD->bases_begin(),
788 if (!isa<CXXRecordDecl>(DC))
794 while (CXXRecordDecl *RD = dyn_cast<CXXRecordDecl>(DC->getLexicalParent()))
1176 if (const CXXRecordDecl *RD = dyn_cast<CXXRecordDecl>(Tag)) {
1546 if (!isa<CXXRecordDecl>(CurContext))
3059 CXXRecordDecl *CurClass = dyn_cast<CXXRecordDecl>(CurContext);
3245 if (CXXRecordDecl *Record = dyn_cast<CXXRecordDecl>(DC))
3327 Context.getTypeDeclType(cast<CXXRecordDecl>(Cur))))
3397 if (isa<CXXRecordDecl>(DC) && !cast<CXXRecordDecl>(DC)->hasDefinition()) {
3989 if (const CXXRecordDecl *RD = dyn_cast<CXXRecordDecl>(DC)) {
4441 /// CXXRecordDecl::lookupInBases().
4481 bool Sema::AddOverriddenMethods(CXXRecordDecl *DC, CXXMethodDecl *MD) {
4523 DifferentNameValidatorCCC(CXXRecordDecl *Parent)
4531 CXXRecordDecl *Parent = MD->getParent();
4539 CXXRecordDecl *ExpectedParent;
4772 return CXXConstructorDecl::Create(SemaRef.Context, cast<CXXRecordDecl>(DC),
4782 CXXRecordDecl *Record = cast<CXXRecordDecl>(DC);
4823 return CXXConversionDecl::Create(SemaRef.Context, cast<CXXRecordDecl>(DC),
4834 Name.getAsIdentifierInfo() == cast<CXXRecordDecl>(DC)->getIdentifier()){
4859 return CXXMethodDecl::Create(SemaRef.Context, cast<CXXRecordDecl>(DC),
5077 const CXXRecordDecl *RD = T->getAsCXXRecordDecl();
5515 if (isa<CXXRecordDecl>(NewFD->getDeclContext()))
5560 } else if (isFriend && cast<CXXRecordDecl>(CurContext)->isLocalClass()) {
5803 CXXRecordDecl *Record = Destructor->getParent();
6666 CXXRecordDecl *CXXRecord = cast<CXXRecordDecl>(Record->getDecl());
7885 if (const CXXRecordDecl *Record = dyn_cast<CXXRecordDecl>(Previous))
8342 if (CXXRecordDecl *RD = dyn_cast<CXXRecordDecl>(Def))
8525 New = CXXRecordDecl::Create(Context, Kind, SearchDC, KWLoc, Loc, Name,
8526 cast_or_null<CXXRecordDecl>(PrevDecl));
8529 StdBadAlloc = cast<CXXRecordDecl>(New);
8682 CXXRecordDecl *Record = cast<CXXRecordDecl>(TagD);
8697 CXXRecordDecl *InjectedClassName
8698 = CXXRecordDecl::Create(Context, Record->getTagKind(), CurContext,
8726 if (isa<CXXRecordDecl>(Tag))
9058 CXXRecordDecl* RDecl = cast<CXXRecordDecl>(RT->getDecl());
9107 CXXRecordDecl* RDecl = cast<CXXRecordDecl>(RT->getDecl());
9170 CXXRecordDecl* RD = cast<CXXRecordDecl>(T->getDecl());
9179 typedef CXXRecordDecl::ctor_iterator ctor_iter;
9185 typedef CXXRecordDecl::specific_decl_iterator<FunctionTemplateDecl>
9241 typedef CXXRecordDecl::base_class_iterator base_iter;
9256 typedef CXXRecordDecl::method_iterator meth_iter;
9267 bool (CXXRecordDecl::*hasTrivial)() const;
9270 hasTrivial = &CXXRecordDecl::hasTrivialDefaultConstructor; break;
9272 hasTrivial = &CXXRecordDecl::hasTrivialCopyConstructor; break;
9274 hasTrivial = &CXXRecordDecl::hasTrivialCopyAssignment; break;
9276 hasTrivial = &CXXRecordDecl::hasTrivialDestructor; break;
9285 CXXRecordDecl *BaseRecTy = cast<CXXRecordDecl>(BaseRT->getDecl());
9300 CXXRecordDecl* EltRD = cast<CXXRecordDecl>(EltRT->getDecl());
9688 if (CXXRecordDecl *CXXRecord = dyn_cast<CXXRecordDecl>(Record)) {
9703 // This rule is also handled by CXXRecordDecl::completeDefinition().
10129 if (CXXRecordDecl *Record
10130 = dyn_cast<CXXRecordDecl>(