Searched refs:IntRef (Results 1 – 8 of 8) sorted by relevance
8 typedef int& IntRef; typedef10 const IntRef ref_c(); // qual-warning{{'const' qualifier on reference type 'IntRef' (aka 'int &') h…11 volatile IntRef ref_v(); // qual-warning{{'volatile' qualifier on reference type 'IntRef' (aka 'int…12 const volatile IntRef ref_cv(); // qual-warning{{'const' qualifier on reference type 'IntRef' (aka …
19 struct IntRef { int *target; }; argument22 int &classparam(IntRef param [[clang::lifetimebound]]);
1477 typedef Int& IntRef; typedef1519 { int arr[F(__has_trivial_constructor(IntRef))]; } in has_trivial_default_constructor()1570 { int arr[T(__has_trivial_copy(IntRef))]; } in has_trivial_copy_constructor()1611 { int arr[F(__has_trivial_assign(IntRef))]; } in has_trivial_copy_assignment()1637 { int arr[T(__has_trivial_destructor(IntRef))]; } in has_trivial_destructor()1704 { int arr[F(__has_nothrow_assign(IntRef))]; } in has_nothrow_assign()1784 { int arr[T(__has_nothrow_copy(IntRef))]; } in has_nothrow_copy()1834 { int arr[F(__has_nothrow_constructor(IntRef))]; } in has_nothrow_constructor()1862 { int arr[F(__has_virtual_destructor(IntRef))]; } in has_virtual_destructor()
29 template<int &> struct IntRef {}; struct30 using IPn = IntRef<*(&n + 1)>; // expected-error {{not a constant expression}} expected-note {{dere…31 using IPn = IntRef<*(&n + 1)>; // expected-error {{not a constant expression}} expected-note {{dere…33 using IP2 = IntRef<s.n[2]>; // FIXME expected-error {{refers to subobject}}34 using IP2 = IntRef<*(s.n + 2)>; // FIXME expected-error {{refers to subobject}}36 using IP3 = IntRef<s.n[3]>; // expected-error {{not a constant expression}} expected-note {{derefer…37 using IP3 = IntRef<*(s.n + 3)>; // expected-error {{not a constant expression}} expected-note {{der…
36 typedef int& IntRef; typedef38 IntRef IVar = x;
68 const int &IntRef = i; in bad_switch() local69 switch (IntRef) { in bad_switch()
162 struct IntRef { IntRef(); IntRef(const int& i); operator int*(); }; in aliasing() struct164 IntRef Int(IntArr[I]); in aliasing()179 IntRef Refs[N]; in aliasing()
134 DIEEntry IntRef(Int); in TEST_F() local142 Member->addValue(Alloc, dwarf::DW_AT_type, dwarf::DW_FORM_ref4, IntRef); in TEST_F()165 DIEEntry IntRef(Int); in TEST_F() local173 Mem1->addValue(Alloc, dwarf::DW_AT_type, dwarf::DW_FORM_ref4, IntRef); in TEST_F()182 Mem2->addValue(Alloc, dwarf::DW_AT_type, dwarf::DW_FORM_ref4, IntRef); in TEST_F()