| /openbsd-src/gnu/llvm/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| H A D | CheckerContext.h | 352 StringRef getCalleeName(const FunctionDecl *FunDecl) const; 356 const FunctionDecl *FunDecl = getCalleeDecl(CE); in getCalleeIdentifier() local 357 if (FunDecl) in getCalleeIdentifier() 358 return FunDecl->getIdentifier(); in getCalleeIdentifier() 365 const FunctionDecl *FunDecl = getCalleeDecl(CE); in getCalleeName() local 366 return getCalleeName(FunDecl); in getCalleeName()
|
| /openbsd-src/gnu/llvm/clang/lib/Analysis/ |
| H A D | Consumed.cpp | 185 static bool isTestingFunction(const FunctionDecl *FunDecl) { in isTestingFunction() argument 186 return FunDecl->hasAttr<TestTypestateAttr>(); in isTestingFunction() 265 static ConsumedState testsFor(const FunctionDecl *FunDecl) { in testsFor() argument 266 assert(isTestingFunction(FunDecl)); in testsFor() 267 switch (FunDecl->getAttr<TestTypestateAttr>()->getTestState()) { in testsFor() 495 const FunctionDecl *FunDecl, 580 const FunctionDecl *FunDecl, in checkCallability() argument 584 const CallableWhenAttr *CWAttr = FunDecl->getAttr<CallableWhenAttr>(); in checkCallability() 595 FunDecl->getNameAsString(), PInfo.getVar()->getNameAsString(), in checkCallability() 604 FunDecl->getNameAsString(), stateToString(TmpState), BlameLoc); in checkCallability() [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()
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/llvm/tools/llvm-c-test/ |
| H A D | echo.cpp | 977 goto FunDecl; in declare_symbols() 1001 FunDecl: in declare_symbols()
|
| /openbsd-src/gnu/llvm/clang/lib/Parse/ |
| H A D | ParseDeclCXX.cpp | 2956 Decl *FunDecl = ParseCXXInlineMethodDef(AS, AccessAttrs, DeclaratorInfo, in ParseCXXClassMemberDeclaration() local 2959 if (FunDecl) { in ParseCXXClassMemberDeclaration() 2961 CommonLateParsedAttrs[i]->addDecl(FunDecl); in ParseCXXClassMemberDeclaration() 2964 LateParsedAttrs[i]->addDecl(FunDecl); in ParseCXXClassMemberDeclaration() 2973 return DeclGroupPtrTy::make(DeclGroupRef(FunDecl)); in ParseCXXClassMemberDeclaration()
|
| /openbsd-src/gnu/llvm/clang/lib/Sema/ |
| H A D | SemaOverload.cpp | 12380 if (FunctionDecl *FunDecl = dyn_cast<FunctionDecl>(Fn)) { in AddMatchingNonTemplateFunction() local 12383 if (!Caller->isImplicit() && !S.IsAllowedCUDACall(Caller, FunDecl)) in AddMatchingNonTemplateFunction() 12385 if (FunDecl->isMultiVersion()) { in AddMatchingNonTemplateFunction() 12386 const auto *TA = FunDecl->getAttr<TargetAttr>(); in AddMatchingNonTemplateFunction() 12389 const auto *TVA = FunDecl->getAttr<TargetVersionAttr>(); in AddMatchingNonTemplateFunction() 12396 if (completeFunctionType(S, FunDecl, SourceExpr->getBeginLoc(), in AddMatchingNonTemplateFunction() 12402 if (!S.checkAddressOfFunctionIsAvailable(FunDecl)) in AddMatchingNonTemplateFunction() 12407 candidateHasExactlyCorrectType(FunDecl)) { in AddMatchingNonTemplateFunction() 12409 CurAccessFunPair, cast<FunctionDecl>(FunDecl->getCanonicalDecl()))); in AddMatchingNonTemplateFunction()
|
| /openbsd-src/gnu/llvm/clang/lib/AST/ |
| H A D | ASTImporter.cpp | 1698 FunctionDecl *FunDecl; in ImportDeclParts() local 1699 if (isa<RecordDecl>(D) && (FunDecl = dyn_cast<FunctionDecl>(OrigDC)) && in ImportDeclParts() 1700 FunDecl->hasBody()) { in ImportDeclParts() 1707 for (const ParmVarDecl *P : FunDecl->parameters()) { in ImportDeclParts()
|