Searched refs:FunDecl (Results 1 – 8 of 8) sorted by relevance
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
D | CheckerContext.h | 244 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/Analysis/ |
D | Consumed.cpp | 184 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 …]
|
D | ThreadSafety.cpp | 1413 NamedDecl *FunDecl = dyn_cast_or_null<NamedDecl>(Exp->getCalleeDecl()); in getEdgeLockset() local 1414 if(!FunDecl || !FunDecl->hasAttrs()) in getEdgeLockset() 1421 for (auto *Attr : FunDecl->attrs()) { in getEdgeLockset() 1426 getMutexIDs(ExclusiveLocksToAdd, A, Exp, FunDecl, in getEdgeLockset() 1434 getMutexIDs(SharedLocksToAdd, A, Exp, FunDecl, in getEdgeLockset()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | CheckerContext.cpp | 29 StringRef CheckerContext::getCalleeName(const FunctionDecl *FunDecl) const { in getCalleeName() 30 if (!FunDecl) in getCalleeName() 32 IdentifierInfo *funI = FunDecl->getIdentifier(); in getCalleeName()
|
/external/lldb/include/lldb/Expression/ |
D | ASTResultSynthesizer.h | 140 bool SynthesizeFunctionResult(clang::FunctionDecl *FunDecl);
|
/external/lldb/source/Expression/ |
D | ASTResultSynthesizer.cpp | 130 ASTResultSynthesizer::SynthesizeFunctionResult (FunctionDecl *FunDecl) in SynthesizeFunctionResult() argument 137 FunctionDecl *function_decl = FunDecl; in SynthesizeFunctionResult()
|
/external/clang/lib/Parse/ |
D | ParseDeclCXX.cpp | 2455 Decl *FunDecl = in ParseCXXClassMemberDeclaration() local 2459 if (FunDecl) { in ParseCXXClassMemberDeclaration() 2461 CommonLateParsedAttrs[i]->addDecl(FunDecl); in ParseCXXClassMemberDeclaration() 2464 LateParsedAttrs[i]->addDecl(FunDecl); in ParseCXXClassMemberDeclaration()
|
/external/clang/lib/Sema/ |
D | SemaOverload.cpp | 9987 if (FunctionDecl *FunDecl = dyn_cast<FunctionDecl>(Fn)) { in AddMatchingNonTemplateFunction() local 9990 if (!Caller->isImplicit() && S.CheckCUDATarget(Caller, FunDecl)) in AddMatchingNonTemplateFunction() 9996 FunDecl->getReturnType()->isUndeducedType() && in AddMatchingNonTemplateFunction() 9997 S.DeduceReturnType(FunDecl, SourceExpr->getLocStart(), Complain)) in AddMatchingNonTemplateFunction() 10002 FunDecl->getType()) || in AddMatchingNonTemplateFunction() 10003 S.IsNoReturnConversion(FunDecl->getType(), TargetFunctionType, in AddMatchingNonTemplateFunction() 10006 cast<FunctionDecl>(FunDecl->getCanonicalDecl()))); in AddMatchingNonTemplateFunction()
|