Home
last modified time | relevance | path

Searched refs:IncompleteStruct (Results 1 – 7 of 7) sorted by relevance

/llvm-project/clang/test/SemaObjCXX/
H A Dproperty-synthesis-error.mm74 struct IncompleteStruct; // expected-note 2 {{forward declaration of 'IncompleteStruct'}} struct
75 struct ConvertToIncomplete { operator IncompleteStruct&(); };
77 @property (readonly, nonatomic) IncompleteStruct& x; // expected-note {{property declared here}}
78 @property (readonly, nonatomic) IncompleteStruct& y; // expected-note {{property declared here}}
81 …eteRef // expected-error {{cannot synthesize property 'x' with incomplete type 'IncompleteStruct'}}
82 …ize y; // expected-error {{cannot synthesize property 'y' with incomplete type 'IncompleteStruct'}}
/llvm-project/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_dense_map_test.cpp527 struct IncompleteStruct;
533 DenseMap<IncompleteStruct *, int> Map; in TEST()
535 IncompleteStruct *K1 = reinterpret_cast<IncompleteStruct *>(&Keys[0]); in TEST()
536 IncompleteStruct *K2 = reinterpret_cast<IncompleteStruct *>(&Keys[1]); in TEST()
537 IncompleteStruct *K3 = reinterpret_cast<IncompleteStruct *>(&Keys[2]); in TEST()
/llvm-project/llvm/unittests/ADT/
H A DDenseMapTest.cpp686 struct IncompleteStruct;
692 DenseMap<IncompleteStruct *, int> Map; in TEST()
694 IncompleteStruct *K1 = reinterpret_cast<IncompleteStruct *>(&Keys[0]); in TEST()
695 IncompleteStruct *K2 = reinterpret_cast<IncompleteStruct *>(&Keys[1]); in TEST()
696 IncompleteStruct *K3 = reinterpret_cast<IncompleteStruct *>(&Keys[2]); in TEST()
/llvm-project/clang/test/CXX/expr/expr.unary/expr.unary.noexcept/
H A Dsema.cpp98 struct IncompleteStruct;
113 P(delete (IncompleteStruct*)0); in implicits()
/llvm-project/clang/test/Parser/
H A Dc2x-attributes.c59 struct [[]] IncompleteStruct;
H A Dc2x-attribute-keywords.c50 struct ATTR_USE IncompleteStruct; // expected-error {{'ATTR_NAME' only applies to non-K&R-style fun… variable
/llvm-project/clang/test/SemaCXX/
H A Dtype-traits.cpp21 struct IncompleteStruct; // expected-note {{forward declaration of 'IncompleteStruct'}}
2018 static_assert(!__builtin_is_implicit_lifetime(IncompleteStruct)); in has_trivial_default_constructor()
2019 // expected-error@-1 {{incomplete type 'IncompleteStruct' used in type trait expression}} in has_trivial_default_constructor()
2020 static_assert(__builtin_is_implicit_lifetime(IncompleteStruct[])); in has_trivial_default_constructor()
2021 static_assert(__builtin_is_implicit_lifetime(IncompleteStruct[5])); in has_trivial_default_constructor()
2569 static_assert(!__is_base_of(IncompleteStruct, IncompleteUnion));
2570 static_assert(!__is_base_of(IncompleteUnion, IncompleteStruct));
2647 static_assert(!__builtin_is_virtual_base_of(IncompleteStruct, IncompleteUnion)); in is_trivial()
2648 static_assert(!__builtin_is_virtual_base_of(IncompleteUnion, IncompleteStruct)); in is_trivial()
[all...]