Searched defs:Trivial (Results 1 - 13 of 13) sorted by relevance

/external/clang/test/CodeGenCXX/
H A Dsanitize-dtor-trivial.cpp9 struct Trivial { struct
13 Trivial t;
/external/slf4j/log4j-over-slf4j/src/test/java/org/apache/log4j/
H A DTrivial.java31 public class Trivial extends TestCase { class in inherits:TestCase
/external/clang/test/CXX/class/
H A Dp6-0x.cpp4 class Trivial { int n; void f(); }; class
11 static_assert(__is_trivial(Trivial), "Trivial is not trivial");
/external/compiler-rt/test/msan/
H A Ddtor-trivial.cpp26 struct Trivial { struct
36 Trivial *t = new Trivial();
37 t->~Trivial();
/external/clang/test/CXX/special/class.copy/
H A Dp12-0x.cpp17 struct Trivial {}; struct
18 using _ = trivially_copyable<Trivial>;
40 struct VBase : virtual Trivial {};
H A Dp25-0x.cpp20 struct Trivial {}; struct
21 using _ = trivially_assignable<Trivial>;
43 struct VBase : virtual Trivial {};
H A Dp11.0x.copy.cpp3 struct Trivial {}; struct
76 volatile Trivial vm; // expected-note {{has no copy}}
H A Dp11.0x.move.cpp3 struct Trivial {}; struct
71 const Trivial ct;
84 volatile Trivial vt; // expected-note{{deleted because field 'vt' has no move constructor}}
H A Dp23-cxx11.cpp3 struct Trivial {}; struct
123 const Trivial a; // expected-note 3{{field 'a' has no }}
126 volatile Trivial a; // expected-note 3{{field 'a' has no }}
/external/clang/test/Analysis/
H A Dtemporaries.cpp8 struct Trivial { struct
9 Trivial(int x) : value(x) {} function in struct:Trivial
13 struct NonTrivial : public Trivial {
14 NonTrivial(int x) : Trivial(x) {}
19 Trivial getTrivial() {
20 return Trivial(42); // no-warning
23 const Trivial &getTrivialRef() {
24 return Trivial(42); // expected-warning {{Address of stack memory associated with temporary object of type 'Trivial' returned to caller}}
37 struct TrivialSubclass : public Trivial {
[all...]
/external/clang/test/CXX/special/class.ctor/
H A Dp5-0x.cpp145 class Trivial { static const int n = 42; }; class
146 static_assert(__has_trivial_constructor(Trivial), "Trivial is nontrivial");
162 ASSERT_NONTRIVIAL(NonTrivialDefCtor3, : virtual Trivial, )
/external/clang/test/SemaCXX/
H A Dwarn-unused-private-field.cpp80 class Trivial { class
82 Trivial() = default;
83 Trivial(int a) {} function in class:Trivial
110 Trivial trivial_initializer_ = Trivial(); // expected-warning{{private field 'trivial_initializer_' is not used}}
111 Trivial non_trivial_initializer_ = Trivial(42);
115 Trivial trivial_; // expected-warning{{private field 'trivial_' is not used}}
116 Trivial user_constructor_;
/external/v8/test/cctest/
H A Dtest-api.cc7777 class Trivial { class
7779 explicit Trivial(int x) : x_(x) {} function in class:Trivial
7809 Trivial* t1 = reinterpret_cast<Trivial*>(data.GetInternalField(0));
7825 Trivial* t1;
7837 t1 = new Trivial(42);
7841 t1 = reinterpret_cast<Trivial*>(obj->GetAlignedPointerFromInternalField(0));

Completed in 361 milliseconds