Home
last modified time | relevance | path

Searched refs:HasRef (Results 1 – 2 of 2) sorted by relevance

/llvm-project-15.0.7/clang/test/Analysis/diagnostics/
H A Dno-store-func-path-notes.cpp183 struct HasRef { struct
185 HasRef(int &a) : a(a) {} in HasRef() argument
189 void maybeInitialize(const HasRef &&pA) { in maybeInitialize()
231 void maybeInitialize(const HasRef *pA) { in maybeInitialize()
249 struct HasParentWithRef : public HasRef {
273 HasRef &Ref;
274 HasIndirectRef(HasRef &Ref) : Ref(Ref) {} in HasIndirectRef()
296 HasRef Ref;
297 HasIndirectRefByValue(HasRef Ref) : Ref(Ref) {} in HasIndirectRefByValue()
319 HasRef *Ref;
[all …]
/llvm-project-15.0.7/clang/test/SemaCXX/
H A Dtype-traits.cpp108 struct HasRef { int i; int& ref; HasRef() : i(0), ref(i) {} }; in HasRef() argument
122 struct DerivesHasRef : HasRef {};
243 { int arr[F(__is_pod(HasRef))]; } in is_pod()
292 { int arr[F(__is_empty(HasRef))]; } in is_empty()
1568 { int arr[T(__has_trivial_copy(HasRef))]; } in has_trivial_copy_constructor()
1600 { int arr[T(__has_trivial_assign(HasRef))]; } in has_trivial_copy_assignment()
1634 { int arr[T(__has_trivial_destructor(HasRef))]; } in has_trivial_destructor()
1691 { int arr[T(__has_nothrow_assign(HasRef))]; } in has_nothrow_assign()
1788 { int arr[T(__has_nothrow_copy(HasRef))]; } in has_nothrow_copy()
2090 { int arr[F(__is_trivial(HasRef))]; } in is_trivial()
[all …]