Home
last modified time | relevance | path

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

/minix3/external/bsd/llvm/dist/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DCheckerContext.h244 StringRef getCalleeName(const FunctionDecl *FunDecl) const;
248 const FunctionDecl *FunDecl = getCalleeDecl(CE); in getCalleeIdentifier() local
249 if (FunDecl) in getCalleeIdentifier()
250 return FunDecl->getIdentifier(); in getCalleeIdentifier()
257 const FunctionDecl *FunDecl = getCalleeDecl(CE); in getCalleeName() local
258 return getCalleeName(FunDecl); in getCalleeName()
/minix3/external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Core/
H A DCheckerContext.cpp29 StringRef CheckerContext::getCalleeName(const FunctionDecl *FunDecl) const { in getCalleeName()
30 if (!FunDecl) in getCalleeName()
32 IdentifierInfo *funI = FunDecl->getIdentifier(); in getCalleeName()
/minix3/external/bsd/llvm/dist/clang/lib/Analysis/
H A DConsumed.cpp184 static bool isTestingFunction(const FunctionDecl *FunDecl) { in isTestingFunction() argument
185 return FunDecl->hasAttr<TestTypestateAttr>(); in isTestingFunction()
264 static ConsumedState testsFor(const FunctionDecl *FunDecl) { in testsFor() argument
265 assert(isTestingFunction(FunDecl)); in testsFor()
266 switch (FunDecl->getAttr<TestTypestateAttr>()->getTestState()) { in testsFor()
486 const FunctionDecl *FunDecl,
575 const FunctionDecl *FunDecl, in checkCallability() argument
579 const CallableWhenAttr *CWAttr = FunDecl->getAttr<CallableWhenAttr>(); in checkCallability()
590 FunDecl->getNameAsString(), PInfo.getVar()->getNameAsString(), in checkCallability()
600 FunDecl->getNameAsString(), stateToString(TmpState), BlameLoc); in checkCallability()
[all …]
H A DThreadSafety.cpp1225 NamedDecl *FunDecl = dyn_cast_or_null<NamedDecl>(Exp->getCalleeDecl()); in getEdgeLockset() local
1226 if(!FunDecl || !FunDecl->hasAttrs()) in getEdgeLockset()
1233 for (auto *Attr : FunDecl->getAttrs()) { in getEdgeLockset()
1238 getMutexIDs(ExclusiveLocksToAdd, A, Exp, FunDecl, in getEdgeLockset()
1246 getMutexIDs(SharedLocksToAdd, A, Exp, FunDecl, in getEdgeLockset()
/minix3/external/bsd/llvm/dist/clang/lib/Parse/
H A DParseDeclCXX.cpp2377 Decl *FunDecl = in ParseCXXClassMemberDeclaration() local
2381 if (FunDecl) { in ParseCXXClassMemberDeclaration()
2383 CommonLateParsedAttrs[i]->addDecl(FunDecl); in ParseCXXClassMemberDeclaration()
2386 LateParsedAttrs[i]->addDecl(FunDecl); in ParseCXXClassMemberDeclaration()
/minix3/external/bsd/llvm/dist/clang/lib/Sema/
H A DSemaOverload.cpp9941 if (FunctionDecl *FunDecl = dyn_cast<FunctionDecl>(Fn)) { in AddMatchingNonTemplateFunction() local
9944 if (!Caller->isImplicit() && S.CheckCUDATarget(Caller, FunDecl)) in AddMatchingNonTemplateFunction()
9950 FunDecl->getReturnType()->isUndeducedType() && in AddMatchingNonTemplateFunction()
9951 S.DeduceReturnType(FunDecl, SourceExpr->getLocStart(), Complain)) in AddMatchingNonTemplateFunction()
9956 FunDecl->getType()) || in AddMatchingNonTemplateFunction()
9957 S.IsNoReturnConversion(FunDecl->getType(), TargetFunctionType, in AddMatchingNonTemplateFunction()
9960 cast<FunctionDecl>(FunDecl->getCanonicalDecl()))); in AddMatchingNonTemplateFunction()