Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DCheckerContext.h332 StringRef getCalleeName(const FunctionDecl *FunDecl) const;
336 const FunctionDecl *FunDecl = getCalleeDecl(CE); in getCalleeIdentifier() local
337 if (FunDecl) in getCalleeIdentifier()
338 return FunDecl->getIdentifier(); in getCalleeIdentifier()
345 const FunctionDecl *FunDecl = getCalleeDecl(CE); in getCalleeName() local
346 return getCalleeName(FunDecl); in getCalleeName()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Analysis/
H A DConsumed.cpp185 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 DThreadSafety.cpp1529 auto *FunDecl = dyn_cast_or_null<NamedDecl>(Exp->getCalleeDecl()); in getEdgeLockset() local
1530 if(!FunDecl || !FunDecl->hasAttrs()) in getEdgeLockset()
1537 for (const auto *Attr : FunDecl->attrs()) { in getEdgeLockset()
1542 Exp, FunDecl, PredBlock, CurrBlock, A->getSuccessValue(), in getEdgeLockset()
1549 getMutexIDs(ExclusiveLocksToAdd, A, Exp, FunDecl, in getEdgeLockset()
1556 getMutexIDs(SharedLocksToAdd, A, Exp, FunDecl, in getEdgeLockset()
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/
H A DCheckerContext.cpp27 StringRef CheckerContext::getCalleeName(const FunctionDecl *FunDecl) const { in getCalleeName()
28 if (!FunDecl) in getCalleeName()
30 IdentifierInfo *funI = FunDecl->getIdentifier(); in getCalleeName()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Parse/
H A DParseDeclCXX.cpp2795 Decl *FunDecl = in ParseCXXClassMemberDeclaration() local
2799 if (FunDecl) { in ParseCXXClassMemberDeclaration()
2801 CommonLateParsedAttrs[i]->addDecl(FunDecl); in ParseCXXClassMemberDeclaration()
2804 LateParsedAttrs[i]->addDecl(FunDecl); in ParseCXXClassMemberDeclaration()
2813 return DeclGroupPtrTy::make(DeclGroupRef(FunDecl)); in ParseCXXClassMemberDeclaration()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-c-test/
H A Decho.cpp972 goto FunDecl; in declare_symbols()
996 FunDecl: in declare_symbols()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaOverload.cpp12044 if (FunctionDecl *FunDecl = dyn_cast<FunctionDecl>(Fn)) { in AddMatchingNonTemplateFunction() local
12047 if (!Caller->isImplicit() && !S.IsAllowedCUDACall(Caller, FunDecl)) in AddMatchingNonTemplateFunction()
12049 if (FunDecl->isMultiVersion()) { in AddMatchingNonTemplateFunction()
12050 const auto *TA = FunDecl->getAttr<TargetAttr>(); in AddMatchingNonTemplateFunction()
12057 if (completeFunctionType(S, FunDecl, SourceExpr->getBeginLoc(), in AddMatchingNonTemplateFunction()
12063 if (!S.checkAddressOfFunctionIsAvailable(FunDecl)) in AddMatchingNonTemplateFunction()
12068 candidateHasExactlyCorrectType(FunDecl)) { in AddMatchingNonTemplateFunction()
12070 CurAccessFunPair, cast<FunctionDecl>(FunDecl->getCanonicalDecl()))); in AddMatchingNonTemplateFunction()
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DASTImporter.cpp1624 FunctionDecl *FunDecl; in ImportDeclParts() local
1625 if (isa<RecordDecl>(D) && (FunDecl = dyn_cast<FunctionDecl>(OrigDC)) && in ImportDeclParts()
1626 FunDecl->hasBody()) { in ImportDeclParts()
1633 for (const ParmVarDecl *P : FunDecl->parameters()) { in ImportDeclParts()