Home
last modified time | relevance | path

Searched refs:FunDecl (Results 1 – 9 of 9) sorted by relevance

/freebsd-12.1/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DCheckerContext.h231 StringRef getCalleeName(const FunctionDecl *FunDecl) const;
235 const FunctionDecl *FunDecl = getCalleeDecl(CE); in getCalleeIdentifier() local
236 if (FunDecl) in getCalleeIdentifier()
237 return FunDecl->getIdentifier(); in getCalleeIdentifier()
244 const FunctionDecl *FunDecl = getCalleeDecl(CE); in getCalleeName() local
245 return getCalleeName(FunDecl); in getCalleeName()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Analysis/
H A DConsumed.cpp187 return FunDecl->hasAttr<TestTypestateAttr>(); in isTestingFunction()
267 assert(isTestingFunction(FunDecl)); in testsFor()
496 const FunctionDecl *FunDecl,
742 const FunctionDecl *FunDecl = Call->getDirectCallee(); in VisitCallExpr() local
743 if (!FunDecl) in VisitCallExpr()
753 handleCall(Call, nullptr, FunDecl); in VisitCallExpr()
754 propagateReturnType(Call, FunDecl); in VisitCallExpr()
816 if (!FunDecl) return; in VisitCXXOperatorCallExpr()
820 if (!handleCall(Call, Call->getArg(0), FunDecl)) in VisitCXXOperatorCallExpr()
828 handleCall(Call, Call->getArg(0), FunDecl); in VisitCXXOperatorCallExpr()
[all …]
H A DThreadSafety.cpp1514 auto *FunDecl = dyn_cast_or_null<NamedDecl>(Exp->getCalleeDecl()); in getEdgeLockset() local
1515 if(!FunDecl || !FunDecl->hasAttrs()) in getEdgeLockset()
1522 for (const auto *Attr : FunDecl->attrs()) { in getEdgeLockset()
1527 Exp, FunDecl, PredBlock, CurrBlock, A->getSuccessValue(), in getEdgeLockset()
1534 getMutexIDs(ExclusiveLocksToAdd, A, Exp, FunDecl, in getEdgeLockset()
1541 getMutexIDs(SharedLocksToAdd, A, Exp, FunDecl, in getEdgeLockset()
/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
H A DCheckerContext.cpp28 StringRef CheckerContext::getCalleeName(const FunctionDecl *FunDecl) const { in getCalleeName()
29 if (!FunDecl) in getCalleeName()
31 IdentifierInfo *funI = FunDecl->getIdentifier(); in getCalleeName()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/ExpressionParser/Clang/
H A DASTResultSynthesizer.h150 bool SynthesizeFunctionResult(clang::FunctionDecl *FunDecl);
H A DASTResultSynthesizer.cpp114 bool ASTResultSynthesizer::SynthesizeFunctionResult(FunctionDecl *FunDecl) { in SynthesizeFunctionResult() argument
120 FunctionDecl *function_decl = FunDecl; in SynthesizeFunctionResult()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Parse/
H A DParseDeclCXX.cpp2695 Decl *FunDecl = in ParseCXXClassMemberDeclaration() local
2699 if (FunDecl) { in ParseCXXClassMemberDeclaration()
2701 CommonLateParsedAttrs[i]->addDecl(FunDecl); in ParseCXXClassMemberDeclaration()
2704 LateParsedAttrs[i]->addDecl(FunDecl); in ParseCXXClassMemberDeclaration()
2713 return DeclGroupPtrTy::make(DeclGroupRef(FunDecl)); in ParseCXXClassMemberDeclaration()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaOverload.cpp11162 if (FunctionDecl *FunDecl = dyn_cast<FunctionDecl>(Fn)) { in AddMatchingNonTemplateFunction() local
11165 if (!Caller->isImplicit() && !S.IsAllowedCUDACall(Caller, FunDecl)) in AddMatchingNonTemplateFunction()
11167 if (FunDecl->isMultiVersion()) { in AddMatchingNonTemplateFunction()
11168 const auto *TA = FunDecl->getAttr<TargetAttr>(); in AddMatchingNonTemplateFunction()
11175 if (completeFunctionType(S, FunDecl, SourceExpr->getBeginLoc(), in AddMatchingNonTemplateFunction()
11181 if (!S.checkAddressOfFunctionIsAvailable(FunDecl)) in AddMatchingNonTemplateFunction()
11186 candidateHasExactlyCorrectType(FunDecl)) { in AddMatchingNonTemplateFunction()
11188 CurAccessFunPair, cast<FunctionDecl>(FunDecl->getCanonicalDecl()))); in AddMatchingNonTemplateFunction()
/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DASTImporter.cpp1532 FunctionDecl *FunDecl; in ImportDeclParts() local
1533 if (isa<RecordDecl>(D) && (FunDecl = dyn_cast<FunctionDecl>(OrigDC)) && in ImportDeclParts()
1534 FunDecl->hasBody()) { in ImportDeclParts()
1541 for (const ParmVarDecl *P : FunDecl->parameters()) { in ImportDeclParts()