| /llvm-project-15.0.7/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| H A D | CheckerContext.h | 335 StringRef getCalleeName(const FunctionDecl *FunDecl) const; 339 const FunctionDecl *FunDecl = getCalleeDecl(CE); in getCalleeIdentifier() local 340 if (FunDecl) in getCalleeIdentifier() 341 return FunDecl->getIdentifier(); in getCalleeIdentifier() 348 const FunctionDecl *FunDecl = getCalleeDecl(CE); in getCalleeName() local 349 return getCalleeName(FunDecl); in getCalleeName()
|
| /llvm-project-15.0.7/clang/lib/Analysis/ |
| H A D | Consumed.cpp | 186 return FunDecl->hasAttr<TestTypestateAttr>(); in isTestingFunction() 266 assert(isTestingFunction(FunDecl)); in testsFor() 495 const FunctionDecl *FunDecl, 741 const FunctionDecl *FunDecl = Call->getDirectCallee(); in VisitCallExpr() local 742 if (!FunDecl) in VisitCallExpr() 752 handleCall(Call, nullptr, FunDecl); in VisitCallExpr() 753 propagateReturnType(Call, FunDecl); in VisitCallExpr() 815 if (!FunDecl) return; in VisitCXXOperatorCallExpr() 819 if (!handleCall(Call, Call->getArg(0), FunDecl)) in VisitCXXOperatorCallExpr() 827 handleCall(Call, Call->getArg(0), FunDecl); in VisitCXXOperatorCallExpr() [all …]
|
| H A D | ThreadSafety.cpp | 1476 auto *FunDecl = dyn_cast_or_null<NamedDecl>(Exp->getCalleeDecl()); in getEdgeLockset() local 1477 if(!FunDecl || !FunDecl->hasAttrs()) in getEdgeLockset() 1484 for (const auto *Attr : FunDecl->attrs()) { in getEdgeLockset() 1489 Exp, FunDecl, PredBlock, CurrBlock, A->getSuccessValue(), in getEdgeLockset() 1495 getMutexIDs(ExclusiveLocksToAdd, A, Exp, FunDecl, PredBlock, CurrBlock, in getEdgeLockset() 1501 getMutexIDs(SharedLocksToAdd, A, Exp, FunDecl, PredBlock, CurrBlock, in getEdgeLockset()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/ |
| H A D | CheckerContext.cpp | 31 StringRef CheckerContext::getCalleeName(const FunctionDecl *FunDecl) const { in getCalleeName() 32 if (!FunDecl) in getCalleeName() 34 IdentifierInfo *funI = FunDecl->getIdentifier(); in getCalleeName()
|
| /llvm-project-15.0.7/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()
|
| /llvm-project-15.0.7/llvm/tools/llvm-c-test/ |
| H A D | echo.cpp | 975 goto FunDecl; in declare_symbols() 999 FunDecl: in declare_symbols()
|
| /llvm-project-15.0.7/clang/lib/Parse/ |
| H A D | ParseDeclCXX.cpp | 2867 Decl *FunDecl = ParseCXXInlineMethodDef(AS, AccessAttrs, DeclaratorInfo, in ParseCXXClassMemberDeclaration() local 2870 if (FunDecl) { in ParseCXXClassMemberDeclaration() 2872 CommonLateParsedAttrs[i]->addDecl(FunDecl); in ParseCXXClassMemberDeclaration() 2875 LateParsedAttrs[i]->addDecl(FunDecl); in ParseCXXClassMemberDeclaration() 2884 return DeclGroupPtrTy::make(DeclGroupRef(FunDecl)); in ParseCXXClassMemberDeclaration()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaOverload.cpp | 12232 if (FunctionDecl *FunDecl = dyn_cast<FunctionDecl>(Fn)) { in AddMatchingNonTemplateFunction() local 12235 if (!Caller->isImplicit() && !S.IsAllowedCUDACall(Caller, FunDecl)) in AddMatchingNonTemplateFunction() 12237 if (FunDecl->isMultiVersion()) { in AddMatchingNonTemplateFunction() 12238 const auto *TA = FunDecl->getAttr<TargetAttr>(); in AddMatchingNonTemplateFunction() 12245 if (completeFunctionType(S, FunDecl, SourceExpr->getBeginLoc(), in AddMatchingNonTemplateFunction() 12251 if (!S.checkAddressOfFunctionIsAvailable(FunDecl)) in AddMatchingNonTemplateFunction() 12256 candidateHasExactlyCorrectType(FunDecl)) { in AddMatchingNonTemplateFunction() 12258 CurAccessFunPair, cast<FunctionDecl>(FunDecl->getCanonicalDecl()))); in AddMatchingNonTemplateFunction()
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | ASTImporter.cpp | 1704 FunctionDecl *FunDecl; in ImportDeclParts() local 1705 if (isa<RecordDecl>(D) && (FunDecl = dyn_cast<FunctionDecl>(OrigDC)) && in ImportDeclParts() 1706 FunDecl->hasBody()) { in ImportDeclParts() 1713 for (const ParmVarDecl *P : FunDecl->parameters()) { in ImportDeclParts()
|