OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:Friend
(Results
1 - 9
of
9
) sorted by null
/external/clang/test/CXX/dcl.decl/dcl.init/
p14-0x.cpp
23
class
Friend
{
24
friend
class S;
25
Friend
(int);
37
Friend
f = 42;
/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
...]
DeclTemplate.h
452
/// get one of these is in a
friend
declaration like the following:
457
///
friend
void foo<>(T);
629
template <class decl_type>
friend
class RedeclarableTemplate;
723
friend
class ASTReader;
724
friend
class ASTDeclReader;
725
friend
class ASTDeclWriter;
772
friend
class FunctionDecl;
866
friend
class ASTDeclReader;
867
friend
class ASTDeclWriter;
[
all
...]
/external/clang/test/CXX/special/class.ctor/
p5-0x.cpp
9
class
Friend
{
10
Friend
() = default; ~
Friend
() = default;
11
friend
struct NotDeleted6c;
12
friend
struct NotDeleted7i;
13
friend
struct NotDeleted7j;
14
friend
struct NotDeleted7k;
115
struct NotDeleted6c {
Friend
a; };
137
struct NotDeleted7i :
Friend
{};
139
struct NotDeleted7j : virtual
Friend
{};
[
all
...]
/external/chromium/testing/gmock/scripts/generator/cpp/
ast.py
197
class
Friend
(Expr):
[
all
...]
/external/clang/lib/Sema/
SemaAccess.cpp
103
// extern or
friend
which happens to be the canonical
190
friend
struct AccessTarget;
327
DeclContext *
Friend
) {
328
if (
Friend
== Context)
331
assert(!
Friend
->isDependentContext() &&
337
if (
Friend
->isFileContext())
345
// in '
friend
'.
346
static bool MightInstantiateTo(Sema &S, CanQualType Context, CanQualType
Friend
) {
347
if (
Friend
== Context)
350
if (!
Friend
->isDependentType() && !Context->isDependentType()
[
all
...]
SemaTemplate.cpp
[
all
...]
SemaDeclCXX.cpp
[
all
...]
/external/clang/test/SemaCXX/
cxx98-compat.cpp
163
friend
void FriendMember::MemberFn(); // expected-warning {{
friend
declaration naming a member of the declaring class is incompatible with C++98}}
216
friend
enum ::Enum; // expected-warning {{befriending enumeration type 'enum ::Enum' is incompatible with C++98}}
217
friend
int; // expected-warning {{non-class
friend
type 'int' is incompatible with C++98}}
218
friend
Struct; // expected-warning {{befriending 'Struct' without 'struct' keyword is incompatible with C++98}}
234
friend
void
Friend
() {} // expected-warning {{
friend
function '
Friend
' would be implicitly redefined in C++98}} expected-note {{previous}
[
all
...]
Completed in 260 milliseconds