reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
4976 if (!FD) { 4988 if (HasMultiVersionAttributes(FD)) { 4989 Diag(FD->getLocation(), diag::err_omp_declare_variant_incompat_attributes) 4995 if (FD->isUsed(false)) 4997 << FD->getLocation(); 5001 if (!FD->isThisDeclarationADefinition() && FD->isDefined(Definition) && 5001 if (!FD->isThisDeclarationADefinition() && FD->isDefined(Definition) && 5004 << FD->getLocation(); 5015 VariantRef->isInstantiationDependent() || FD->isDependentContext()) 5016 return std::make_pair(FD, VariantRef); 5023 auto *Method = dyn_cast<CXXMethodDecl>(FD); 5027 FnPtrType = Context.getMemberPointerType(FD->getType(), ClassType); 5043 FnPtrType = Context.getPointerType(FD->getType()); 5115 if (const auto *CXXFD = dyn_cast<CXXMethodDecl>(FD)) { 5117 Diag(FD->getLocation(), diag::err_omp_declare_variant_doesnt_support) 5122 if (isa<CXXConstructorDecl>(FD)) { 5123 Diag(FD->getLocation(), diag::err_omp_declare_variant_doesnt_support) 5128 if (isa<CXXDestructorDecl>(FD)) { 5129 Diag(FD->getLocation(), diag::err_omp_declare_variant_doesnt_support) 5135 if (FD->isDeleted()) { 5136 Diag(FD->getLocation(), diag::err_omp_declare_variant_doesnt_support) 5141 if (FD->isDefaulted()) { 5142 Diag(FD->getLocation(), diag::err_omp_declare_variant_doesnt_support) 5147 if (FD->isConstexpr()) { 5148 Diag(FD->getLocation(), diag::err_omp_declare_variant_doesnt_support) 5155 FD, NewFD, PDiag(diag::err_omp_declare_variant_noproto), 5164 << FD->getLocation()), 5168 return std::make_pair(FD, cast<Expr>(DRE));