Home
last modified time | relevance | path

Searched refs:FunTy (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroutines.cpp616 auto *FunTy = cast<FunctionType>(F->getValueType()); in checkAsyncContextProjectFunction() local
617 if (!FunTy->getReturnType()->isPointerTy()) in checkAsyncContextProjectFunction()
622 if (FunTy->getNumParams() != 1 || !FunTy->getParamType(0)->isPointerTy()) in checkAsyncContextProjectFunction()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSema.cpp2550 const FunctionType *FunTy = nullptr; in tryExprAsCall() local
2553 FunTy = PointeeTy->getAs<FunctionType>(); in tryExprAsCall()
2554 if (!FunTy) in tryExprAsCall()
2555 FunTy = ExprTy->getAs<FunctionType>(); in tryExprAsCall()
2557 if (const auto *FPT = dyn_cast_if_present<FunctionProtoType>(FunTy)) { in tryExprAsCall()
2559 ZeroArgCallReturnTy = FunTy->getReturnType(); in tryExprAsCall()