Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroutines.cpp609 auto *FunTy = cast<FunctionType>(F->getValueType()); in checkAsyncContextProjectFunction() local
610 if (!FunTy->getReturnType()->isPointerTy()) in checkAsyncContextProjectFunction()
615 if (FunTy->getNumParams() != 1 || !FunTy->getParamType(0)->isPointerTy()) in checkAsyncContextProjectFunction()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSema.cpp2559 const FunctionType *FunTy = nullptr; in tryExprAsCall() local
2562 FunTy = PointeeTy->getAs<FunctionType>(); in tryExprAsCall()
2563 if (!FunTy) in tryExprAsCall()
2564 FunTy = ExprTy->getAs<FunctionType>(); in tryExprAsCall()
2566 if (const auto *FPT = dyn_cast_if_present<FunctionProtoType>(FunTy)) { in tryExprAsCall()
2568 ZeroArgCallReturnTy = FunTy->getReturnType(); in tryExprAsCall()