Home
last modified time | relevance | path

Searched refs:NonTrivDtor (Results 1 – 8 of 8) sorted by relevance

/external/clang/test/CXX/special/class.dtor/
Dp5-0x.cpp3 struct NonTrivDtor { struct
4 ~NonTrivDtor();
19NonTrivDtor n; // expected-note {{destructor of 'A1' is implicitly deleted because variant field '…
25 NonTrivDtor n; // expected-note {{because variant field 'n' has a non-trivial destructor}}
31 NonTrivDtor n[3]; // expected-note {{because variant field 'n' has a non-trivial destructor}}
37 NonTrivDtor n[3]; // expected-note {{because variant field 'n' has a non-trivial destructor}}
/external/llvm-project/clang/test/CXX/special/class.dtor/
Dp5-0x.cpp3 struct NonTrivDtor { struct
4 ~NonTrivDtor();
19NonTrivDtor n; // expected-note {{destructor of 'A1' is implicitly deleted because variant field '…
25 NonTrivDtor n; // expected-note {{because variant field 'n' has a non-trivial destructor}}
31 NonTrivDtor n[3]; // expected-note {{because variant field 'n' has a non-trivial destructor}}
37 NonTrivDtor n[3]; // expected-note {{because variant field 'n' has a non-trivial destructor}}
/external/clang/test/SemaCXX/
Dflexible-array-test.cpp87 struct NonTrivDtor { ~NonTrivDtor(); }; struct
91NonTrivDtor ntd[]; // expected-error {{flexible array member 'ntd' of type 'NonTrivDtor []' with n…
94 ntd[i-1].~NonTrivDtor(); in ~FlexNonTrivDtor()
Dcxx98-compat.cpp238 struct NonTrivDtor { struct
239 ~NonTrivDtor(); // expected-note 2{{user-provided destructor}}
244NonTrivDtor ntd; // expected-warning {{union member 'ntd' with a non-trivial destructor is incompa…
250NonTrivDtor ntd; // expected-warning {{anonymous struct member 'ntd' with a non-trivial destructor…
/external/llvm-project/clang/test/SemaCXX/
Dflexible-array-test.cpp92 struct NonTrivDtor { ~NonTrivDtor(); }; struct
96NonTrivDtor ntd[]; // expected-error {{flexible array member 'ntd' of type 'NonTrivDtor []' with n…
99 ntd[i-1].~NonTrivDtor(); in ~FlexNonTrivDtor()
Dcxx98-compat.cpp246 struct NonTrivDtor { struct
247 ~NonTrivDtor(); // expected-note 2{{user-provided destructor}}
252NonTrivDtor ntd; // expected-warning {{union member 'ntd' with a non-trivial destructor is incompa…
258NonTrivDtor ntd; // expected-warning {{anonymous struct member 'ntd' with a non-trivial destructor…
/external/llvm-project/clang/test/CXX/basic/basic.types/
Dp10.cpp44 struct NonTrivDtor { struct
45 constexpr NonTrivDtor();
46 …virtual ~NonTrivDtor() = default; // expected-note {{has a non-trivial destructor}} expected-note …
48 constexpr int f(NonTrivDtor) { return 0; } // expected-error {{'NonTrivDtor' is not a literal type}} in f() argument
/external/clang/test/CXX/basic/basic.types/
Dp10.cpp44 struct NonTrivDtor { struct
45 constexpr NonTrivDtor();
46 …virtual ~NonTrivDtor() = default; // expected-note {{has a non-trivial destructor}} expected-note …
48 constexpr int f(NonTrivDtor) { return 0; } // expected-error {{'NonTrivDtor' is not a literal type}} in f() argument