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
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
...]
DeclTemplate.h
411
/// a
friend
declaration like the following:
415
///
friend
void foo<>(T);
584
template <class decl_type>
friend
class RedeclarableTemplate;
682
friend
class ASTReader;
683
friend
class ASTDeclReader;
684
friend
class ASTDeclWriter;
731
friend
class FunctionDecl;
825
friend
class ASTDeclReader;
826
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/clang/test/SemaCXX/
cxx98-compat.cpp
126
friend
void FriendMember::MemberFn(); // expected-warning {{
friend
declaration naming a member of the declaring class is incompatible with C++98}}
179
friend
enum ::Enum; // expected-warning {{befriending enumeration type 'enum ::Enum' is incompatible with C++98}}
180
friend
int; // expected-warning {{non-class
friend
type 'int' is incompatible with C++98}}
181
friend
Struct; // expected-warning {{befriending 'Struct' without 'struct' keyword is incompatible with C++98}}
197
friend
void
Friend
() {} // expected-warning {{
friend
function '
Friend
' would be implicitly redefined in C++98}} expected-note {{previous}
[
all
...]
/external/chromium/testing/gmock/scripts/generator/cpp/
ast.py
197
class
Friend
(Expr):
[
all
...]
/external/clang/lib/Sema/
SemaAccess.cpp
183
friend
struct AccessTarget;
311
DeclContext *
Friend
) {
312
if (
Friend
== Context)
315
assert(!
Friend
->isDependentContext() &&
321
if (
Friend
->isFileContext())
329
// in '
friend
'.
330
static bool MightInstantiateTo(Sema &S, CanQualType Context, CanQualType
Friend
) {
331
if (
Friend
== Context)
334
if (!
Friend
->isDependentType() && !Context->isDependentType())
343
FunctionDecl *
Friend
) {
[
all
...]
SemaTemplate.cpp
[
all
...]
SemaDeclCXX.cpp
[
all
...]
Completed in 584 milliseconds