Home | History | Annotate | Download | only in SemaCXX

Lines Matching full:friend

3 friend class A; // expected-error {{'friend' used outside of class}}
4 void f() { friend class A; } // expected-error {{'friend' used outside of class}}
5 class C { friend class A; };
6 class D { void f() { friend class A; } }; // expected-error {{'friend' used outside of class}}
15 friend void ns::f(int a);
24 friend void Outer::foo(T);
40 friend void ::test2::foo::Func(int x);
47 friend const int getInt(int inInt = 0);
54 friend class T4B;
71 template<int> friend A::~A(); // expected-error {{destructor cannot be declared as a template}}
78 struct A1 { friend void A(); };
80 struct B { friend void B(); };
88 friend class vectorA;
108 friend class vector<A>;
125 friend void vector<A>::f(const A&);