Home
last modified time | relevance | path

Searched defs:Friend (Results 1 – 22 of 22) sorted by relevance

/llvm-project/clang-tools-extra/clang-tidy/bugprone/
H A DCrtpConstructorAccessibilityCheck.cpp25 return llvm::any_of(CRTP->friends(), [&](const FriendDecl *Friend) { in isDerivedParameterBefriended() argument
40 return llvm::any_of(CRTP->friends(), [&](const FriendDecl *Friend) { in isDerivedClassBefriended() argument
/llvm-project/clang/include/clang/AST/
H A DDeclFriend.h65 FriendUnion Friend; variable
84 FriendDecl(DeclContext * DC,SourceLocation L,FriendUnion Friend,SourceLocation FriendL,ArrayRef<TemplateParameterList * > FriendTypeTPLists) FriendDecl() argument
H A DODRDiagsEmitter.h113 Friend, enumerator
/llvm-project/clang/test/CXX/dcl.decl/dcl.init/
H A Dp14-0x.cpp23 class Friend { class
/llvm-project/clang/lib/AST/
H A DDeclFriend.cpp36 Create(ASTContext & C,DeclContext * DC,SourceLocation L,FriendUnion Friend,SourceLocation FriendL,ArrayRef<TemplateParameterList * > FriendTypeTPLists) Create() argument
H A DDeclTemplate.cpp1191 Create(ASTContext & Context,DeclContext * DC,SourceLocation L,MutableArrayRef<TemplateParameterList * > Params,FriendUnion Friend,SourceLocation FLoc) Create() argument
H A DType.cpp2834 __anon634037c60502(const FriendDecl *Friend) HasNonDeletedDefaultedEqualityComparison() argument
/llvm-project/clang/lib/Sema/
H A DSemaAccess.cpp352 if (Friend == Context) in MightInstantiateTo() argument
371 if (Friend == Context) in MightInstantiateTo() argument
384 if (Context->getDeclName() != Friend->getDeclName()) in MightInstantiateTo() argument
422 MightInstantiateTo(Sema & S,FunctionTemplateDecl * Context,FunctionTemplateDecl * Friend) MightInstantiateTo() argument
430 MatchesFriend(Sema & S,const EffectiveContext & EC,const CXXRecordDecl * Friend) MatchesFriend() argument
446 MatchesFriend(Sema & S,const EffectiveContext & EC,CanQualType Friend) MatchesFriend() argument
461 MatchesFriend(Sema & S,const EffectiveContext & EC,ClassTemplateDecl * Friend) MatchesFriend() argument
514 MatchesFriend(Sema & S,const EffectiveContext & EC,FunctionDecl * Friend) MatchesFriend() argument
533 MatchesFriend(Sema & S,const EffectiveContext & EC,FunctionTemplateDecl * Friend) MatchesFriend() argument
572 NamedDecl *Friend MatchesFriend() local
596 for (auto *Friend : Class->friends()) { GetFriendKind() local
[all...]
H A DSemaTemplate.cpp1648 const FunctionDecl *Friend = nullptr; global() member in __anon1de8de040711::ConstraintRefersToContainingTemplateChecker
1681 ConstraintRefersToContainingTemplateChecker(Sema & SemaRef,const FunctionDecl * Friend,unsigned TemplateDepth) ConstraintRefersToContainingTemplateChecker() argument
1730 ConstraintExpressionDependsOnEnclosingTemplate(const FunctionDecl * Friend,unsigned TemplateDepth,const Expr * Constraint) ConstraintExpressionDependsOnEnclosingTemplate() argument
2153 FriendDecl *Friend = FriendDecl::Create( CheckClassTemplate() local
9628 FriendDecl *Friend = FriendDecl::Create(Context, CurContext, ActOnClassTemplateSpecialization() local
[all...]
H A DSemaDeclCXX.cpp17412 FriendDecl *Friend = FriendDecl::Create(Context, CurContext, NameLoc, ActOnTemplatedFriendTag() local
17436 FriendDecl *Friend = FriendDecl::Create(Context, CurContext, NameLoc, ActOnTemplatedFriendTag() local
[all...]
H A DSemaDecl.cpp4812 Friend, global() enumerator
[all...]
/llvm-project/clang/test/CXX/module/module.interface/
H A Dp6.cpp96 namespace Friend { namespace
/llvm-project/clang/test/CXX/dcl.dcl/basic.namespace/namespace.udecl/
H A Dp18.cpp46 void Friend() { in Friend() function
/llvm-project/lldb/test/Shell/SymbolFile/PDB/Inputs/
H A DClassLayoutTest.cpp70 class Friend { class
/llvm-project/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/clang/test/CXX/special/class.ctor/
H A Dp5-0x.cpp11 class Friend { class
/llvm-project/llvm/include/llvm/DebugInfo/PDB/
H A DPDBTypes.h263 Friend, enumerator
/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DCodeView.h284 Friend = 0x03, enumerator
/llvm-project/clang/tools/libclang/
H A DCIndex.cpp7163 if (NamedDecl *Friend = cast<FriendDecl>(D)->getFriendDecl()) clang_getCursorDefinition() local
7168 if (NamedDecl *Friend = cast<FriendTemplateDecl>(D)->getFriendDecl()) clang_getCursorDefinition() local
/llvm-project/clang/unittests/AST/
H A DASTImporterTest.cpp4519 auto *Friend = FirstDeclMatcher<FriendDecl>().match(FromTU0, friendDecl()); TEST_P() local
6136 auto *Friend = FirstDeclMatcher<FunctionTemplateDecl>().match( TEST_P() local
/llvm-project/clang/include/clang/Sema/
H A DSema.h473 Friend // Friend declaration: 'friend struct foo;' global() enumerator
/llvm-project/clang/test/Modules/
H A Dodr_hash.cpp2572 namespace Friend { namespace