reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
4227 if (!FD->getReturnType()->isVoidType() && 4228 !FD->getReturnType()->getAs<AutoType>() && 4229 !FD->getReturnType()->isInstantiationDependentType()) { 4230 SourceRange RTRange = FD->getReturnTypeSourceRange(); 4231 S.Diag(FD->getTypeSpecStartLoc(), diag::err_kern_type_not_void_return) 4232 << FD->getType() 4237 if (const auto *Method = dyn_cast<CXXMethodDecl>(FD)) { 4246 if (FD->isInlineSpecified() && !S.getLangOpts().CUDAIsDevice) 4247 S.Diag(FD->getBeginLoc(), diag::warn_kern_is_inline) << FD; 4247 S.Diag(FD->getBeginLoc(), diag::warn_kern_is_inline) << FD;