Home
last modified time | relevance | path

Searched refs:FuncDecl (Results 1 – 5 of 5) sorted by relevance

/freebsd-12.1/contrib/llvm/tools/clang/lib/ARCMigrate/
H A DObjCMT.cpp69 const FunctionDecl *FuncDecl, bool ResultAnnotated);
1432 if (const FunctionDecl *FuncDecl = dyn_cast<FunctionDecl>(Decl)) { in migrateCFAnnotation() local
1477 commit.insertAfterToken(FuncDecl->getEndLoc(), AnnotationString); in AddCFAnnotations()
1483 for (FunctionDecl::param_const_iterator pi = FuncDecl->param_begin(), in AddCFAnnotations()
1484 pe = FuncDecl->param_end(); pi != pe; ++pi, ++i) { in AddCFAnnotations()
1507 if (FuncDecl->hasBody()) in migrateAddFunctionAnnotation()
1510 CallEffects CE = CallEffects::getEffect(FuncDecl); in migrateAddFunctionAnnotation()
1518 if (FuncIsReturnAnnotated && FuncDecl->getNumParams() == 0) in migrateAddFunctionAnnotation()
1527 else if (!AuditedType(FuncDecl->getReturnType())) in migrateAddFunctionAnnotation()
1537 pe = FuncDecl->param_end(); pi != pe; ++pi, ++i) { in migrateAddFunctionAnnotation()
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/lib/Analysis/
H A DExprMutationAnalyzer.cpp370 const auto FuncDecl = hasDeclaration(functionDecl().bind("func")); in findFunctionArgMutation() local
372 findAll(expr(anyOf(callExpr(NonConstRefParam, IsInstantiated, FuncDecl, in findFunctionArgMutation()
376 FuncDecl))) in findFunctionArgMutation()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Parse/
H A DParser.cpp1144 Decl *FuncDecl = Actions.HandleDeclarator(ParentScope, D, in ParseFunctionDefinition() local
1146 D.complete(FuncDecl); in ParseFunctionDefinition()
1148 if (FuncDecl) { in ParseFunctionDefinition()
1150 StashAwayMethodOrFunctionBodyTokens(FuncDecl); in ParseFunctionDefinition()
1152 return FuncDecl; in ParseFunctionDefinition()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaObjCProperty.cpp1494 if (const FunctionDecl *FuncDecl = CXXCE->getDirectCallee()) in ActOnPropertyImplDecl() local
1495 if (!FuncDecl->isTrivial()) in ActOnPropertyImplDecl()
1500 Diag(FuncDecl->getBeginLoc(), diag::note_callee_decl) in ActOnPropertyImplDecl()
1501 << FuncDecl; in ActOnPropertyImplDecl()
H A DSemaDeclAttr.cpp1674 const auto *FuncDecl = cast<FunctionDecl>(D); in AddAllocAlignAttr() local
1675 if (!checkFunctionOrMethodParameterIndex(*this, FuncDecl, TmpAttr, in AddAllocAlignAttr()
1683 << FuncDecl->getParamDecl(Idx.getASTIndex())->getSourceRange(); in AddAllocAlignAttr()