Home
last modified time | relevance | path

Searched refs:Friend (Results 1 – 25 of 41) sorted by relevance

12

/llvm-project-15.0.7/clang/include/clang/AST/
H A DDeclFriend.h66 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 DDeclTemplate.h2484 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 DSemaAccess.cpp345 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 Dp5-0x.cpp11 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 DClassLayoutTest.cpp70 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 DDeclFriend.cpp36 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 DDeclTemplate.cpp1101 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 Dp14-0x.cpp23 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 Dp18.cpp20 friend void Friend();
46 void Friend() { in Friend() function
/llvm-project-15.0.7/lldb/test/Shell/SymbolFile/PDB/
H A Dclass-layout.test72 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 DPDBSymbolTypeFriend.h20 DECLARE_PDB_SYMBOL_CONCRETE_TYPE(PDB_SymType::Friend)
H A DPDBTypes.h263 Friend, enumerator
/llvm-project-15.0.7/clang/test/CXX/module/module.interface/
H A Dp6.cpp96 namespace Friend { namespace
/llvm-project-15.0.7/clang/test/SemaCXX/
H A Danonymous-struct.cpp82 } 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 Dcxx-language-features.inc29 // Friend declarations
/llvm-project-15.0.7/clang-tools-extra/unittests/clang-include-fixer/find-all-symbols/
H A DFindAllSymbolsTests.cpp558 friend void Friend();
568 SymbolInfo("Friend", SymbolInfo::SymbolKind::Function, HeaderName, {});
/llvm-project-15.0.7/llvm/unittests/DebugInfo/PDB/
H A DPDBApiTest.cpp432 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 DPDBSymbol.cpp84 FACTORY_SYMTAG_CASE(Friend, PDBSymbolTypeFriend) in createSymbol()
H A DPDBExtras.cpp259 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_SymType, Friend, OS) in operator <<()
/llvm-project-15.0.7/clang/include/clang/Basic/
H A DDeclNodes.td98 def Friend : DeclNode<Decl>;
/llvm-project-15.0.7/llvm/include/llvm/DebugInfo/CodeView/
H A DCodeView.h277 Friend = 0x03, enumerator
/llvm-project-15.0.7/clang/lib/Serialization/
H A DASTCommon.cpp416 case Decl::Friend: in isRedeclarableDeclKind()
/llvm-project-15.0.7/llvm/lib/DebugInfo/CodeView/
H A DEnumTables.cpp348 CV_ENUM_CLASS_ENT(MethodKind, Friend),
H A DTypeDumpVisitor.cpp64 ENUM_ENTRY(MethodKind, Friend),
/llvm-project-15.0.7/llvm/tools/llvm-pdbutil/
H A DMinimalTypeDumper.cpp159 RETURN_CASE(MethodKind, Friend, "friend"); in methodKind()

12