OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:friend
(Results
1 - 25
of
2999
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/external/clang/test/CXX/class/class.friend/
p6.cpp
4
friend
static class B; // expected-error {{'static' is invalid in
friend
declarations}}
5
friend
extern class C; // expected-error {{'extern' is invalid in
friend
declarations}}
6
friend
auto class D; // expected-warning {{incompatible with C++11}} expected-error {{'auto' is invalid in
friend
declarations}}
7
friend
register class E; // expected-error {{'register' is invalid in
friend
declarations}}
8
friend
mutable class F; // expected-error {{'mutable' is invalid in
friend
declarations}
[
all
...]
p2.cpp
6
friend
class B {}; // expected-error {{cannot define a type in a
friend
declaration}}
7
friend
int; // expected-warning {{non-class
friend
type 'int' is a C++11 extension}}
8
friend
B0; // expected-warning {{specify 'struct' to befriend 'B0'}}
9
friend
class C; // okay
p1.cpp
30
friend
class PreDeclared;
31
friend
class Outer::Inner;
32
friend
int Outer::Inner::intfield; // expected-error {{friends can only be classes or functions}}
33
friend
int Outer::Inner::missing_field; //expected-error {{friends can only be classes or functions}}
34
friend
int myoperation(float); // okay
35
friend
int myglobal; // expected-error {{friends can only be classes or functions}}
37
friend
void global_function();
38
friend
void global_c_function();
40
friend
class UndeclaredSoFar;
44
friend
void A::a_member(); // expected-error {{friends cannot be members of the declaring class}
[
all
...]
p1-cxx11.cpp
9
friend
void A::a_member(); // ok in c++11, ill-formed in c++98
10
friend
void a_member(); // ok in both, refers to non-member
11
friend
class A::AInner; // ok in c++11, extension in c++98
12
friend
class AInner; // ok in both, refers to non-member
/external/chromium/android/testing/gtest/include/gtest/
gtest_prod.h
2
friend
class test_case_name##_##test_name##_Test
/external/chromium/android/testing/
platform_test.h
2
friend
class test_case_name##_##test_name##_Test
/external/clang/test/CXX/temp/temp.spec/temp.expl.spec/
p20.cpp
9
template<>
friend
void f<int>(int); // expected-error{{in a
friend
}}
10
template<>
friend
class A<int>; // expected-error{{cannot be a
friend
}}
12
friend
void f<float>(float); // okay
13
friend
class A<float>; // okay
/external/clang/test/Parser/
cxx-friend.cpp
4
friend
class D;
12
friend
int x; // expected-error {{'
friend
' used outside of class}}
14
friend
class D {}; // expected-error {{'
friend
' used outside of class}}
22
friend
class A;
24
friend
C; // expected-warning {{specify 'class' to befriend}}
25
friend
U; // expected-warning {{specify 'union' to befriend}}
26
friend
int; // expected-warning {{non-class
friend
type 'int'}
[
all
...]
/external/clang/test/CXX/class.access/class.friend/
p6.cpp
10
friend
void ::f1() { } // expected-error{{
friend
function definition cannot be qualified with '::'}}
11
friend
void X::f2() { } // expected-error{{
friend
function definition cannot be qualified with 'X::'}}
18
friend
void f() { } // expected-error{{
friend
function cannot be defined in a local class}}
p3-cxx0x.cpp
4
friend
T;
16
friend
typename T::type; // expected-error{{no type named 'type' in 'Y1'}}
39
template <typename S>
friend
class B<S>::ty;
46
int
friend
; // expected-error {{'
friend
' must appear first in a non-function declaration}}
47
unsigned
friend
int; // expected-error {{'
friend
' must appear first in a non-function declaration}}
48
const volatile
friend
int; // expected-error {{'
friend
' must appear first in a non-function declaration}}
50
friend
; // expected-error {{'friend' must appear first in a non-function declaration}
[
all
...]
p9-cxx0x.cpp
3
// C++98 [class.
friend
]p7:
4
// C++11 [class.
friend
]p9:
5
// A name nominated by a
friend
declaration shall be accessible in
6
// the scope of the class containing the
friend
declaration.
16
friend
void X::f(); // expected-error {{
friend
function 'f' is a private member of 'test0::X'}}
27
friend
void X::f(); // expected-error {{
friend
function 'f' is a private member of 'test1::X'}}
37
friend
class Y<int>;
41
friend
void X::f()
[
all
...]
p11.cpp
8
friend
void bar();
16
friend
void bar(); // expected-error {{no matching function found in local scope}}
/external/clang/test/Index/Inputs/
redeclarations.h
3
friend
class A;
20
friend
struct C<A>;
/external/clang/test/CXX/temp/temp.decls/temp.friend/
p3.cpp
8
template <class T>
friend
class A;
9
template <class T>
friend
class Undeclared;
11
template <class T>
friend
typename A<T>::Member; // expected-error {{
friend
type templates must use an elaborated type}}
p8.cpp
5
template<class T>
friend
class A<T*>; // expected-error{{partial specialization cannot be declared as a
friend
}}
/external/valgrind/main/none/tests/
cmdline5.vgtest
1
prog: no-such-program-my-
friend
cmdline5.stderr.exp
1
valgrind: ./no-such-program-my-
friend
: No such file or directory
/external/clang/test/SemaCXX/
friend.cpp
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)
[
all
...]
friend-out-of-line.cpp
10
template<typename T>
friend
const T& f(const X&);
11
friend
const int& g(const X&);
12
friend
class Y;
/external/clang/test/SemaTemplate/
friend.cpp
5
friend
struct B;
13
friend
struct A<int>;
30
friend
class f; // expected-error{{'
friend
' used outside of class}}
31
friend
class f1; // expected-error{{'
friend
' used outside of class}}
/external/skia/legacy/src/animator/
SkDisplayTypes.h
40
friend
class SkAnimatorScript;
41
friend
class SkAnimatorScript_Box;
42
friend
class SkAnimatorScript_Unbox;
54
friend
class SkAnimatorScript;
55
friend
class SkAnimatorScript_Box;
56
friend
class SkAnimatorScript_Unbox;
68
friend
class SkAnimatorScript;
69
friend
class SkAnimatorScript_Box;
70
friend
class SkAnimatorScript_Unbox;
97
friend
class SkAnimator
[
all
...]
/external/skia/src/animator/
SkDisplayTypes.h
40
friend
class SkAnimatorScript;
41
friend
class SkAnimatorScript_Box;
42
friend
class SkAnimatorScript_Unbox;
54
friend
class SkAnimatorScript;
55
friend
class SkAnimatorScript_Box;
56
friend
class SkAnimatorScript_Unbox;
68
friend
class SkAnimatorScript;
69
friend
class SkAnimatorScript_Box;
70
friend
class SkAnimatorScript_Unbox;
97
friend
class SkAnimator
[
all
...]
/external/clang/test/Index/
comment-cplus-decls.cpp
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
[
all
...]
/external/clang/test/CodeGenCXX/
2004-11-27-FriendDefaultArgCrash.cpp
7
friend
int foo(int arg = 0);
debug-info-friend.cpp
7
friend
class MyFriend;
Completed in 829 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>