/external/clang/test/CXX/class.access/class.friend/ |
p2-cxx03.cpp | 4 friend T; // expected-warning{{non-class friend type 'T' is a C++11 extension}}
|
p1.cpp | 3 // C++'0x [class.friend] p1: 4 // A friend of a class is a function or class that is given permission to use 6 // its friends, if any, by way of friend declarations. Such declarations give 14 friend struct S; 15 friend S* g(); 32 friend struct S; 33 friend S* g(); 35 friend struct S2; 36 friend struct S2* g2(); 76 friend class ClassFriend [all...] |
/external/clang/test/PCH/ |
cxx-friends.h | 5 friend class F; 15 template<typename> friend class future_base::setter;
|
/external/clang/test/SemaCXX/ |
friend-class-nodecl.cpp | 4 // Tests that the tag decls in friend declarations aren't added to the 8 friend class B;
|
templated-friend-decl.cpp | 10 // requires a rewrite of the templated friend code to be properly fixed. 12 friend struct Bar;
|
PR8884.cpp | 4 friend struct foo;
|
/external/clang/include/clang/AST/ |
DeclFriend.h | 1 //===-- DeclFriend.h - Classes for C++ friend declarations -*- C++ -*------===// 10 // This file defines the section of the AST representing C++ friend 24 /// FriendDecl - Represents the declaration of a friend entity, 30 /// friend int foo(T); 31 /// friend class B; 32 /// friend T; // only in C++0x 33 /// template <typename U> friend class C; 34 /// template <typename U> friend A& operator+=(A&, const U&) { ... } 38 /// The semantic context of a friend decl is its declaring class. 45 // The declaration that's a friend of this class [all...] |
/external/clang/test/CXX/special/class.copy/ |
p13-0x.cpp | 97 friend constexpr U::U() noexcept; 98 friend constexpr U::U(U&&) noexcept; 99 friend constexpr U::U(const U&) noexcept; 100 friend constexpr V::V(); // expected-error {{follows non-constexpr declaration}} 101 friend constexpr V::V(V&&) noexcept; 102 friend constexpr V::V(const V&) noexcept; 103 friend constexpr W::W(); // expected-error {{follows non-constexpr declaration}} 104 friend constexpr W::W(W&&) noexcept; 105 friend constexpr W::W(const W&) noexcept; 106 friend constexpr S<U>::S() noexcept [all...] |
p8-cxx11.cpp | 42 friend A::A(const A &); 43 friend B::B(B &); 44 friend C::C(C &); 45 friend D::D(const D &); 46 friend E::E(E &); 47 constexpr friend F::F(const F &); 48 friend G::G(G &);
|
p18-cxx11.cpp | 53 friend A &A::operator=(const A &); 54 friend B &B::operator=(B &); 55 friend C &C::operator=(C &); 56 friend D &D::operator=(const D &); 57 friend E &E::operator=(E &); 58 friend F &F::operator=(const F &); 59 friend G &G::operator=(G &); 60 friend H &H::operator=(const H &); 61 friend I &I::operator=(const I &);
|
/external/clang/test/SemaTemplate/ |
friend-template.cpp | 7 template<typename T> friend struct Y; 20 template<typename T> friend void f0(T); 21 template<typename T> friend void f1(T); 31 template<typename U> friend struct X0; 35 template<typename U> friend struct X0; 39 template<typename U> friend struct X0; 43 template<typename U> friend void f2(U); 44 template<typename U> friend void f3(U); 65 friend class Foo; 76 template<typename U, U Value> friend struct X2a [all...] |
instantiate-friend-class.cpp | 7 friend class Y;
|
/external/clang/test/CXX/class/class.friend/ |
p1-ambiguous.cpp | 4 // Make sure that friend declarations don't introduce ambiguous 19 friend int c_func(foo *a); 20 friend int cpp_func(foo *a);
|
/external/clang/test/CXX/dcl.decl/dcl.meaning/dcl.fct/ |
p6.cpp | 10 friend void g() const; // expected-error {{non-member function cannot have 'const' qualifier}} 13 friend F j; // expected-error {{non-member function of type 'F' (aka 'void () const') cannot have 'const' qualifier}} 18 friend void X::f() const; 19 friend void ::f() const; // expected-error {{non-member function cannot have 'const' qualifier}}
|
/external/clang/test/Modules/Inputs/ |
templates-top.h | 10 template <typename T> friend class WhereAmI;
|
/external/webkit/Source/WebKit/qt/Api/ |
qwebhistory.h | 60 friend class QWebHistory; 61 friend class QWebPage; 62 friend class WebCore::FrameLoaderClientQt; 63 friend class QWebHistoryItemPrivate; 64 friend class DumpRenderTreeSupportQt; 65 //friend QDataStream & operator<<(QDataStream& out,const QWebHistoryItem& hist); 66 //friend QDataStream & operator>>(QDataStream& in,QWebHistoryItem& hist); 103 friend class QWebPage; 104 friend class QWebPagePrivate; 105 friend QWEBKIT_EXPORT QDataStream& operator>>(QDataStream&, QWebHistory&) [all...] |
qwebinspector.h | 51 friend class QWebInspectorPrivate; 52 friend class QWebPage; 53 friend class QWebPagePrivate; 54 friend class WebCore::InspectorClientQt; 55 friend class WebCore::InspectorFrontendClientQt;
|
/external/clang/test/CXX/basic/basic.lookup/basic.lookup.unqual/ |
p3.cpp | 8 friend void f(); 17 friend void f(A &);
|
/external/clang/test/CodeGenCXX/ |
friend-redecl.cpp | 5 friend bool TryFoo(Foo *f2) { return TryFoo(0, f2); } 12 friend bool TryFoo(int, Foo *f3);
|
/external/clang/test/CXX/special/class.inhctor/ |
p3.cpp | 42 friend T1<int>::T1(int); 43 friend T1<int>::T1(int, int); 44 friend T2<int>::T2(int); 45 friend T2<int>::T2(int, int); 46 friend T3<int>::T3(int); 47 friend T3<int>::T3(int, int);
|
/external/clang/test/CXX/dcl.dcl/basic.namespace/namespace.def/namespace.memdef/ |
p3.cpp | 5 // a friend declaration in a non-local class first declares a class or 6 // function the friend class or function is a member of the innermost 11 friend struct F0; 12 friend void f0(int); 20 // Ensure we can handle attaching friend declarations to an enclosing namespace 25 friend struct F1; 26 friend void f1(int); 34 // The name of the friend is not found by unqualified lookup (3.4.1) or by 37 // friendship). If a friend function is called, its name may be found by the 40 // in a friend declaration is neither qualified nor a template-id and th [all...] |
/external/clang/test/CXX/temp/temp.decls/temp.friend/ |
p1.cpp | 15 friend Num operator*(const Num &a, const Rep &n) { 23 friend Num operator+(const Num &a, const Num &b) { 33 friend class Representation; 37 template <typename T> friend bool iszero(const A &a) throw(); 42 friend class B_iterator<T>; 64 template <typename T> friend bool has(const A&); 77 template <typename T> friend class HasChecker; 97 friend class User<bool>; 98 friend bool transform<>(Bool, bool); 124 template <class T0> friend class B [all...] |
/external/chromium/chrome/browser/sessions/ |
session_id.h | 29 friend class NavigationController; 30 friend class SessionService; 31 friend class browser_sync::SessionModelAssociator;
|
/external/skia/legacy/src/animator/ |
SkDrawRectangle.h | 35 friend class SkDrawClip; 36 friend class SkRectToRect; 37 friend class SkSaveLayer;
|
/external/skia/src/animator/ |
SkDrawRectangle.h | 35 friend class SkDrawClip; 36 friend class SkRectToRect; 37 friend class SkSaveLayer;
|