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
2215
) 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-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++0x 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-ambiguous.cpp
3
// Make sure that
friend
declarations don't introduce ambiguous
18
friend
int c_func(foo *a);
19
friend
int cpp_func(foo *a);
/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/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-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;
/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/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
22
/// FriendDecl - Represents the declaration of a
friend
entity,
28
///
friend
int foo(T);
29
///
friend
class B;
30
///
friend
T; // only in C++0x
31
/// template <typename U>
friend
class C;
32
/// template <typename U>
friend
A& operator+=(A&, const U&) { ... }
36
/// The semantic context of a
friend
decl is its declaring class.
42
// The declaration that's a
friend
of this class
[
all
...]
/external/clang/test/CodeGenCXX/
debug-info-friend.cpp
7
friend
class MyFriend;
/external/llvm/test/FrontendC++/
2004-11-27-FriendDefaultArgCrash.cpp
7
friend
int foo(int arg = 0);
/external/skia/src/animator/
SkDisplayTypes.h
48
friend
class SkAnimatorScript;
49
friend
class SkAnimatorScript_Box;
50
friend
class SkAnimatorScript_Unbox;
62
friend
class SkAnimatorScript;
63
friend
class SkAnimatorScript_Box;
64
friend
class SkAnimatorScript_Unbox;
76
friend
class SkAnimatorScript;
77
friend
class SkAnimatorScript_Box;
78
friend
class SkAnimatorScript_Unbox;
105
friend
class SkAnimator
[
all
...]
/external/clang/test/CXX/class.access/class.friend/
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++0x extension}}
/external/clang/test/CXX/dcl.decl/dcl.meaning/dcl.fct/
p6.cpp
7
friend
void g() const; // expected-error{{type qualifier is not allowed on this function}}
12
friend
void X::f() const;
13
friend
void ::f() const; // expected-error{{type qualifier is not allowed on this function}}
Completed in 632 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>