/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/ |
D | UnusedReturnValueCheck.cpp | 28 FunctionDecl *InstantiatedFrom = Node.getInstantiatedFromMemberFunction(); in AST_MATCHER_P() local 29 return InnerMatcher.matches(InstantiatedFrom ? *InstantiatedFrom : Node, in AST_MATCHER_P()
|
/external/llvm-project/clang/lib/Analysis/ |
D | IssueHash.cpp | 39 if (const FunctionDecl *InstantiatedFrom = in GetSignature() local 41 Target = InstantiatedFrom; in GetSignature()
|
/external/llvm-project/clang/include/clang/AST/ |
D | DeclCXX.h | 3519 NamedDecl *InstantiatedFrom; variable 3524 UsingPackDecl(DeclContext *DC, NamedDecl *InstantiatedFrom, in UsingPackDecl() argument 3527 InstantiatedFrom ? InstantiatedFrom->getLocation() in UsingPackDecl() 3529 InstantiatedFrom ? InstantiatedFrom->getDeclName() in UsingPackDecl() 3531 InstantiatedFrom(InstantiatedFrom), NumExpansions(UsingDecls.size()) { in UsingPackDecl() 3546 NamedDecl *getInstantiatedFromUsingDecl() const { return InstantiatedFrom; } in getInstantiatedFromUsingDecl() 3555 NamedDecl *InstantiatedFrom, 3562 return InstantiatedFrom->getSourceRange(); in getSourceRange()
|
/external/llvm-project/clang/lib/AST/ |
D | Decl.cpp | 1119 CXXRecordDecl *InstantiatedFrom = RD->getInstantiatedFromMemberClass(); in getExplicitVisibilityAux() local 1120 if (InstantiatedFrom) in getExplicitVisibilityAux() 1121 return getVisibilityOf(InstantiatedFrom, kind); in getExplicitVisibilityAux() 1149 VarDecl *InstantiatedFrom = Var->getInstantiatedFromStaticDataMember(); in getExplicitVisibilityAux() local 1150 if (InstantiatedFrom) in getExplicitVisibilityAux() 1151 return getVisibilityOf(InstantiatedFrom, kind); in getExplicitVisibilityAux() 1171 FunctionDecl *InstantiatedFrom = fn->getInstantiatedFromMemberFunction(); in getExplicitVisibilityAux() local 1172 if (InstantiatedFrom) in getExplicitVisibilityAux() 1173 return getVisibilityOf(InstantiatedFrom, kind); in getExplicitVisibilityAux() 2920 if (const FunctionDecl *InstantiatedFrom = in isThisDeclarationInstantiatedFromAFriendDefinition() local [all …]
|
D | DeclCXX.cpp | 3067 NamedDecl *InstantiatedFrom, in Create() argument 3070 return new (C, DC, Extra) UsingPackDecl(DC, InstantiatedFrom, UsingDecls); in Create()
|
/external/clang/lib/AST/ |
D | Decl.cpp | 1055 CXXRecordDecl *InstantiatedFrom = RD->getInstantiatedFromMemberClass(); in getExplicitVisibilityAux() local 1056 if (InstantiatedFrom) in getExplicitVisibilityAux() 1057 return getVisibilityOf(InstantiatedFrom, kind); in getExplicitVisibilityAux() 1076 VarDecl *InstantiatedFrom = Var->getInstantiatedFromStaticDataMember(); in getExplicitVisibilityAux() local 1077 if (InstantiatedFrom) in getExplicitVisibilityAux() 1078 return getVisibilityOf(InstantiatedFrom, kind); in getExplicitVisibilityAux() 1098 FunctionDecl *InstantiatedFrom = fn->getInstantiatedFromMemberFunction(); in getExplicitVisibilityAux() local 1099 if (InstantiatedFrom) in getExplicitVisibilityAux() 1100 return getVisibilityOf(InstantiatedFrom, kind); in getExplicitVisibilityAux()
|
/external/clang/lib/Sema/ |
D | SemaTemplate.cpp | 7064 NamedDecl *InstantiatedFrom = nullptr; in CheckMemberSpecialization() local 7080 InstantiatedFrom = Method->getInstantiatedFromMemberFunction(); in CheckMemberSpecialization() 7093 InstantiatedFrom = PrevVar->getInstantiatedFromStaticDataMember(); in CheckMemberSpecialization() 7102 InstantiatedFrom = PrevRecord->getInstantiatedFromMemberClass(); in CheckMemberSpecialization() 7111 InstantiatedFrom = PrevEnum->getInstantiatedFromMemberEnum(); in CheckMemberSpecialization() 7127 if (InstantiatedFrom && isa<CXXMethodDecl>(Member)) { in CheckMemberSpecialization() 7129 cast<CXXMethodDecl>(InstantiatedFrom), in CheckMemberSpecialization() 7131 } else if (InstantiatedFrom && isa<CXXRecordDecl>(Member)) { in CheckMemberSpecialization() 7133 cast<CXXRecordDecl>(InstantiatedFrom), in CheckMemberSpecialization() 7143 if (!InstantiatedFrom) { in CheckMemberSpecialization() [all …]
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaTemplate.cpp | 9208 NamedDecl *InstantiatedFrom = nullptr; in CheckMemberSpecialization() local 9226 InstantiatedFrom = Method->getInstantiatedFromMemberFunction(); in CheckMemberSpecialization() 9239 InstantiatedFrom = PrevVar->getInstantiatedFromStaticDataMember(); in CheckMemberSpecialization() 9248 InstantiatedFrom = PrevRecord->getInstantiatedFromMemberClass(); in CheckMemberSpecialization() 9257 InstantiatedFrom = PrevEnum->getInstantiatedFromMemberEnum(); in CheckMemberSpecialization() 9276 if (InstantiatedFrom && isa<CXXMethodDecl>(Member)) { in CheckMemberSpecialization() 9278 cast<CXXMethodDecl>(InstantiatedFrom), in CheckMemberSpecialization() 9280 } else if (InstantiatedFrom && isa<CXXRecordDecl>(Member)) { in CheckMemberSpecialization() 9282 cast<CXXRecordDecl>(InstantiatedFrom), in CheckMemberSpecialization() 9292 if (!InstantiatedFrom) { in CheckMemberSpecialization() [all …]
|
D | SemaDeclCXX.cpp | 12199 NamedDecl *Sema::BuildUsingPackDecl(NamedDecl *InstantiatedFrom, in BuildUsingPackDecl() argument 12201 assert(isa<UnresolvedUsingValueDecl>(InstantiatedFrom) || in BuildUsingPackDecl() 12202 isa<UnresolvedUsingTypenameDecl>(InstantiatedFrom) || in BuildUsingPackDecl() 12203 isa<UsingPackDecl>(InstantiatedFrom)); in BuildUsingPackDecl() 12206 UsingPackDecl::Create(Context, CurContext, InstantiatedFrom, Expansions); in BuildUsingPackDecl() 12207 UPD->setAccess(InstantiatedFrom->getAccess()); in BuildUsingPackDecl()
|
/external/llvm-project/clang/lib/Serialization/ |
D | ASTReaderDecl.cpp | 1656 D->InstantiatedFrom = readDeclAs<NamedDecl>(); in VisitUsingPackDecl()
|
/external/llvm-project/clang/include/clang/Sema/ |
D | Sema.h | 5554 NamedDecl *BuildUsingPackDecl(NamedDecl *InstantiatedFrom,
|