Lines Matching refs:RD
753 CXXRecordDecl *RD = dyn_cast<CXXRecordDecl>(D->getDeclContext());
754 if (DT && RD && isa<ConditionalOperator>(DT->getUnderlyingExpr()) &&
756 RD->getEnclosingNamespaceContext() == SemaRef.getStdNamespace() &&
757 RD->getIdentifier() && RD->getIdentifier()->isStr("common_type") &&
2944 if (auto *RD = dyn_cast<CXXRecordDecl>(SemaRef.CurContext))
2946 SemaRef.Context.getCanonicalType(SemaRef.Context.getRecordType(RD))));
3725 FunctionDecl *Sema::SubstSpaceshipAsEqualEqual(CXXRecordDecl *RD,
3736 NoTemplateArgs.addOuterRetainedLevels(RD->getTemplateDepth());
3737 TemplateDeclInstantiator Instantiator(*this, RD, NoTemplateArgs);
3754 FriendDecl::Create(Context, RD, Spaceship->getLocation(),
3757 RD->addDecl(FD);
5824 if (CXXRecordDecl *RD = dyn_cast<CXXRecordDecl>(D))
5825 NeedInstantiate = RD->isLocalClass();