Searched refs:FunDecl (Results 1 – 10 of 10) sorted by relevance
| /freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| H A D | CheckerContext.h | 363 StringRef getCalleeName(const FunctionDecl *FunDecl) const; 367 const FunctionDecl *FunDecl = getCalleeDecl(CE); in getCalleeIdentifier() local 368 if (FunDecl) in getCalleeIdentifier() 369 return FunDecl->getIdentifier(); in getCalleeIdentifier() 376 const FunctionDecl *FunDecl = getCalleeDecl(CE); in getCalleeName() local 377 return getCalleeName(FunDecl); in getCalleeName()
|
| /freebsd/contrib/llvm-project/clang/lib/Analysis/ |
| H A D | Consumed.cpp | 182 static bool isTestingFunction(const FunctionDecl *FunDecl) { in isTestingFunction() argument 183 return FunDecl->hasAttr<TestTypestateAttr>(); in isTestingFunction() 258 static ConsumedState testsFor(const FunctionDecl *FunDecl) { in testsFor() argument 259 assert(isTestingFunction(FunDecl)); in testsFor() 260 switch (FunDecl->getAttr<TestTypestateAttr>()->getTestState()) { in testsFor() 488 const FunctionDecl *FunDecl, 573 const FunctionDecl *FunDecl, in checkCallability() argument 577 const CallableWhenAttr *CWAttr = FunDecl->getAttr<CallableWhenAttr>(); in checkCallability() 588 FunDecl->getNameAsString(), PInfo.getVar()->getNameAsString(), in checkCallability() 597 FunDecl->getNameAsString(), stateToString(TmpState), BlameLoc); in checkCallability() [all …]
|
| H A D | ThreadSafety.cpp | 1550 auto *FunDecl = dyn_cast_or_null<NamedDecl>(Exp->getCalleeDecl()); in getEdgeLockset() local 1551 if (!FunDecl || !FunDecl->hasAttr<TryAcquireCapabilityAttr>()) in getEdgeLockset() 1558 for (const auto *Attr : FunDecl->specific_attrs<TryAcquireCapabilityAttr>()) in getEdgeLockset() 1560 Exp, FunDecl, PredBlock, CurrBlock, Attr->getSuccessValue(), in getEdgeLockset()
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | CheckerContext.cpp | 32 StringRef CheckerContext::getCalleeName(const FunctionDecl *FunDecl) const { in getCalleeName() 33 if (!FunDecl) in getCalleeName() 35 IdentifierInfo *funI = FunDecl->getIdentifier(); in getCalleeName()
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/ |
| H A D | ASTResultSynthesizer.h | 124 bool SynthesizeFunctionResult(clang::FunctionDecl *FunDecl);
|
| H A D | ASTResultSynthesizer.cpp | 115 bool ASTResultSynthesizer::SynthesizeFunctionResult(FunctionDecl *FunDecl) { in SynthesizeFunctionResult() argument 121 FunctionDecl *function_decl = FunDecl; in SynthesizeFunctionResult()
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | NullabilityChecker.cpp | 692 if (const auto *FunDecl = C.getLocationContext()->getDecl(); in checkPreStmt() local 693 FunDecl && FunDecl->getAttr<ReturnsNonNullAttr>() && in checkPreStmt()
|
| /freebsd/contrib/llvm-project/clang/lib/Parse/ |
| H A D | ParseDeclCXX.cpp | 3093 Decl *FunDecl = ParseCXXInlineMethodDef(AS, AccessAttrs, DeclaratorInfo, in ParseCXXClassMemberDeclaration() local 3096 if (FunDecl) { in ParseCXXClassMemberDeclaration() 3098 CommonLateParsedAttrs[i]->addDecl(FunDecl); in ParseCXXClassMemberDeclaration() 3101 LateParsedAttrs[i]->addDecl(FunDecl); in ParseCXXClassMemberDeclaration() 3110 return DeclGroupPtrTy::make(DeclGroupRef(FunDecl)); in ParseCXXClassMemberDeclaration()
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaOverload.cpp | 13665 if (FunctionDecl *FunDecl = dyn_cast<FunctionDecl>(Fn)) { in AddMatchingNonTemplateFunction() local 13669 !S.CUDA().IsAllowedCall(Caller, FunDecl)) in AddMatchingNonTemplateFunction() 13672 if (FunDecl->isMultiVersion()) { in AddMatchingNonTemplateFunction() 13673 const auto *TA = FunDecl->getAttr<TargetAttr>(); in AddMatchingNonTemplateFunction() 13676 const auto *TVA = FunDecl->getAttr<TargetVersionAttr>(); in AddMatchingNonTemplateFunction() 13683 if (completeFunctionType(S, FunDecl, SourceExpr->getBeginLoc(), in AddMatchingNonTemplateFunction() 13689 if (!S.checkAddressOfFunctionIsAvailable(FunDecl)) in AddMatchingNonTemplateFunction() 13694 candidateHasExactlyCorrectType(FunDecl)) { in AddMatchingNonTemplateFunction() 13696 CurAccessFunPair, cast<FunctionDecl>(FunDecl->getCanonicalDecl()))); in AddMatchingNonTemplateFunction()
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | ASTImporter.cpp | 2153 FunctionDecl *FunDecl; in ImportDeclParts() local 2154 if (isa<RecordDecl>(D) && (FunDecl = dyn_cast<FunctionDecl>(OrigDC)) && in ImportDeclParts() 2155 FunDecl->hasBody()) { in ImportDeclParts() 2162 for (const ParmVarDecl *P : FunDecl->parameters()) { in ImportDeclParts()
|