| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | DeclFriend.h | 66 FriendUnion Friend; variable 84 FriendDecl(DeclContext *DC, SourceLocation L, FriendUnion Friend, in FriendDecl() argument 87 : Decl(Decl::Friend, DC, L), Friend(Friend), FriendLoc(FriendL), in FriendDecl() 94 : Decl(Decl::Friend, Empty), UnsupportedFriend(false), in FriendDecl() 124 return Friend.dyn_cast<TypeSourceInfo*>(); in getFriendType() 139 return Friend.dyn_cast<NamedDecl *>(); in getFriendDecl() 183 static bool classofKind(Kind K) { return K == Decl::Friend; } in classofKind()
|
| H A D | DeclTemplate.h | 2484 FriendUnion Friend; 2491 FriendUnion Friend, SourceLocation FriendLoc) 2493 Params(Params), Friend(Friend), FriendLoc(FriendLoc) {} 2502 MutableArrayRef<TemplateParameterList *> Params, FriendUnion Friend, 2511 return Friend.dyn_cast<TypeSourceInfo*>(); 2518 return Friend.dyn_cast<NamedDecl*>();
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaAccess.cpp | 345 if (Friend == Context) in MightInstantiateTo() 354 if (Friend->isFileContext()) in MightInstantiateTo() 364 if (Friend == Context) in MightInstantiateTo() 423 if (EC.includesClass(Friend)) in MatchesFriend() 443 if (Friend->isDependentType()) in MatchesFriend() 511 if (Friend == *I) in MatchesFriend() 541 if (Friend == FTD) in MatchesFriend() 564 NamedDecl *Friend in MatchesFriend() local 569 if (isa<ClassTemplateDecl>(Friend)) in MatchesFriend() 572 if (isa<FunctionTemplateDecl>(Friend)) in MatchesFriend() [all …]
|
| /llvm-project-15.0.7/clang/test/CXX/special/class.ctor/ |
| H A D | p5-0x.cpp | 11 class Friend { class 12 Friend() = default; ~Friend() = default; 124 struct NotDeleted6c { Friend a; }; 146 struct NotDeleted7i : Friend {}; 148 struct NotDeleted7j : virtual Friend {}; 150 struct NotDeleted7k { Friend a; };
|
| /llvm-project-15.0.7/lldb/test/Shell/SymbolFile/PDB/Inputs/ |
| H A D | ClassLayoutTest.cpp | 70 class Friend { class 75 friend Friend; 86 int f(Friend c) { return c.f(); } in f() 101 friend class Friend;
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | DeclFriend.cpp | 36 FriendUnion Friend, in Create() argument 40 if (Friend.is<NamedDecl *>()) { in Create() 41 const auto *D = Friend.get<NamedDecl*>(); in Create() 59 auto *FD = new (C, DC, Extra) FriendDecl(DC, L, Friend, FriendL, in Create()
|
| H A D | DeclTemplate.cpp | 1101 FriendUnion Friend, SourceLocation FLoc) { in Create() argument 1108 FriendTemplateDecl(DC, L, TPL, Params.size(), Friend, FLoc); in Create()
|
| /llvm-project-15.0.7/clang/test/CXX/dcl.decl/dcl.init/ |
| H A D | p14-0x.cpp | 23 class Friend { class 25 Friend(int); 37 Friend f = 42;
|
| /llvm-project-15.0.7/clang/test/CXX/dcl.dcl/basic.namespace/namespace.udecl/ |
| H A D | p18.cpp | 20 friend void Friend(); 46 void Friend() { in Friend() function
|
| /llvm-project-15.0.7/lldb/test/Shell/SymbolFile/PDB/ |
| H A D | class-layout.test | 72 FRIEND: name = "Friend", size = 1, decl = ClassLayoutTest.cpp:70 73 FRIEND-SAME: class Friend { 90 CLASS: int f(MemberTest::Friend);
|
| /llvm-project-15.0.7/llvm/include/llvm/DebugInfo/PDB/ |
| H A D | PDBSymbolTypeFriend.h | 20 DECLARE_PDB_SYMBOL_CONCRETE_TYPE(PDB_SymType::Friend)
|
| H A D | PDBTypes.h | 263 Friend, enumerator
|
| /llvm-project-15.0.7/clang/test/CXX/module/module.interface/ |
| H A D | p6.cpp | 96 namespace Friend { namespace
|
| /llvm-project-15.0.7/clang/test/SemaCXX/ |
| H A D | anonymous-struct.cpp | 82 } Friend; // expected-note {{type is given name 'Friend' for linkage purposes by this typedef decla… typedef
|
| /llvm-project-15.0.7/clang/test/Coverage/ |
| H A D | cxx-language-features.inc | 29 // Friend declarations
|
| /llvm-project-15.0.7/clang-tools-extra/unittests/clang-include-fixer/find-all-symbols/ |
| H A D | FindAllSymbolsTests.cpp | 558 friend void Friend(); 568 SymbolInfo("Friend", SymbolInfo::SymbolKind::Function, HeaderName, {});
|
| /llvm-project-15.0.7/llvm/unittests/DebugInfo/PDB/ |
| H A D | PDBApiTest.cpp | 432 InsertItemWithTag(PDB_SymType::Friend); in SetUp() 494 VerifyDyncast<PDBSymbolTypeFriend>(PDB_SymType::Friend); in TEST_F()
|
| /llvm-project-15.0.7/llvm/lib/DebugInfo/PDB/ |
| H A D | PDBSymbol.cpp | 84 FACTORY_SYMTAG_CASE(Friend, PDBSymbolTypeFriend) in createSymbol()
|
| H A D | PDBExtras.cpp | 259 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_SymType, Friend, OS) in operator <<()
|
| /llvm-project-15.0.7/clang/include/clang/Basic/ |
| H A D | DeclNodes.td | 98 def Friend : DeclNode<Decl>;
|
| /llvm-project-15.0.7/llvm/include/llvm/DebugInfo/CodeView/ |
| H A D | CodeView.h | 277 Friend = 0x03, enumerator
|
| /llvm-project-15.0.7/clang/lib/Serialization/ |
| H A D | ASTCommon.cpp | 416 case Decl::Friend: in isRedeclarableDeclKind()
|
| /llvm-project-15.0.7/llvm/lib/DebugInfo/CodeView/ |
| H A D | EnumTables.cpp | 348 CV_ENUM_CLASS_ENT(MethodKind, Friend),
|
| H A D | TypeDumpVisitor.cpp | 64 ENUM_ENTRY(MethodKind, Friend),
|
| /llvm-project-15.0.7/llvm/tools/llvm-pdbutil/ |
| H A D | MinimalTypeDumper.cpp | 159 RETURN_CASE(MethodKind, Friend, "friend"); in methodKind()
|