/external/llvm-project/lldb/unittests/Core/ |
D | UniqueCStringMapTest.cpp | 15 struct NoDefault { struct 18 NoDefault(int x) : x(x) {} in NoDefault() function 19 NoDefault() = delete; 21 friend bool operator==(NoDefault lhs, NoDefault rhs) { in operator ==() 26 NoDefault x) { in operator <<() 33 using MapT = UniqueCStringMap<NoDefault>; in TEST() 39 Map.Append(Foo, NoDefault(42)); in TEST() 40 EXPECT_THAT(Map.Find(Foo, NoDefault(47)), NoDefault(42)); in TEST() 41 EXPECT_THAT(Map.Find(Bar, NoDefault(47)), NoDefault(47)); in TEST() 43 testing::Pointee(testing::Field(&EntryT::value, NoDefault(42)))); in TEST() [all …]
|
/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/ |
D | readability-deleted-default.cpp | 3 class NoDefault { class 5 NoDefault() = delete; 6 NoDefault(NoDefault &&Other) = delete; 7 NoDefault(const NoDefault &Other) = delete; 24 NoDefault ND;
|
/external/llvm-project/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/ |
D | default.pass.cpp | 25 struct NoDefault { struct 26 NoDefault() = delete; 27 explicit NoDefault(int) { } in NoDefault() argument 78 static_assert(!std::is_default_constructible<std::tuple<NoDefault>>(), ""); in main() 79 static_assert(!std::is_default_constructible<std::tuple<DefaultOnly, NoDefault>>(), ""); in main() 80 …static_assert(!std::is_default_constructible<std::tuple<NoDefault, DefaultOnly, NoDefault>>(), ""); in main()
|
D | UTypes.pass.cpp | 37 struct NoDefault { NoDefault() = delete; }; struct 46 typedef std::tuple<MoveOnly, NoDefault> Tuple; in test_default_constructible_extension_sfinae() 55 MoveOnly, NoDefault in test_default_constructible_extension_sfinae() 59 typedef std::tuple<MoveOnly, MoveOnly, NoDefault> Tuple; in test_default_constructible_extension_sfinae() 68 MoveOnly, MoveOnly, NoDefault in test_default_constructible_extension_sfinae() 73 typedef std::tuple<MoveOnly, NoDefault> Tuple; in test_default_constructible_extension_sfinae()
|
/external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/ |
D | default.pass.cpp | 25 struct NoDefault { struct 26 NoDefault() = delete; 27 explicit NoDefault(int) { } in NoDefault() argument 78 static_assert(!std::is_default_constructible<std::tuple<NoDefault>>(), ""); in main() 79 static_assert(!std::is_default_constructible<std::tuple<DefaultOnly, NoDefault>>(), ""); in main() 80 …static_assert(!std::is_default_constructible<std::tuple<NoDefault, DefaultOnly, NoDefault>>(), ""); in main()
|
D | UTypes.pass.cpp | 38 struct NoDefault { NoDefault() = delete; }; struct 47 typedef std::tuple<MoveOnly, NoDefault> Tuple; in test_default_constructible_extension_sfinae() 56 MoveOnly, NoDefault in test_default_constructible_extension_sfinae() 60 typedef std::tuple<MoveOnly, MoveOnly, NoDefault> Tuple; in test_default_constructible_extension_sfinae() 69 MoveOnly, MoveOnly, NoDefault in test_default_constructible_extension_sfinae() 74 typedef std::tuple<MoveOnly, NoDefault> Tuple; in test_default_constructible_extension_sfinae()
|
/external/llvm-project/clang/test/CXX/dcl.decl/dcl.init/ |
D | p14-0x.cpp | 3 struct NoDefault { struct 4 NoDefault() = delete; // expected-note {{here}} 5 NoDefault(int); 30 NoDefault nd1; 31 NoDefault nd2 = 42;
|
/external/clang/test/CXX/dcl.decl/dcl.init/ |
D | p14-0x.cpp | 3 struct NoDefault { struct 4 NoDefault() = delete; // expected-note {{here}} 5 NoDefault(int); 30 NoDefault nd1; 31 NoDefault nd2 = 42;
|
/external/libcxx/test/std/utilities/utility/pairs/pairs.pair/ |
D | default.pass.cpp | 48 using NoDefault = ImplicitTypes::NoDefault; in main() typedef 49 using P = std::pair<int, NoDefault>; in main() 51 using P2 = std::pair<NoDefault, int>; in main()
|
/external/llvm-project/libcxx/test/std/utilities/utility/pairs/pairs.pair/ |
D | default.pass.cpp | 42 using NoDefault = ImplicitTypes::NoDefault; in main() typedef 43 using P = std::pair<int, NoDefault>; in main() 45 using P2 = std::pair<NoDefault, int>; in main()
|
/external/libcxx/test/std/containers/sequences/array/array.cons/ |
D | implicit_copy.pass.cpp | 32 struct NoDefault { struct 33 NoDefault(int) {} in NoDefault() function 75 typedef NoDefault T; in main() 84 typedef NoDefault T; in main()
|
D | default.pass.cpp | 21 struct NoDefault { struct 22 NoDefault(int) {} in NoDefault() argument 40 typedef std::array<NoDefault, 0> C; in main()
|
/external/llvm-project/libcxx/test/std/containers/sequences/array/array.cons/ |
D | initialization.pass.cpp | 17 struct NoDefault { struct 18 TEST_CONSTEXPR NoDefault(int) { } in NoDefault() function 33 std::array<NoDefault, 0> nodefault; (void)nodefault; in operator ()() 63 std::array<NoDefault, 0> nodefault{}; (void)nodefault; in operator ()() 88 std::array<NoDefault, 0> nodefault = {}; (void)nodefault; in operator ()() 113 std::array<NoDefault, 0> nodefault = {{}}; (void)nodefault; in operator ()()
|
D | implicit_copy.pass.cpp | 31 struct NoDefault { struct 32 TEST_CONSTEXPR NoDefault(int) { } in NoDefault() function 75 typedef std::array<NoDefault, 0> Array; in tests() 83 typedef std::array<NoDefault const, 0> Array; in tests()
|
/external/libcxx/test/std/containers/sequences/array/ |
D | begin.pass.cpp | 23 struct NoDefault { struct 24 NoDefault(int) {} in NoDefault() argument 42 typedef NoDefault T; in main()
|
/external/llvm-project/libcxx/test/std/containers/sequences/array/array.data/ |
D | data_const.pass.cpp | 23 struct NoDefault { struct 24 TEST_CONSTEXPR NoDefault(int) { } in NoDefault() function 55 typedef NoDefault T; in tests()
|
D | data.pass.cpp | 23 struct NoDefault { struct 24 TEST_CONSTEXPR NoDefault(int) { } in NoDefault() function 63 typedef NoDefault T; in tests()
|
/external/libcxx/test/std/containers/sequences/array/array.data/ |
D | data_const.pass.cpp | 24 struct NoDefault { struct 25 NoDefault(int) {} in NoDefault() function 47 typedef NoDefault T; in main()
|
D | data.pass.cpp | 24 struct NoDefault { struct 25 NoDefault(int) {} in NoDefault() function 65 typedef NoDefault T; in main()
|
/external/libcxx/test/support/ |
D | archetypes.ipp | 58 struct NoDefault : DEFINE_BASE(NoDefault) { 59 using Base = DEFINE_BASE(NoDefault); 61 DEFINE_EXPLICIT DEFINE_CONSTEXPR NoDefault() DEFINE_NOEXCEPT = delete; 62 DEFINE_DTOR(NoDefault) 157 NoDefault,
|
/external/llvm-project/libcxx/test/support/ |
D | archetypes.ipp | 65 struct NoDefault : DEFINE_BASE(NoDefault) { 66 using Base = DEFINE_BASE(NoDefault); 68 DEFINE_EXPLICIT DEFINE_CONSTEXPR NoDefault() DEFINE_NOEXCEPT = delete; 69 DEFINE_DTOR(NoDefault) 164 NoDefault,
|
/external/llvm-project/libcxx/test/libcxx/utilities/tuple/tuple.tuple/tuple.cnstr/ |
D | disable_reduced_arity_initialization_extension.pass.cpp | 32 struct NoDefault { NoDefault() = delete; }; struct 42 typedef NoDefault ND; in test_default_constructible_extension_sfinae()
|
D | enable_reduced_arity_initialization_extension.pass.cpp | 31 struct NoDefault { NoDefault() = delete; }; struct 41 typedef NoDefault ND; in test_default_constructible_extension_sfinae()
|
/external/libcxx/test/libcxx/utilities/tuple/tuple.tuple/tuple.cnstr/ |
D | disable_reduced_arity_initialization_extension.pass.cpp | 33 struct NoDefault { NoDefault() = delete; }; struct 43 typedef NoDefault ND; in test_default_constructible_extension_sfinae()
|
D | enable_reduced_arity_initialization_extension.pass.cpp | 32 struct NoDefault { NoDefault() = delete; }; struct 42 typedef NoDefault ND; in test_default_constructible_extension_sfinae()
|