Home
last modified time | relevance | path

Searched refs:IncompleteType (Results 1 – 25 of 34) sorted by relevance

12

/external/llvm-project/libcxx/test/support/
Dunique_ptr_test_helper.h52 struct IncompleteType;
56 IncompleteType* getNewIncomplete();
57 IncompleteType* getNewIncompleteArray(int size);
67 template <class IncompleteT = IncompleteType,
70 static_assert((std::is_same<IncompleteT, IncompleteType>::value ||
71 std::is_same<IncompleteT, IncompleteType[]>::value), "");
92 IncompleteType* get() const { return m_ptr.get(); }
97 template <class IncompleteT = IncompleteType,
116 struct IncompleteType { \
118 IncompleteType() { ++count; } \
[all …]
/external/libcxx/test/support/
Dunique_ptr_test_helper.h53 struct IncompleteType;
57 IncompleteType* getNewIncomplete();
58 IncompleteType* getNewIncompleteArray(int size);
68 template <class IncompleteT = IncompleteType,
71 static_assert((std::is_same<IncompleteT, IncompleteType>::value ||
72 std::is_same<IncompleteT, IncompleteType[]>::value), "");
93 IncompleteType* get() const { return m_ptr.get(); }
98 template <class IncompleteT = IncompleteType,
117 struct IncompleteType { \
119 IncompleteType() { ++count; } \
[all …]
/external/llvm-project/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/
DPR27684_contains_ref_to_incomplete_type.pass.cpp28 struct IncompleteType;
29 extern IncompleteType inc1;
30 extern IncompleteType inc2;
31 IncompleteType const& cinc1 = inc1;
32 IncompleteType const& cinc2 = inc2;
35 using IT = IncompleteType; in main()
52 struct IncompleteType {}; struct
53 IncompleteType inc1;
54 IncompleteType inc2;
/external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/
DPR27684_contains_ref_to_incomplete_type.pass.cpp27 struct IncompleteType;
28 extern IncompleteType inc1;
29 extern IncompleteType inc2;
30 IncompleteType const& cinc1 = inc1;
31 IncompleteType const& cinc2 = inc2;
34 using IT = IncompleteType; in main()
49 struct IncompleteType {}; struct
50 IncompleteType inc1;
51 IncompleteType inc2;
/external/libcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.class/unique.ptr.ctor/
Ddefault.pass.cpp92 doIncompleteTypeTest<IncompleteType, Deleter<IncompleteType> >(0);
94 doIncompleteTypeTest<IncompleteType[]>(0);
95 doIncompleteTypeTest<IncompleteType[], Deleter<IncompleteType[]> >(0);
Dnullptr.pass.cpp84 doIncompleteTypeTest<IncompleteType, NCDeleter<IncompleteType> >(0,
88 { doIncompleteTypeTest<IncompleteType[]>(0, nullptr); }
91 doIncompleteTypeTest<IncompleteType[], NCDeleter<IncompleteType[]> >(
Dpointer.pass.cpp154 doIncompleteTypeTest<IncompleteType, NCDeleter<IncompleteType> >(
/external/llvm-project/libcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.class/unique.ptr.ctor/
Ddefault.pass.cpp91 doIncompleteTypeTest<IncompleteType, Deleter<IncompleteType> >(0);
93 doIncompleteTypeTest<IncompleteType[]>(0);
94 doIncompleteTypeTest<IncompleteType[], Deleter<IncompleteType[]> >(0);
Dnullptr.pass.cpp83 doIncompleteTypeTest<IncompleteType, NCDeleter<IncompleteType> >(0,
87 { doIncompleteTypeTest<IncompleteType[]>(0, nullptr); }
90 doIncompleteTypeTest<IncompleteType[], NCDeleter<IncompleteType[]> >(
Dpointer.pass.cpp153 doIncompleteTypeTest<IncompleteType, NCDeleter<IncompleteType> >(
/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/
Dperformance-unnecessary-value-param-incomplete-type.cpp5 struct IncompleteType;
6 void NegativeForIncompleteType(IncompleteType I) { in NegativeForIncompleteType()
/external/llvm-project/clang/test/CodeCompletion/
Dincomplete-member.cpp1 struct IncompleteType;
4 IncompleteType *f; in foo()
Dincomplete-ret-type.cpp1 struct IncompleteType;
6 IncompleteType g(in);
/external/angle/third_party/abseil-cpp/absl/container/internal/
Dcompressed_tuple_test.cc106 struct IncompleteType;
107 CompressedTuple<CopyableMovableInstance, IncompleteType&, Empty<0>>
109 IncompleteType& t, // NOLINT in MakeWithIncomplete()
111 return CompressedTuple<CopyableMovableInstance, IncompleteType&, Empty<0>>{ in MakeWithIncomplete()
115 struct IncompleteType {}; struct
120 struct DerivedType : IncompleteType {int value = 0;}; in TEST()
124 CompressedTuple<CopyableMovableInstance, IncompleteType&, Empty<0>> x1 = in TEST()
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/container/internal/
Dcompressed_tuple_test.cc106 struct IncompleteType;
107 CompressedTuple<CopyableMovableInstance, IncompleteType&, Empty<0>>
109 IncompleteType& t, // NOLINT in MakeWithIncomplete()
111 return CompressedTuple<CopyableMovableInstance, IncompleteType&, Empty<0>>{ in MakeWithIncomplete()
115 struct IncompleteType {}; struct
120 struct DerivedType : IncompleteType {int value = 0;}; in TEST()
124 CompressedTuple<CopyableMovableInstance, IncompleteType&, Empty<0>> x1 = in TEST()
/external/openscreen/third_party/abseil/src/absl/container/internal/
Dcompressed_tuple_test.cc106 struct IncompleteType;
107 CompressedTuple<CopyableMovableInstance, IncompleteType&, Empty<0>>
109 IncompleteType& t, // NOLINT in MakeWithIncomplete()
111 return CompressedTuple<CopyableMovableInstance, IncompleteType&, Empty<0>>{ in MakeWithIncomplete()
115 struct IncompleteType {}; struct
120 struct DerivedType : IncompleteType {int value = 0;}; in TEST()
124 CompressedTuple<CopyableMovableInstance, IncompleteType&, Empty<0>> x1 = in TEST()
/external/webrtc/third_party/abseil-cpp/absl/container/internal/
Dcompressed_tuple_test.cc106 struct IncompleteType;
107 CompressedTuple<CopyableMovableInstance, IncompleteType&, Empty<0>>
109 IncompleteType& t, // NOLINT in MakeWithIncomplete()
111 return CompressedTuple<CopyableMovableInstance, IncompleteType&, Empty<0>>{ in MakeWithIncomplete()
115 struct IncompleteType {}; struct
120 struct DerivedType : IncompleteType {int value = 0;}; in TEST()
124 CompressedTuple<CopyableMovableInstance, IncompleteType&, Empty<0>> x1 = in TEST()
/external/abseil-cpp/absl/container/internal/
Dcompressed_tuple_test.cc106 struct IncompleteType;
107 CompressedTuple<CopyableMovableInstance, IncompleteType&, Empty<0>>
109 IncompleteType& t, // NOLINT in MakeWithIncomplete()
111 return CompressedTuple<CopyableMovableInstance, IncompleteType&, Empty<0>>{ in MakeWithIncomplete()
115 struct IncompleteType {}; struct
120 struct DerivedType : IncompleteType {int value = 0;}; in TEST()
124 CompressedTuple<CopyableMovableInstance, IncompleteType&, Empty<0>> x1 = in TEST()
/external/libtextclassifier/abseil-cpp/absl/container/internal/
Dcompressed_tuple_test.cc106 struct IncompleteType;
107 CompressedTuple<CopyableMovableInstance, IncompleteType&, Empty<0>>
109 IncompleteType& t, // NOLINT in MakeWithIncomplete()
111 return CompressedTuple<CopyableMovableInstance, IncompleteType&, Empty<0>>{ in MakeWithIncomplete()
115 struct IncompleteType {}; struct
120 struct DerivedType : IncompleteType {int value = 0;}; in TEST()
124 CompressedTuple<CopyableMovableInstance, IncompleteType&, Empty<0>> x1 = in TEST()
/external/llvm-project/llvm/unittests/Support/
DReverseIterationTest.cpp29 struct IncompleteType; in TEST()
30 static_assert(detail::IsPointerLike<IncompleteType *>::value, in TEST()
/external/llvm-project/clang/test/Analysis/
Dcxx-uninitialized-object-ptr-ref.cpp563 class IncompleteType;
566 IncompleteType *pImpl; //no-crash
569 IncompletePointeeTypeTest(IncompleteType *A) : pImpl(A) {} in IncompletePointeeTypeTest()
573 IncompletePointeeTypeTest(reinterpret_cast<IncompleteType *>(ptr)); in fIncompletePointeeTypeTest()
/external/libchrome/base/containers/
Dflat_set_unittest.cc24 TEST(FlatSet, IncompleteType) { in TEST() argument
/external/clang/include/clang/Sema/
DInitialization.h1130 void setIncompleteTypeFailure(QualType IncompleteType) { in setIncompleteTypeFailure() argument
1131 FailedIncompleteType = IncompleteType; in setIncompleteTypeFailure()
/external/llvm-project/clang-tools-extra/unittests/clang-include-fixer/
DIncludeFixerTest.cpp141 TEST(IncludeFixer, IncompleteType) { in TEST() argument
/external/llvm-project/clang/include/clang/Sema/
DInitialization.h1384 void setIncompleteTypeFailure(QualType IncompleteType) { in setIncompleteTypeFailure() argument
1385 FailedIncompleteType = IncompleteType; in setIncompleteTypeFailure()

12