Home
last modified time | relevance | path

Searched refs:HasTrivialABI (Results 1 – 3 of 3) sorted by relevance

/external/llvm-project/libcxx/test/libcxx/utilities/utility/pairs/pairs.pair/
Dtrivial_copy_move_ABI.pass.cpp34 struct HasTrivialABI : std::integral_constant<bool, struct
48 static_assert(!HasTrivialABI<NonTrivialDtor>::value, "");
54 static_assert(!HasTrivialABI<NonTrivialCopy>::value, "");
61 static_assert(!HasTrivialABI<NonTrivialMove>::value, "");
67 static_assert(HasTrivialABI<DeletedCopy>::value, "");
72 static_assert(HasTrivialABI<TrivialMove>::value, "");
77 static_assert(HasTrivialABI<Trivial>::value, "");
86 static_assert(HasTrivialABI<P>::value, ""); in test_trivial()
92 static_assert(HasTrivialABI<P>::value, ""); in test_trivial()
101 static_assert(!HasTrivialABI<P>::value, ""); in test_trivial()
[all …]
/external/libcxx/test/libcxx/utilities/utility/pairs/pairs.pair/
Dtrivial_copy_move_ABI.pass.cpp37 struct HasTrivialABI : std::integral_constant<bool, struct
51 static_assert(!HasTrivialABI<NonTrivialDtor>::value, "");
57 static_assert(!HasTrivialABI<NonTrivialCopy>::value, "");
64 static_assert(!HasTrivialABI<NonTrivialMove>::value, "");
70 static_assert(HasTrivialABI<DeletedCopy>::value, "");
75 static_assert(HasTrivialABI<TrivialMove>::value, "");
80 static_assert(HasTrivialABI<Trivial>::value, "");
89 static_assert(HasTrivialABI<P>::value, ""); in main()
95 static_assert(HasTrivialABI<P>::value, ""); in main()
104 static_assert(!HasTrivialABI<P>::value, ""); in main()
[all …]
/external/llvm-project/clang/lib/Sema/
DSemaDeclCXX.cpp6657 bool HasTrivialABI = Record->hasAttr<TrivialABIAttr>(); in CheckCompletedCXXClass() local
6659 if (HasTrivialABI) in CheckCompletedCXXClass()
6739 HasTrivialABI || in CheckCompletedCXXClass()
6749 M->setTrivialForCall(HasTrivialABI); in CheckCompletedCXXClass()