Searched refs:FunDecl (Results 1 - 7 of 7) sorted by relevance

/external/clang/lib/StaticAnalyzer/Core/
H A DCheckerContext.cpp29 StringRef CheckerContext::getCalleeName(const FunctionDecl *FunDecl) const {
30 if (!FunDecl)
32 IdentifierInfo *funI = FunDecl->getIdentifier();
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DCheckerContext.h274 StringRef getCalleeName(const FunctionDecl *FunDecl) const;
278 const FunctionDecl *FunDecl = getCalleeDecl(CE); local
279 if (FunDecl)
280 return FunDecl->getIdentifier();
287 const FunctionDecl *FunDecl = getCalleeDecl(CE); local
288 return getCalleeName(FunDecl);
/external/clang/lib/Analysis/
H A DConsumed.cpp184 static bool isTestingFunction(const FunctionDecl *FunDecl) { argument
185 return FunDecl->hasAttr<TestTypestateAttr>();
264 static ConsumedState testsFor(const FunctionDecl *FunDecl) { argument
265 assert(isTestingFunction(FunDecl));
266 switch (FunDecl->getAttr<TestTypestateAttr>()->getTestState()) {
492 const FunctionDecl *FunDecl,
581 const FunctionDecl *FunDecl,
585 const CallableWhenAttr *CWAttr = FunDecl->getAttr<CallableWhenAttr>();
596 FunDecl->getNameAsString(), PInfo.getVar()->getNameAsString(),
606 FunDecl
580 checkCallability(const PropagationInfo &PInfo, const FunctionDecl *FunDecl, SourceLocation BlameLoc) argument
749 const FunctionDecl *FunDecl = Call->getDirectCallee(); local
827 const FunctionDecl *FunDecl = local
[all...]
H A DThreadSafety.cpp1410 NamedDecl *FunDecl = dyn_cast_or_null<NamedDecl>(Exp->getCalleeDecl());
1411 if(!FunDecl || !FunDecl->hasAttrs())
1418 for (auto *Attr : FunDecl->attrs()) {
1423 getMutexIDs(ExclusiveLocksToAdd, A, Exp, FunDecl,
1431 getMutexIDs(SharedLocksToAdd, A, Exp, FunDecl,
/external/llvm/tools/llvm-c-test/
H A Decho.cpp769 goto FunDecl;
792 FunDecl:
/external/clang/lib/Parse/
H A DParseDeclCXX.cpp2529 Decl *FunDecl = local
2533 if (FunDecl) {
2535 CommonLateParsedAttrs[i]->addDecl(FunDecl);
2538 LateParsedAttrs[i]->addDecl(FunDecl);
2547 return DeclGroupPtrTy::make(DeclGroupRef(FunDecl));
/external/clang/lib/Sema/
H A DSemaOverload.cpp10468 if (FunctionDecl *FunDecl = dyn_cast<FunctionDecl>(Fn)) {
10471 if (!Caller->isImplicit() && S.CheckCUDATarget(Caller, FunDecl))
10477 FunDecl->getReturnType()->isUndeducedType() &&
10478 S.DeduceReturnType(FunDecl, SourceExpr->getLocStart(), Complain)) {
10483 if (!S.checkAddressOfFunctionIsAvailable(FunDecl))
10488 candidateHasExactlyCorrectType(FunDecl)) {
10490 CurAccessFunPair, cast<FunctionDecl>(FunDecl->getCanonicalDecl())));

Completed in 1305 milliseconds