Home
last modified time | relevance | path

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

/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
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()
/external/clang/lib/StaticAnalyzer/Core/
DCheckerContext.cpp29 StringRef CheckerContext::getCalleeName(const FunctionDecl *FunDecl) const { in getCalleeName()
30 if (!FunDecl) in getCalleeName()
32 IdentifierInfo *funI = FunDecl->getIdentifier(); in getCalleeName()
/external/clang/lib/Analysis/
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 …]
DThreadSafety.cpp1757 NamedDecl *FunDecl = dyn_cast_or_null<NamedDecl>(Exp->getCalleeDecl()); in getEdgeLockset() local
1758 if(!FunDecl || !FunDecl->hasAttrs()) in getEdgeLockset()
1765 for (auto *Attr : FunDecl->getAttrs()) { in getEdgeLockset()
1770 getMutexIDs(ExclusiveLocksToAdd, A, Exp, FunDecl, in getEdgeLockset()
1778 getMutexIDs(SharedLocksToAdd, A, Exp, FunDecl, in getEdgeLockset()
/external/lldb/include/lldb/Expression/
DASTResultSynthesizer.h140 bool SynthesizeFunctionResult(clang::FunctionDecl *FunDecl);
/external/lldb/source/Expression/
DASTResultSynthesizer.cpp130 ASTResultSynthesizer::SynthesizeFunctionResult (FunctionDecl *FunDecl) in SynthesizeFunctionResult() argument
137 FunctionDecl *function_decl = FunDecl; in SynthesizeFunctionResult()
/external/clang/lib/Parse/
DParseDeclCXX.cpp2253 Decl *FunDecl = in ParseCXXClassMemberDeclaration() local
2257 if (FunDecl) { in ParseCXXClassMemberDeclaration()
2259 CommonLateParsedAttrs[i]->addDecl(FunDecl); in ParseCXXClassMemberDeclaration()
2262 LateParsedAttrs[i]->addDecl(FunDecl); in ParseCXXClassMemberDeclaration()
/external/clang/lib/Sema/
DSemaOverload.cpp9782 if (FunctionDecl *FunDecl = dyn_cast<FunctionDecl>(Fn)) { in AddMatchingNonTemplateFunction() local
9785 if (S.CheckCUDATarget(Caller, FunDecl)) in AddMatchingNonTemplateFunction()
9791 FunDecl->getReturnType()->isUndeducedType() && in AddMatchingNonTemplateFunction()
9792 S.DeduceReturnType(FunDecl, SourceExpr->getLocStart(), Complain)) in AddMatchingNonTemplateFunction()
9797 FunDecl->getType()) || in AddMatchingNonTemplateFunction()
9798 S.IsNoReturnConversion(FunDecl->getType(), TargetFunctionType, in AddMatchingNonTemplateFunction()
9801 cast<FunctionDecl>(FunDecl->getCanonicalDecl()))); in AddMatchingNonTemplateFunction()