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
2494
) 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
8
friend
void A::a_member(); // ok in c++11, ill-formed in c++98
9
friend
void a_member(); // ok in both, refers to non-member
10
friend
class A::AInner; // ok in c++11, extension in c++98
11
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}}
p11.cpp
8
friend
void bar();
16
friend
void bar(); // expected-error {{no matching function found in local scope}}
p2-cxx03.cpp
4
friend
T; // expected-warning{{non-class
friend
type 'T' is a C++11 extension}}
/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/clang/test/PCH/
cxx-friends.h
5
friend
class F;
/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
9
template<typename T>
friend
const T& f(const X&);
10
friend
const int& g(const X&);
11
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}}
instantiate-friend-class.cpp
6
friend
class Y;
/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/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
23
/// FriendDecl - Represents the declaration of a
friend
entity,
29
///
friend
int foo(T);
30
///
friend
class B;
31
///
friend
T; // only in C++0x
32
/// template <typename U>
friend
class C;
33
/// template <typename U>
friend
A& operator+=(A&, const U&) { ... }
37
/// The semantic context of a
friend
decl is its declaring class.
44
// The declaration that's a
friend
of this class
[
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 2335 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>