Home
last modified time | relevance | path

Searched refs:CurrentFunction (Results 1 – 4 of 4) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaFunctionEffects.cpp970 PendingFunctionAnalysis &CurrentFunction; member
977 PendingFunctionAnalysis &CurrentFunction, in FunctionBodyASTVisitor()
979 : Outer(Outer), CurrentFunction(CurrentFunction), in FunctionBodyASTVisitor()
1022 for (FunctionEffect Effect : CurrentFunction.DeclaredVerifiableEffects) { in diagnoseLanguageConstruct()
1030 for (FunctionEffect Effect : CurrentFunction.EffectsToInfer) in diagnoseLanguageConstruct()
1037 CurrentFunction.checkAddViolation( in addViolation()
1066 Outer.followCall(CurrentCaller, CurrentFunction, CI, CallLoc, in followCall()
1083 for (FunctionEffect Effect : CurrentFunction.DeclaredVerifiableEffects) in checkIndirectCall()
1086 for (FunctionEffect Effect : CurrentFunction.EffectsToInfer) in checkIndirectCall()
H A DAnalysisBasedWarnings.cpp1924 const FunctionDecl *CurrentFunction; member in clang::threadSafety::__anon9476153b1111::ThreadSafetyReporter
1928 if (Verbose && CurrentFunction) { in getNotes()
1929 PartialDiagnosticAt FNote(CurrentFunction->getBody()->getBeginLoc(), in getNotes()
1931 << CurrentFunction); in getNotes()
1939 if (Verbose && CurrentFunction) { in getNotes()
1940 PartialDiagnosticAt FNote(CurrentFunction->getBody()->getBeginLoc(), in getNotes()
1942 << CurrentFunction); in getNotes()
1953 if (Verbose && CurrentFunction) { in getNotes()
1954 PartialDiagnosticAt FNote(CurrentFunction->getBody()->getBeginLoc(), in getNotes()
1956 << CurrentFunction); in getNotes()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DThreadSafety.cpp1091 const FunctionDecl *CurrentFunction; member in __anon06d2d5b10a11::ThreadSafetyAnalyzer
1309 if (!isa_and_nonnull<CXXMethodDecl>(CurrentFunction)) in inCurrentScope()
1312 return VD->getDeclContext() == CurrentFunction->getDeclContext(); in inCurrentScope()
2292 if (Analyzer->CurrentFunction == nullptr) in VisitReturnStmt()
2301 Analyzer->CurrentFunction->getReturnType().getCanonicalType(); in VisitReturnStmt()
2441 CurrentFunction = dyn_cast<FunctionDecl>(D); in runAnalysis()
2455 Handler.enterFunction(CurrentFunction); in runAnalysis()
2518 if (CurrentFunction) in runAnalysis()
2519 Params = CurrentFunction->getCanonicalDecl()->parameters(); in runAnalysis()
2728 Handler.leaveFunction(CurrentFunction); in runAnalysis()
/freebsd/contrib/llvm-project/llvm/lib/Frontend/OpenMP/
H A DOMPIRBuilder.cpp9419 Function *CurrentFunction = Builder.GetInsertBlock()->getParent(); in createTeams() local
9422 BasicBlock &OuterAllocaBB = CurrentFunction->getEntryBlock(); in createTeams()