HomeSort by relevance Sort by last modified time
    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 425 /// get one of these is in a friend declaration like the following:
430 /// friend void foo<>(T);
601 template <class decl_type> friend class RedeclarableTemplate;
699 friend class ASTReader;
700 friend class ASTDeclReader;
701 friend class ASTDeclWriter;
748 friend class FunctionDecl;
843 friend class ASTDeclReader;
844 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 154 friend void FriendMember::MemberFn(); // expected-warning {{friend declaration naming a member of the declaring class is incompatible with C++98}}
207 friend enum ::Enum; // expected-warning {{befriending enumeration type 'enum ::Enum' is incompatible with C++98}}
208 friend int; // expected-warning {{non-class friend type 'int' is incompatible with C++98}}
209 friend Struct; // expected-warning {{befriending 'Struct' without 'struct' keyword is incompatible with C++98}}
225 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 103 // extern or friend which happens to be the canonical
190 friend struct AccessTarget;
318 DeclContext *Friend) {
319 if (Friend == Context)
322 assert(!Friend->isDependentContext() &&
328 if (Friend->isFileContext())
336 // in 'friend'.
337 static bool MightInstantiateTo(Sema &S, CanQualType Context, CanQualType Friend) {
338 if (Friend == Context)
341 if (!Friend->isDependentType() && !Context->isDependentType()
    [all...]
SemaTemplate.cpp     [all...]
SemaDeclCXX.cpp     [all...]

Completed in 237 milliseconds