Lines Matching refs:FunDecl
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()
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()
749 const FunctionDecl *FunDecl = Call->getDirectCallee(); in VisitCallExpr() local
750 if (!FunDecl) in VisitCallExpr()
755 if (Call->getNumArgs() == 1 && FunDecl->getNameAsString() == "move" && in VisitCallExpr()
756 FunDecl->isInStdNamespace()) { in VisitCallExpr()
761 handleCall(Call, nullptr, FunDecl); in VisitCallExpr()
762 propagateReturnType(Call, FunDecl); in VisitCallExpr()
827 const FunctionDecl *FunDecl = in VisitCXXOperatorCallExpr() local
829 if (!FunDecl) return; in VisitCXXOperatorCallExpr()
833 if (!handleCall(Call, Call->getArg(0), FunDecl)) in VisitCXXOperatorCallExpr()
839 handleCall(MCall, MCall->getImplicitObjectArgument(), FunDecl); in VisitCXXOperatorCallExpr()
841 handleCall(Call, Call->getArg(0), FunDecl); in VisitCXXOperatorCallExpr()
843 propagateReturnType(Call, FunDecl); in VisitCXXOperatorCallExpr()