Lines Matching refs:CharFooTy
276 using CharFooTy = void (*)(void *); in testIt() typedef
277 auto D = reinterpret_cast<CharFooTy>(foo); in testIt()
278 auto DAmp = reinterpret_cast<CharFooTy>(&foo); in testIt()
293 using CharFooTy = void (*)(void *); in testItCStyle() typedef
294 auto D = (CharFooTy)foo; in testItCStyle()
295 auto DAmp = (CharFooTy)&foo; in testItCStyle()
311 using CharFooTy = void (*)(char *); in testIt() typedef
312 …auto B = reinterpret_cast<CharFooTy>(foo); // expected-error{{reinterpret_cast cannot resolve over… in testIt()
313 …auto BRef = reinterpret_cast<CharFooTy>(&foo); // expected-error{{reinterpret_cast cannot resolve … in testIt()
314 auto BExplicit = reinterpret_cast<CharFooTy>(foo<char*>); in testIt()
324 using CharFooTy = void (*)(char *); in testItCStyle() typedef
325 constexpr auto B = (CharFooTy)foo; in testItCStyle()
326 constexpr auto BRef = (CharFooTy)&foo; in testItCStyle()
327 constexpr auto BExplicit = (CharFooTy)foo<char*>; in testItCStyle()