/external/clang/test/CXX/lex/lex.literal/lex.ext/ |
p11.cpp | 5 template<typename T, typename U> struct same_type; 6 template<typename T> struct same_type<T, T> {}; struct 15 same_type<decltype(a), int> test_a; 16 same_type<decltype(b), double> test_b; 21 same_type<decltype(c), char> test_c; 22 same_type<decltype(d), int> test_d;
|
p7.cpp | 8 template<typename T, typename U> struct same_type; 9 template<typename T> struct same_type<T, T> {}; struct 22 same_type<decltype(v1), long double> test1; 23 same_type<decltype(v2), std::string> test2; 24 same_type<decltype(v3), unsigned> test3;
|
/external/clang/test/SemaCXX/ |
cxx0x-initializer-stdinitializerlist.cpp | 41 struct same_type { static const bool value = false; }; struct 43 struct same_type<T, T> { static const bool value = true; }; struct 107 static_assert(same_type<decltype(deduce({1, 2, 3})), int>::value, "bad deduction"); 108 static_assert(same_type<decltype(deduce({1.0, 2.0, 3.0})), double>::value, "bad deduction"); 112 static_assert(same_type<decltype(deduce_ref({1, 2, 3})), int>::value, "bad deduction"); 113 static_assert(same_type<decltype(deduce_ref({1.0, 2.0, 3.0})), double>::value, "bad deduction"); 122 static_assert(same_type<decltype(l), std::initializer_list<int>>::value, ""); 123 static_assert(same_type<decltype(l3), int>::value, "");
|
/external/perfetto/src/trace_processor/ |
storage_columns.h | 181 bool same_type = (kIsIntegralType && type == SQLITE_INTEGER) || variable 183 if (sqlite_utils::IsOpEq(op) && same_type &&
|
/external/v8/src/ |
elements.cc | 3373 bool same_type = source_type == destination_type; local [all...] |