/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/ |
D | abseil-upgrade-duration-conversions.cpp | 8 template <typename T> struct ConvertibleTo { struct 13 ConvertibleTo<T> operator+(ConvertibleTo<T>, ConvertibleTo<T>); 16 ConvertibleTo<T> operator*(ConvertibleTo<T>, ConvertibleTo<T>); 20 d *= ConvertibleTo<int64_t>(); in arithmeticOperatorBasicPositive() 23 d /= ConvertibleTo<int64_t>(); in arithmeticOperatorBasicPositive() 26 d = ConvertibleTo<int64_t>() * d; in arithmeticOperatorBasicPositive() 29 d = d * ConvertibleTo<int64_t>(); in arithmeticOperatorBasicPositive() 32 d = d / ConvertibleTo<int64_t>(); in arithmeticOperatorBasicPositive() 35 d.operator*=(ConvertibleTo<int64_t>()); in arithmeticOperatorBasicPositive() 38 d.operator/=(ConvertibleTo<int64_t>()); in arithmeticOperatorBasicPositive() [all …]
|
/external/llvm-project/clang/test/SemaObjCXX/ |
D | objc-container-subscripting.mm | 48 struct ConvertibleTo { struct 57 template<typename T> ConvertibleTo<T> makeConvertible(); argument 60 ConvertibleTo<id> x; 61 ConvertibleTo<id> get(); 64 NSMutableArray *test_array_convertibility(ConvertibleTo<NSMutableArray*> toArray, 65 ConvertibleTo<id> toId, 66 ConvertibleTo<int (^)(int)> toBlock, 67 ConvertibleTo<int> toInt, 81 id test_dict_convertibility(ConvertibleTo<NSMutableDictionary*> toDict, 82 ConvertibleTo<id> toId, [all …]
|
D | literals.mm | 57 struct ConvertibleTo { struct 72 template<typename T> ConvertibleTo<T> makeConvertible(); argument 75 ConvertibleTo<id> x; 76 ConvertibleTo<id> get(); 85 void test_convertibility(ConvertibleTo<NSArray*> toArray, 86 ConvertibleTo<id> toId, 87 ConvertibleTo<int (^)(int)> toBlock, 88 ConvertibleTo<int> toInt, 94 …toInt // expected-error{{collection element of type 'ConvertibleTo<int>' is not an Objective-C obj… 100 …makeConvertible<id>, // expected-error{{collection element of type 'ConvertibleTo<id> ()' is not a… [all …]
|
/external/clang/test/SemaObjCXX/ |
D | objc-container-subscripting.mm | 48 struct ConvertibleTo { struct 57 template<typename T> ConvertibleTo<T> makeConvertible(); argument 60 ConvertibleTo<id> x; 61 ConvertibleTo<id> get(); 64 NSMutableArray *test_array_convertibility(ConvertibleTo<NSMutableArray*> toArray, 65 ConvertibleTo<id> toId, 66 ConvertibleTo<int (^)(int)> toBlock, 67 ConvertibleTo<int> toInt, 81 id test_dict_convertibility(ConvertibleTo<NSMutableDictionary*> toDict, 82 ConvertibleTo<id> toId, [all …]
|
D | literals.mm | 54 struct ConvertibleTo { struct 69 template<typename T> ConvertibleTo<T> makeConvertible(); argument 72 ConvertibleTo<id> x; 73 ConvertibleTo<id> get(); 82 void test_convertibility(ConvertibleTo<NSArray*> toArray, 83 ConvertibleTo<id> toId, 84 ConvertibleTo<int (^)(int)> toBlock, 85 ConvertibleTo<int> toInt, 91 …toInt // expected-error{{collection element of type 'ConvertibleTo<int>' is not an Objective-C obj… 97 …makeConvertible<id>, // expected-error{{collection element of type 'ConvertibleTo<id> ()' is not a… [all …]
|
/external/libcxx/test/support/ |
D | poisoned_hash_helper.hpp | 113 struct ConvertibleTo { struct 161 static_assert(can_hash<Hash(ConvertibleTo<Key>&)>(), ""); in test_hash_enabled() 162 static_assert(can_hash<Hash(ConvertibleTo<Key> const&)>(), ""); in test_hash_enabled() 163 static_assert(can_hash<Hash(ConvertibleTo<Key> &&)>(), ""); in test_hash_enabled() 164 static_assert(can_hash<Hash(ConvertibleTo<Key> const&&)>(), ""); in test_hash_enabled() 200 static_assert(!can_hash<Hash(ConvertibleTo<Key>&)>(), ""); in test_hash_disabled() 201 static_assert(!can_hash<Hash(ConvertibleTo<Key> const&)>(), ""); in test_hash_disabled() 202 static_assert(!can_hash<Hash(ConvertibleTo<Key> &&)>(), ""); in test_hash_disabled() 203 static_assert(!can_hash<Hash(ConvertibleTo<Key> const&&)>(), ""); in test_hash_disabled()
|
/external/llvm-project/libcxx/test/support/ |
D | poisoned_hash_helper.h | 112 struct ConvertibleTo { struct 160 static_assert(can_hash<Hash(ConvertibleTo<Key>&)>(), ""); in test_hash_enabled() 161 static_assert(can_hash<Hash(ConvertibleTo<Key> const&)>(), ""); in test_hash_enabled() 162 static_assert(can_hash<Hash(ConvertibleTo<Key> &&)>(), ""); in test_hash_enabled() 163 static_assert(can_hash<Hash(ConvertibleTo<Key> const&&)>(), ""); in test_hash_enabled() 199 static_assert(!can_hash<Hash(ConvertibleTo<Key>&)>(), ""); in test_hash_disabled() 200 static_assert(!can_hash<Hash(ConvertibleTo<Key> const&)>(), ""); in test_hash_disabled() 201 static_assert(!can_hash<Hash(ConvertibleTo<Key> &&)>(), ""); in test_hash_disabled() 202 static_assert(!can_hash<Hash(ConvertibleTo<Key> const&&)>(), ""); in test_hash_disabled()
|
/external/llvm-project/llvm/utils/unittest/googletest/include/gtest/internal/custom/ |
D | raw-ostream.h | 64 template <typename T> struct ConvertibleTo { operator T(); }; struct 67 << ConvertibleTo<const T &>()))> {
|
/external/llvm-project/libcxx/docs/ |
D | Cxx2aStatusIssuesStatus.csv | 198 "`3194 <https://wg21.link/LWG3194>`__","``ConvertibleTo``\ prose does not match code","Prague","",…
|
/external/llvm-project/clang-tools-extra/clangd/ |
D | StdSymbolMap.inc | 16 SYMBOL(ConvertibleTo, std::, <concepts>)
|