Home
last modified time | relevance | path

Searched refs:intref (Results 1 – 8 of 8) sorted by relevance

/external/clang/test/CXX/dcl.decl/dcl.meaning/dcl.ref/
Dp5.cpp9 typedef int &intref; typedef
10 typedef intref &intrefref;
24 intref
55 intref
64 intref
101 intref
113 intref
/external/llvm-project/clang/test/CXX/dcl.decl/dcl.meaning/dcl.ref/
Dp5.cpp9 typedef int &intref; typedef
10 typedef intref &intrefref;
24 intref
55 intref
64 intref
101 intref
113 intref
/external/clang/test/SemaCXX/
Dreferences.cpp85 typedef int& intref; in test8() typedef
86 typedef intref& intrefref; // C++ DR 106: reference collapsing in test8()
88 …typedef intref const intref_c; // expected-warning {{'const' qualifier on reference type 'intref' … in test8()
89 typedef intref_c intref; // ok, same type in test8() typedef
91 …typedef intref volatile intref; // expected-warning {{'volatile' qualifier on reference type 'intr… in test8() typedef
92 …typedef intref _Atomic intref; // expected-warning {{'_Atomic' qualifier on reference type 'intref… in test8() typedef
94 void restrict_ref(__restrict intref); // ok in test8()
Doverload-call.cpp254 int* intref(int&);
255 float* intref(const int&);
258 float* ir1 = intref(5); in intref_test()
259 …float* ir2 = intref(5.5); // expected-warning{{implicit conversion from 'double' to 'int' changes … in intref_test()
/external/llvm-project/clang/test/SemaCXX/
Dreferences.cpp105 typedef int& intref; in test8() typedef
106 typedef intref& intrefref; // C++ DR 106: reference collapsing in test8()
108 …typedef intref const intref_c; // expected-warning {{'const' qualifier on reference type 'intref' … in test8()
109 typedef intref_c intref; // ok, same type in test8() typedef
111 …typedef intref volatile intref; // expected-warning {{'volatile' qualifier on reference type 'intr… in test8() typedef
112 …typedef intref _Atomic intref; // expected-warning {{'_Atomic' qualifier on reference type 'intref… in test8() typedef
114 void restrict_ref(__restrict intref); // ok in test8()
Doverload-call.cpp254 int* intref(int&);
255 float* intref(const int&);
258 float* ir1 = intref(5); in intref_test()
259 …float* ir2 = intref(5.5); // expected-warning{{implicit conversion from 'double' to 'int' changes … in intref_test()
/external/llvm-project/clang/test/CodeGenCXX/
Dlvalue-bitcasts.cpp98 typedef int &intref; in functional_cast() typedef
104 ir = intref(fr); in functional_cast()
108 ir = intref(xr); in functional_cast()
/external/clang/test/CodeGenCXX/
Dlvalue-bitcasts.cpp98 typedef int &intref; in functional_cast() typedef
104 ir = intref(fr); in functional_cast()
108 ir = intref(xr); in functional_cast()