Home
last modified time | relevance | path

Searched refs:FnPtrTy (Results 1 – 9 of 9) sorted by relevance

/external/clang/test/SemaCXX/
DMicrosoftCompatibility-cxx98.cpp10 typedef void (*FnPtrTy)(); typedef
11 void (*PR23733_1)() = static_cast<FnPtrTy>((void *)0); // expected-warning {{static_cast between po…
12 void (*PR23733_2)() = FnPtrTy((void *)0);
13 void (*PR23733_3)() = (FnPtrTy)((void *)0);
14 void (*PR23733_4)() = reinterpret_cast<FnPtrTy>((void *)0);
/external/llvm-project/clang/test/SemaCXX/
DMicrosoftCompatibility.cpp302 typedef void (*FnPtrTy)(); typedef
303 void (*PR23733_1)() = static_cast<FnPtrTy>((void *)0); // expected-warning {{static_cast between po…
304 void (*PR23733_2)() = FnPtrTy((void *)0);
305 void (*PR23733_3)() = (FnPtrTy)((void *)0);
306 void (*PR23733_4)() = reinterpret_cast<FnPtrTy>((void *)0);
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Coroutines/
DCoroEarly.cpp118 auto *FnPtrTy = FnTy->getPointerTo(); in lowerCoroNoop() local
119 FrameTy->setBody({FnPtrTy, FnPtrTy}); in lowerCoroNoop()
DCoroInternal.h162 auto *FnPtrTy = getSwitchResumePointerType(); in getResumeFunctionType() local
163 return cast<FunctionType>(FnPtrTy->getPointerElementType()); in getResumeFunctionType()
DCoroFrame.cpp411 auto *FnPtrTy = FnTy->getPointerTo(); in buildFrameType() local
419 Types.push_back(FnPtrTy); in buildFrameType()
420 Types.push_back(FnPtrTy); in buildFrameType()
/external/llvm-project/llvm/lib/Transforms/Coroutines/
DCoroEarly.cpp113 auto *FnPtrTy = FnTy->getPointerTo(); in lowerCoroNoop() local
114 FrameTy->setBody({FnPtrTy, FnPtrTy}); in lowerCoroNoop()
DCoroInternal.h199 auto *FnPtrTy = getSwitchResumePointerType(); in getResumeFunctionType() local
200 return cast<FunctionType>(FnPtrTy->getPointerElementType()); in getResumeFunctionType()
DCoroFrame.cpp734 auto *FnPtrTy = FnTy->getPointerTo(); in buildFrameType() local
738 (void)B.addField(FnPtrTy, None, /*header*/ true); in buildFrameType()
739 (void)B.addField(FnPtrTy, None, /*header*/ true); in buildFrameType()
/external/llvm-project/clang/lib/Sema/
DSemaExpr.cpp6566 QualType FnPtrTy = Context.getPointerType(FDecl->getType()); in BuildResolvedCallExpr() local
6567 Result = ImpCastExprToType(Fn, FnPtrTy, CK_BuiltinFnToFnPtr).get(); in BuildResolvedCallExpr()