Searched refs:EnumBool (Results 1 – 1 of 1) sorted by relevance
28 enum class EnumBool : bool { enum33 bool testNoCrashOnSwitchEnumBool(EnumBool E) { in testNoCrashOnSwitchEnumBool()35 case EnumBool::F: in testNoCrashOnSwitchEnumBool()42 EnumBool E = EnumBool::F; in testNoCrashOnSwitchEnumBoolConstant()44 case EnumBool::F: in testNoCrashOnSwitchEnumBoolConstant()52 EnumBool E = static_cast<EnumBool>((intptr_t)nullptr); in testNoCrashOnSwitchEnumBoolConstantCastedFromNullptr()54 case EnumBool::F: in testNoCrashOnSwitchEnumBoolConstantCastedFromNullptr()63 EnumBool E = static_cast<EnumBool>(P); in testNoCrashOnSwitchEnumBoolConstantCastedFromPtr()65 case EnumBool::F: in testNoCrashOnSwitchEnumBoolConstantCastedFromPtr()