reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
395 assert(F && "Matcher is expected to find only FunctionDecls"); 397 if (F->getLocation().isInvalid()) 401 if (F->getDeclaredReturnType()->isFunctionPointerType() || 402 F->getDeclaredReturnType()->isMemberFunctionPointerType() || 403 F->getDeclaredReturnType()->isMemberPointerType() || 404 F->getDeclaredReturnType()->getAs<DecltypeType>() != nullptr) { 405 diag(F->getLocation(), Message); 413 const TypeSourceInfo *TSI = F->getTypeSourceInfo(); 423 diag(F->getLocation(), Message); 428 findTrailingReturnTypeSourceLocation(*F, FTL, Ctx, SM, LangOpts); 430 diag(F->getLocation(), Message); 438 findReturnTypeAndCVSourceRange(*F, Ctx, SM, LangOpts); 450 UnqualNameVisitor UNV{*F}; 453 diag(F->getLocation(), Message); 468 keepSpecifiers(ReturnType, Auto, ReturnTypeCVRange, *F, Fr, Ctx, SM, 471 diag(F->getLocation(), Message)