HomeSort by relevance Sort by last modified time
    Searched full:trivial (Results 1 - 25 of 964) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /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/Analysis/
temporaries.cpp 5 struct Trivial {
6 Trivial(int x) : value(x) {}
10 struct NonTrivial : public Trivial {
11 NonTrivial(int x) : Trivial(x) {}
16 Trivial getTrivial() {
17 return Trivial(42); // no-warning
20 const Trivial &getTrivialRef() {
21 return Trivial(42); // expected-warning {{Address of stack memory associated with temporary object of type 'Trivial' returned to caller}}
34 struct TrivialSubclass : public Trivial {
    [all...]
  /external/clang/test/SemaCXX/
trivial-destructor.cpp 5 static_assert(__has_trivial_destructor(T1), "T1 has trivial destructor!");
15 static_assert(__has_trivial_destructor(T3), "T3 has a virtual function (but still a trivial destructor)!");
19 static_assert(__has_trivial_destructor(T4), "T4 has a virtual base class! (but still a trivial destructor)!");
23 static_assert(__has_trivial_destructor(T5), "All the direct base classes of T5 have trivial destructors!");
30 static_assert(__has_trivial_destructor(T6), "All nonstatic data members of T6 have trivial destructors!");
35 static_assert(!__has_trivial_destructor(T7), "t2 does not have a trivial destructor!");
39 static_assert(!__has_trivial_destructor(T8), "The base class T2 does not have a trivial destructor!");
trivial-constructor.cpp 5 static_assert(__has_trivial_constructor(T1), "T1 has trivial constructor!");
23 static_assert(__has_trivial_constructor(T5), "All the direct base classes of T5 have trivial constructors!");
30 static_assert(__has_trivial_constructor(T6), "All nonstatic data members of T6 have trivial constructors!");
35 static_assert(!__has_trivial_constructor(T7), "t4 does not have a trivial constructor!");
39 static_assert(!__has_trivial_constructor(T8), "The base class T2 does not have a trivial constructor!");
anonymous-struct.cpp 12 S x; // expected-error {{anonymous struct member 'x' has a non-trivial constructor}}
  /dalvik/tests/069-field-type/src/
Blah.java 3 * Trivial class; must implement an interesting interface.
  /dalvik/tests/069-field-type/src2/
Blah.java 3 * Trivial class; must implement an interesting interface.
  /external/llvm/test/Object/Inputs/
trivial-object-test.elf-i386 
archive-test.a-coff-i386 5 trivial-object-test.coff-i386/0 1317070755 100666 346 `
  /external/llvm/test/Object/
readobj.test 2 RUN: llvm-readobj %p/Inputs/trivial-object-test.elf-x86-64
nm-trivial-object.test 5 RUN: llvm-nm %p/Inputs/trivial-object-test.elf-i386 \
7 RUN: llvm-nm %p/Inputs/trivial-object-test.elf-x86-64 \
9 RUN: llvm-nm %p/Inputs/trivial-object-test.macho-i386 \
11 RUN: llvm-nm %p/Inputs/trivial-object-test.macho-x86-64 \
nm-archive.test 3 RUN: llvm-as %p/Inputs/trivial.ll -o=%t1
8 COFF: trivial-object-test.coff-i386:
  /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/class/class.union/
p1.cpp 39 Virtual v; // expected-error {{union member 'v' has a non-trivial copy constructor}}
40 VirtualBase vbase; // expected-error {{union member 'vbase' has a non-trivial copy constructor}}
41 Ctor ctor; // expected-error {{union member 'ctor' has a non-trivial constructor}}
42 Ctor2 ctor2; // expected-error {{union member 'ctor2' has a non-trivial constructor}}
43 CtorTmpl ctortmpl; // expected-error {{union member 'ctortmpl' has a non-trivial constructor}}
44 CopyCtor copyctor; // expected-error {{union member 'copyctor' has a non-trivial copy constructor}}
45 CopyAssign copyassign; // expected-error {{union member 'copyassign' has a non-trivial copy assignment operator}}
46 Dtor dtor; // expected-error {{union member 'dtor' has a non-trivial destructor}}
52 Virtual v; // expected-note {{because the function selected to copy field of type 'Virtual' is not trivial}}
53 } m1; // expected-error {{union member 'm1' has a non-trivial copy constructor}
    [all...]
  /external/clang/test/SemaObjCXX/
property-synthesis-error.mm 46 class Trivial
49 Trivial(const Trivial& inObj);
50 Trivial();
51 ~Trivial();
61 Trivial _tcppObject;
65 @property (assign, readwrite) const Trivial& tcppObject;
70 @synthesize cppObject = _cppObject; // expected-error {{atomic property of reference type 'const TCPPObject &' cannot have non-trivial assignment operator}}
103 // expected-error {{atomic property of reference type 'TemplateClass2<int &> &' cannot have non-trivial assignment operator}} \
  /external/webkit/Tools/Scripts/webkitpy/tool/
multicommandtool_unittest.py 39 name = "trivial"
70 self.assertEqual(command_with_args.name_with_arguments(), "trivial ARG1 ARG2")
73 self.assertEqual(command_with_args.name_with_arguments(), "trivial [options]")
84 expected_missing_args_error = "2 arguments required, 1 argument provided. Provided: 'foo' Required: ARG1 ARG2\nSee 'trivial-tool help trivial' for usage.\n"
91 MultiCommandTool.__init__(self, name="trivial-tool", commands=commands)
121 self.assertEqual(tool.command_by_name("trivial").name, "trivial")
136 expected_common_commands_help = """Usage: trivial-tool [options] COMMAND [ARGS]
141 Common trivial-tool commands
    [all...]
  /external/chromium/chrome/common/extensions/docs/examples/
README.txt 4 * api/ - trivial extensions focused on a single API package
  /external/compiler-rt/lib/asan/lit_tests/Helpers/
initialization-blacklist-extra.cc 11 // Global object with non-trivial constructor.
  /ndk/tests/build/import-install/path1/
Android.mk 1 # This is a trivial shared library that will be imported
  /ndk/tests/build/import-install/path2/
Android.mk 1 # This is a trivial shared library that will be imported
  /external/clang/test/CXX/expr/expr.post/expr.call/
p7-0x.cpp 25 vararg(x2); // expected-error{{cannot pass object of non-trivial type 'X2' through variadic function; call will abort at runtime}}
27 vararg(x4); // expected-error{{cannot pass object of non-trivial type 'X4' through variadic function; call will abort at runtime}}
  /external/clang/test/CXX/stmt.stmt/stmt.dcl/
p3-0x.cpp 34 Y y; // expected-note{{jump bypasses variable with a non-trivial destructor}}
39 Y y2; // expected-note{{jump bypasses variable with a non-trivial destructor}}
  /external/clang/test/CodeGenCXX/
skip-vtable-pointer-initialization.cpp 7 // Check that we don't initialize the vtable pointer in A::~A(), since the destructor body is trivial.
23 // Check that we do initialize the vtable pointer in A::~A() since the destructor body isn't trivial.
39 // Check that we don't initialize the vtable pointer in A::~A(), since the destructor body is trivial
40 // and Field's destructor body is also trivial.
63 // isn't trivial.
113 // variable with a non-trivial destructor body.
141 // class with a non-trivial destructor body.
167 // class with a non-trivial destructor body.
pr9965.cpp 4 struct X : A // default constructor is not trivial

Completed in 711 milliseconds

1 2 3 4 5 6 7 8 91011>>