/external/clang/test/CodeGenCXX/ |
empty-nontrivially-copyable.cpp | 8 struct Empty; 10 struct Empty { 11 Empty(const Empty &e); 15 bool foo(Empty e) { 16 // CHECK: @_Z3foo5Empty(%struct.Empty* %e) 17 // CHECK: call {{.*}} @_ZN5Empty5checkEv(%struct.Empty* %e) 21 void caller(Empty &e) { 22 // CHECK: @_Z6callerR5Empty(%struct.Empty* dereferenceable({{[0-9]+}}) %e) 23 // CHECK: call {{.*}} @_ZN5EmptyC1ERKS_(%struct.Empty* [[NEWTMP:%.*]], %struct.Empty [all...] |
arm64-darwinpcs.cpp | 8 struct Empty {}; 9 void test_empty(Empty e) {}
|
arm-vaarg.cpp | 2 struct Empty {}; 4 Empty emptyvar; 11 emptyvar = __builtin_va_arg(l, Empty); 14 // CHECK: [[EMPTY_PTR:%[a-zA-Z0-9._]+]] = bitcast i8* {{%[a-zA-Z0-9._]+}} to %struct.Empty* 20 // CHECK-NOT: load %struct.Empty, %struct.Empty* [[EMPTY_PTR]]
|
arm64-empty-struct.cpp | 2 struct Empty {}; 4 Empty emptyvar; 11 emptyvar = __builtin_va_arg(l, Empty); 14 // CHECK: [[EMPTY_PTR:%[a-zA-Z0-9._]+]] = bitcast i8* {{%[a-zA-Z0-9._]+}} to %struct.Empty* 20 // CHECK-NOT: load %struct.Empty, %struct.Empty* [[EMPTY_PTR]]
|
empty-classes.cpp | 3 struct Empty { }; 11 struct B : A, Empty { 12 B() : A(), Empty() { } 15 struct C : A, Empty { 16 C() : A(), Empty() { } 17 C(const C& other) : A(0x12345678), Empty(other) { } 20 struct D : A, Empty { 23 Empty::operator=(other); 36 // Check that A::a is not overwritten by the Empty default constructor.
|
/external/clang/test/SemaCXX/ |
empty-class-layout.cpp | 24 struct Empty { Empty(); }; 26 struct I : Empty { 27 Empty e; 31 struct J : Empty { 32 Empty e[2]; 36 template<int N> struct Derived : Empty, Derived<N - 1> { 38 template<> struct Derived<0> : Empty { }; 41 Empty e; 46 Empty e[2] [all...] |
/external/llvm/unittests/IR/ |
ConstantRangeTest.cpp | 21 static ConstantRange Empty; 28 ConstantRange ConstantRangeTest::Empty(16, false); 44 EXPECT_FALSE(Empty.isFullSet()); 45 EXPECT_TRUE(Empty.isEmptySet()); 46 EXPECT_TRUE(Empty.inverse().isFullSet()); 47 EXPECT_FALSE(Empty.isWrappedSet()); 48 EXPECT_FALSE(Empty.contains(APInt(16, 0x0))); 49 EXPECT_FALSE(Empty.contains(APInt(16, 0x9))); 50 EXPECT_FALSE(Empty.contains(APInt(16, 0xa))); 51 EXPECT_FALSE(Empty.contains(APInt(16, 0xaa9))) [all...] |
/external/libcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/ |
is_nothrow_constructible.pass.cpp | 47 class Empty 81 Tuple(Empty&&) noexcept {} 89 test_is_nothrow_constructible<Empty> (); 90 test_is_nothrow_constructible<Empty, const Empty&> (); 92 test_is_nothrow_constructible<Tuple &&, Empty> (); // See bug #19616. 100 static_assert(!std::is_constructible<Tuple&, Empty>::value, ""); 101 test_is_not_nothrow_constructible<Tuple &, Empty> (); // See bug #19616.
|
is_trivially_copy_assignable.pass.cpp | 28 class Empty 58 test_has_trivially_copy_assignable<Empty>(); 69 test_has_not_trivially_copy_assignable<const Empty>();
|
is_trivially_move_assignable.pass.cpp | 28 class Empty 58 test_has_trivial_assign<Empty>(); 69 test_has_not_trivial_assign<const Empty>();
|
is_move_assignable.pass.cpp | 28 class Empty 57 test_is_move_assignable<Empty> ();
|
is_nothrow_copy_assignable.pass.cpp | 28 class Empty 53 test_has_nothrow_assign<Empty>();
|
is_nothrow_move_assignable.pass.cpp | 28 class Empty 53 test_has_nothrow_assign<Empty>();
|
is_copy_assignable.pass.cpp | 28 class Empty 68 test_is_copy_assignable<Empty> ();
|
is_move_constructible.pass.cpp | 28 class Empty 73 test_is_move_constructible<Empty>();
|
is_nothrow_copy_constructible.pass.cpp | 32 class Empty 55 test_is_nothrow_copy_constructible<Empty>();
|
is_nothrow_move_constructible.pass.cpp | 32 class Empty 55 test_is_nothrow_move_constructible<Empty>();
|
is_trivially_copy_constructible.pass.cpp | 30 class Empty 67 test_is_trivially_copy_constructible<Empty>();
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/meta/meta.unary/meta.unary.prop/ |
is_trivially_copy_assignable.pass.cpp | 28 class Empty 58 test_has_trivially_copy_assignable<Empty>(); 69 test_has_not_trivially_copy_assignable<const Empty>();
|
is_trivially_move_assignable.pass.cpp | 28 class Empty 58 test_has_trivial_assign<Empty>(); 69 test_has_not_trivial_assign<const Empty>();
|
is_nothrow_constructible.pass.cpp | 47 class Empty 77 test_is_nothrow_constructible<Empty> (); 78 test_is_nothrow_constructible<Empty, const Empty&> ();
|
is_move_assignable.pass.cpp | 28 class Empty 57 test_is_move_assignable<Empty> ();
|
is_nothrow_copy_assignable.pass.cpp | 28 class Empty 53 test_has_nothrow_assign<Empty>();
|
is_nothrow_move_assignable.pass.cpp | 28 class Empty 53 test_has_nothrow_assign<Empty>();
|
/external/clang/test/CodeGen/ |
2009-03-08-ZeroEltStructCrash.c | 3 struct Empty {};
|