/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/lib/AST/ |
DeclFriend.cpp | 1 //===--- DeclFriend.cpp - C++ Friend Declaration AST Node Implementation --===// 10 // This file implements the AST classes related to C++ friend 29 FriendUnion Friend, 33 if (Friend.is<NamedDecl*>()) { 34 NamedDecl *D = Friend.get<NamedDecl*>(); 44 // These template parameters are for friend types only. 52 FriendDecl *FD = new (Mem) FriendDecl(DC, L, Friend, FriendL,
|
DeclTemplate.cpp | [all...] |
DeclBase.cpp | 549 case Friend: 745 /// a friend function the parent lookup context is the lexical context, which 746 /// is the class in which the friend is declared. 781 // Friend function declarations are dependent if their *lexical* [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 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 | 454 /// get one of these is in a friend declaration like the following: 459 /// friend void foo<>(T); 631 template <class decl_type> friend class RedeclarableTemplate; 725 friend class ASTReader; 726 friend class ASTDeclReader; 727 friend class ASTDeclWriter; 781 friend class FunctionDecl; 876 friend class ASTDeclReader; 877 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_org/third_party/mesa/src/src/gallium/drivers/r300/compiler/ |
radeon_variable.c | 53 for (var_ptr = var; var_ptr; var_ptr = var_ptr->Friend) { 227 var = var->Friend; 263 struct rc_variable * friend) 265 assert(var->Dst.Index == friend->Dst.Index); 266 while(var->Friend) { 267 var = var->Friend; 269 var->Friend = friend; 301 for (var = list_ptr->Item; var; var = var->Friend) { 352 * "friends" and they are linked together via the Friend attribute 483 struct rc_variable * friend; local [all...] |
radeon_variable.h | 53 /* A friend is a variable that shares a reader with another variable. 55 struct rc_variable * Friend; 67 struct rc_variable * friend);
|
radeon_pair_regalloc.c | 291 for (var_ptr = variable; var_ptr; var_ptr = var_ptr->Friend) { 310 var_ptr = var_ptr->Friend) { 654 var_b = var_b->Friend; 656 var_a = var_a->Friend;
|
radeon_optimize.c | 791 for (var = writer_list->Item; var; var = var->Friend) { 818 for (var = writer_list->Item; var; var = var->Friend) {
|
/external/mesa3d/src/gallium/drivers/r300/compiler/ |
radeon_variable.c | 53 for (var_ptr = var; var_ptr; var_ptr = var_ptr->Friend) { 227 var = var->Friend; 263 struct rc_variable * friend) 265 assert(var->Dst.Index == friend->Dst.Index); 266 while(var->Friend) { 267 var = var->Friend; 269 var->Friend = friend; 301 for (var = list_ptr->Item; var; var = var->Friend) { 352 * "friends" and they are linked together via the Friend attribute 483 struct rc_variable * friend; local [all...] |
radeon_variable.h | 53 /* A friend is a variable that shares a reader with another variable. 55 struct rc_variable * Friend; 67 struct rc_variable * friend);
|
radeon_pair_regalloc.c | 291 for (var_ptr = variable; var_ptr; var_ptr = var_ptr->Friend) { 310 var_ptr = var_ptr->Friend) { 654 var_b = var_b->Friend; 656 var_a = var_a->Friend;
|
radeon_optimize.c | 791 for (var = writer_list->Item; var; var = var->Friend) { 818 for (var = writer_list->Item; var; var = var->Friend) {
|
/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...] |
SemaDeclCXX.cpp | 593 // C++11 [dcl.fct.default]p4: If a friend declaration specifies a default [all...] |
SemaTemplate.cpp | [all...] |
/external/clang/lib/Serialization/ |
ASTCommon.cpp | 206 case Decl::Friend:
|
ASTReaderDecl.cpp | [all...] |
ASTWriterDecl.cpp | [all...] |
/external/clang/test/SemaCXX/ |
cxx98-compat.cpp | 162 friend void FriendMember::MemberFn(); // expected-warning {{friend declaration naming a member of the declaring class is incompatible with C++98}} 215 friend enum ::Enum; // expected-warning {{befriending enumeration type 'enum ::Enum' is incompatible with C++98}} 216 friend int; // expected-warning {{non-class friend type 'int' is incompatible with C++98}} 217 friend Struct; // expected-warning {{befriending 'Struct' without 'struct' keyword is incompatible with C++98}} 233 friend void Friend() {} // expected-warning {{friend function 'Friend' would be implicitly redefined in C++98}} expected-note {{previous} [all...] |
/external/clang/tools/libclang/ |
CIndex.cpp | [all...] |
/external/chromium/testing/gmock/scripts/generator/cpp/ |
ast.py | 197 class Friend(Expr): [all...] |
/external/clang/lib/CodeGen/ |
CGDecl.cpp | 73 case Decl::Friend: [all...] |