HomeSort by relevance Sort by last modified time
    Searched refs:Trivial (Results 1 - 17 of 17) sorted by null

  /external/clang/test/Analysis/
temporaries.cpp 6 struct Trivial {
7 Trivial(int x) : value(x) {}
11 struct NonTrivial : public Trivial {
12 NonTrivial(int x) : Trivial(x) {}
17 Trivial getTrivial() {
18 return Trivial(42); // no-warning
21 const Trivial &getTrivialRef() {
22 return Trivial(42); // expected-warning {{Address of stack memory associated with temporary object of type 'Trivial' returned to caller}}
35 struct TrivialSubclass : public Trivial {
    [all...]
  /external/clang/test/CXX/class/
p6-0x.cpp 4 class Trivial { int n; void f(); };
11 static_assert(__is_trivial(Trivial), "Trivial is not trivial");
12 static_assert(!__is_trivial(NonTrivial1), "NonTrivial1 is trivial");
13 static_assert(!__is_trivial(NonTrivial2), "NonTrivial2 is trivial");
14 static_assert(!__is_trivial(NonTrivial3), "NonTrivial3 is trivial");
15 static_assert(!__is_trivial(NonTrivial4), "NonTrivial4 is trivial");
16 static_assert(!__is_trivial(NonTrivial5), "NonTrivial5 is trivial");
31 static_assert(!__is_trivial(NonTrivial6), "NonTrivial6 is trivial");
    [all...]
  /external/clang/test/SemaCXX/
warn-unused-private-field.cpp 80 class Trivial {
82 Trivial() = default;
83 Trivial(int a) {}
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/chromium/testing/gtest/samples/
sample1_unittest.cc 127 // Tests some trivial cases.
128 TEST(IsPrimeTest, Trivial) {
  /external/chromium_org/testing/gtest/samples/
sample1_unittest.cc 127 // Tests some trivial cases.
128 TEST(IsPrimeTest, Trivial) {
  /external/gtest/samples/
sample1_unittest.cc 127 // Tests some trivial cases.
128 TEST(IsPrimeTest, Trivial) {
  /external/protobuf/gtest/samples/
sample1_unittest.cc 127 // Tests some trivial cases.
128 TEST(IsPrimeTest, Trivial) {
  /ndk/sources/third_party/googletest/googletest/samples/
sample1_unittest.cc 127 // Tests some trivial cases.
128 TEST(IsPrimeTest, Trivial) {
  /external/clang/test/CXX/special/class.copy/
p12-0x.cpp 17 struct Trivial {};
18 using _ = trivially_copyable<Trivial>;
20 // A copy/move constructor for class X is trivial if it is not user-provided,
40 struct VBase : virtual Trivial {};
43 // and the constructor selected to copy/move each [direct subobject] is trivial
53 // We can select a non-trivial copy ctor even if there is a trivial one.
67 // Both trivial and non-trivial special members.
69 TNT(const TNT &) = default; // trivial
    [all...]
p25-0x.cpp 20 struct Trivial {};
21 using _ = trivially_assignable<Trivial>;
23 // A copy/move assignment operator for class X is trivial if it is not user-provided,
43 struct VBase : virtual Trivial {};
46 // and the assignment operator selected to copy/move each [direct subobject] is trivial
61 // Both trivial and non-trivial special members.
63 TNT &operator=(const TNT &) = default; // trivial
64 TNT &operator=(TNT &); // non-trivial
66 TNT &operator=(TNT &&) = default; // trivial
    [all...]
  /external/clang/test/CXX/special/class.ctor/
p5-0x.cpp 22 // - X is a union-like class that has a variant member with a non-trivial
24 union Deleted1a { UserProvidedDefCtor u; }; // expected-note {{default constructor of 'Deleted1a' is implicitly deleted because variant field 'u' has a non-trivial default constructor}}
80 const UserProvidedDefCtor c; // expected-note {{because variant field 'c' has a non-trivial default constructor}}
145 class Trivial { static const int n = 42; };
146 static_assert(__has_trivial_constructor(Trivial), "Trivial is nontrivial");
148 // A default constructor is trivial if it is not user-provided and if:
150 static_assert(!__has_trivial_constructor(NonTrivialDefCtor1), "NonTrivialDefCtor1 is trivial");
162 ASSERT_NONTRIVIAL(NonTrivialDefCtor3, : virtual Trivial, )
167 // - all the direct base classes of its class have trivial default constructors, an
    [all...]
  /external/chromium/base/threading/
platform_thread_unittest.cc 11 // Trivial tests that thread runs and doesn't crash on create and join ---------
29 TEST(PlatformThreadTest, Trivial) {
  /external/chromium_org/base/threading/
platform_thread_unittest.cc 12 // Trivial tests that thread runs and doesn't crash on create and join ---------
30 TEST(PlatformThreadTest, Trivial) {
  /ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/numeric/conversion/detail/
converter.hpp 450 // Trivial Converter : used when (cv-unqualified) T == (cv-unqualified) S
583 typedef trivial_converter_impl<Traits> Trivial ;
584 typedef mpl::identity <Trivial> TrivialQ ;
593 typedef typename Traits::trivial trivial ; typedef in struct:boost::numeric::convdetail::get_converter_impl
595 typedef typename mpl::eval_if<trivial,TrivialQ,NonTrivialQ>::type type ;
  /ndk/build/core/
definitions.mk     [all...]
  /prebuilts/tools/common/netbeans-visual/
org-openide-util.jar 
  /external/dropbear/libtomcrypt/
crypt.tex     [all...]

Completed in 603 milliseconds