Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/test/SemaCXX/
H A Dconvert-to-bool.cpp20 void test_conv_to_bool(ConvToBool ctb, ConvToInt cti, ExplicitConvToBool ecb) { in test_conv_to_bool() argument
21 if (ctb) { } in test_conv_to_bool()
24 for (; ctb; ) { } in test_conv_to_bool()
27 while (ctb) { }; in test_conv_to_bool()
30 do { } while (ctb); in test_conv_to_bool()
34 if (!ctb) { } in test_conv_to_bool()
39 if (ctb && ecb) { } in test_conv_to_bool()
40 bool b2 = ctb && ecb; in test_conv_to_bool()
41 if (ctb || ecb) { } in test_conv_to_bool()
42 bool b3 = ctb || ecb; in test_conv_to_bool()
H A Duser-defined-conversions.cpp62 void test_conversion(ConvertibleToBase ctb, ConvertibleToDerived ctd, in test_conversion() argument
64 Base b1 = ctb; in test_conversion()
65 Base b2(ctb); in test_conversion()