Home
last modified time | relevance | path

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

/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DCheckerContext.h274 StringRef getCalleeName(const FunctionDecl *FunDecl) const;
278 const FunctionDecl *FunDecl = getCalleeDecl(CE); in getCalleeIdentifier() local
279 if (FunDecl) in getCalleeIdentifier()
280 return FunDecl->getIdentifier(); in getCalleeIdentifier()
287 const FunctionDecl *FunDecl = getCalleeDecl(CE); in getCalleeName() local
288 return getCalleeName(FunDecl); 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()
492 const FunctionDecl *FunDecl,
581 const FunctionDecl *FunDecl, in checkCallability() argument
585 const CallableWhenAttr *CWAttr = FunDecl->getAttr<CallableWhenAttr>(); in checkCallability()
596 FunDecl->getNameAsString(), PInfo.getVar()->getNameAsString(), in checkCallability()
606 FunDecl->getNameAsString(), stateToString(TmpState), BlameLoc); in checkCallability()
[all …]
DThreadSafety.cpp1410 NamedDecl *FunDecl = dyn_cast_or_null<NamedDecl>(Exp->getCalleeDecl()); in getEdgeLockset() local
1411 if(!FunDecl || !FunDecl->hasAttrs()) in getEdgeLockset()
1418 for (auto *Attr : FunDecl->attrs()) { in getEdgeLockset()
1423 getMutexIDs(ExclusiveLocksToAdd, A, Exp, FunDecl, in getEdgeLockset()
1431 getMutexIDs(SharedLocksToAdd, A, Exp, FunDecl, in getEdgeLockset()
/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/apache-commons-bcel/src/examples/Mini/
DMini.bnf2 (FunDecl)*
4 FunDecl:
DMini.jj57 (FunDecl())*
84 void FunDecl() :
85 {/*@bgen(jjtree) FunDecl */
94 {/*@bgen(jjtree) FunDecl */
DMini.jjt66 (FunDecl())*
72 void FunDecl() :
DMiniParser.java46 FunDecl(); in Program()
79 static public void FunDecl() throws ParseException { in FunDecl() method in MiniParser
/external/llvm/tools/llvm-c-test/
Decho.cpp769 goto FunDecl; in declare_symbols()
792 FunDecl: in declare_symbols()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-c-test/
Decho.cpp844 goto FunDecl; in declare_symbols()
868 FunDecl: in declare_symbols()
/external/clang/lib/Parse/
DParseDeclCXX.cpp2529 Decl *FunDecl = in ParseCXXClassMemberDeclaration() local
2533 if (FunDecl) { in ParseCXXClassMemberDeclaration()
2535 CommonLateParsedAttrs[i]->addDecl(FunDecl); in ParseCXXClassMemberDeclaration()
2538 LateParsedAttrs[i]->addDecl(FunDecl); in ParseCXXClassMemberDeclaration()
2547 return DeclGroupPtrTy::make(DeclGroupRef(FunDecl)); in ParseCXXClassMemberDeclaration()
/external/clang/lib/Sema/
DSemaOverload.cpp10468 if (FunctionDecl *FunDecl = dyn_cast<FunctionDecl>(Fn)) { in AddMatchingNonTemplateFunction() local
10471 if (!Caller->isImplicit() && S.CheckCUDATarget(Caller, FunDecl)) in AddMatchingNonTemplateFunction()
10477 FunDecl->getReturnType()->isUndeducedType() && in AddMatchingNonTemplateFunction()
10478 S.DeduceReturnType(FunDecl, SourceExpr->getLocStart(), Complain)) { in AddMatchingNonTemplateFunction()
10483 if (!S.checkAddressOfFunctionIsAvailable(FunDecl)) in AddMatchingNonTemplateFunction()
10488 candidateHasExactlyCorrectType(FunDecl)) { in AddMatchingNonTemplateFunction()
10490 CurAccessFunPair, cast<FunctionDecl>(FunDecl->getCanonicalDecl()))); in AddMatchingNonTemplateFunction()