Lines Matching full:friend
53 friend class Test;
57 friend void foo() {}
62 friend int int_func();
67 friend bool operator==(const Test &, const Test &);
72 template <typename T> friend void TemplateFriend();
77 template <typename T> friend class TemplateFriendClass;
80 // CHECK: <Declaration>friend class Test</Declaration>
81 // CHECK: <Declaration>friend void foo()</Declaration>
82 // CHECK: <Declaration>friend int int_func()</Declaration>
83 // CHECK: <Declaration>friend bool operator==(const Test &, const Test &)</Declaration>
84 // CHECK: <Declaration>friend template <typename T> void TemplateFriend()</Declaration>
85 // CHECK: <Declaration>friend template <typename T> class TemplateFriendClass</Declaration>
96 friend void ns::f(int a);
99 // CHECK: <Declaration>friend void f(int a)</Declaration>
108 friend void Outer::foo(T);
112 // CHECK: <Declaration>friend void foo(T)</Declaration>
123 friend void ::test2::foo::Func(int x);
126 // CHECK: <Declaration>friend void Func(int x)</Declaration>
142 friend void vector<A>::f(const A&);
146 // CHECK: <Declaration>friend void f(const test3::A &)</Declaration>
151 * \brief plain friend test.
153 friend class MyClass;
155 // CHECK: <Declaration>friend class MyClass</Declaration>
161 * \brief template friend test.
163 template <class T> friend class valarray;
166 // CHECK: <Declaration>friend template <class T> class valarray</Declaration>