| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/misc/ |
| H A D | NoRecursionCheck.cpp | 242 Decl *PrevDecl = PrevNode.Callee->getDecl(); in handleSCC() local
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/refactor/tweaks/ |
| H A D | DefineInline.cpp | 335 auto *PrevDecl = FD; in findTarget() local
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaTemplateInstantiateDecl.cpp | 1409 EnumDecl *PrevDecl = nullptr; in VisitEnumDecl() local 1581 CXXRecordDecl *PrevDecl = nullptr; in VisitClassTemplateDecl() local 1872 CXXRecordDecl *PrevDecl = nullptr; in VisitCXXRecordDecl() local 3139 UsingShadowDecl *PrevDecl = nullptr; in VisitBaseUsingDecls() local 3706 ClassTemplateSpecializationDecl *PrevDecl = in VisitClassTemplateSpecializationDecl() local 3829 VarTemplateSpecializationDecl *PrevDecl = in VisitVarTemplateSpecializationDecl() local 3849 VarTemplateSpecializationDecl *PrevDecl) { in VisitVarTemplateSpecializationDecl() 4107 ClassTemplateSpecializationDecl *PrevDecl in InstantiateClassTemplatePartialSpecialization() local 4231 VarTemplateSpecializationDecl *PrevDecl = in InstantiateVarTemplatePartialSpecialization() local
|
| H A D | SemaDeclObjC.cpp | 552 NamedDecl *PrevDecl = LookupSingleName(TUScope, SuperName, SuperLoc, in ActOnSuperClassOfClassInterface() local 985 NamedDecl *PrevDecl = in ActOnStartClassInterface() local 1220 ObjCProtocolDecl *PrevDecl = LookupProtocol(ProtocolName, ProtocolLoc, in ActOnStartProtocolInterface() local 1782 ObjCProtocolDecl *PrevDecl = LookupProtocol(Ident, IdentPair.second, in ActOnForwardProtocolDeclaration() local 1974 NamedDecl *PrevDecl in ActOnStartClassImplementation() local 3060 NamedDecl *PrevDecl in ActOnForwardClassDeclaration() local 4771 NamedDecl *PrevDecl = R.getFoundDecl(); in ActOnMethodDeclaration() local
|
| H A D | SemaTemplate.cpp | 887 void Sema::DiagnoseTemplateParameterShadow(SourceLocation Loc, Decl *PrevDecl) { in DiagnoseTemplateParameterShadow() 969 NamedDecl *PrevDecl = SemaRef.LookupSingleName( in maybeDiagnoseTemplateParameterShadow() local 1796 NamedDecl *PrevDecl = nullptr; in CheckClassTemplate() local 4431 VarTemplateSpecializationDecl *PrevDecl = nullptr; in ActOnVarTemplateSpecialization() local 8078 NamedDecl *PrevDecl, in CheckTemplateSpecializationScope() 8441 ClassTemplateSpecializationDecl *PrevDecl = nullptr; in ActOnClassTemplateSpecialization() local 8818 NamedDecl *PrevDecl, in CheckSpecializationInstantiationRedecl() 9715 ClassTemplateSpecializationDecl *PrevDecl in ActOnExplicitInstantiation() local 9974 CXXRecordDecl *PrevDecl in ActOnExplicitInstantiation() local 10366 FunctionDecl *PrevDecl = Specialization->getPreviousDecl(); in ActOnExplicitInstantiation() local
|
| H A D | SemaDecl.cpp | 5252 NamedDecl *PrevDecl = R.getRepresentativeDecl()->getUnderlyingDecl(); in CheckAnonMemberRedeclaration() local 6702 isOutOfScopePreviousDeclaration(NamedDecl *PrevDecl, DeclContext *DC, in isOutOfScopePreviousDeclaration() 14258 NamedDecl *PrevDecl = R.getFoundDecl(); in ActOnParamDeclarator() local 15930 Sema::NonTagKind Sema::getNonTagTypeDeclKind(const Decl *PrevDecl, in getNonTagTypeDeclKind() 16565 NamedDecl *PrevDecl = Previous.getFoundDecl(); in ActOnTag() local 17404 NamedDecl *PrevDecl = nullptr; in HandleField() local 17475 AccessSpecifier AS, NamedDecl *PrevDecl, in CheckFieldDecl() 17807 NamedDecl *PrevDecl = LookupSingleName(S, II, Loc, LookupMemberName, in ActOnIvar() local 18698 NamedDecl *PrevDecl = R.getAsSingle<NamedDecl>(); in ActOnEnumConstant() local 19189 NamedDecl *PrevDecl = LookupSingleName(TUScope, Name, NameLoc, in ActOnPragmaRedefineExtname() local [all …]
|
| H A D | SemaAccess.cpp | 1118 NamedDecl *PrevDecl = nullptr; in diagnoseBadDirectAccess() local
|
| H A D | SemaDeclCXX.cpp | 11143 NamedDecl *PrevDecl = in ActOnStartNamespaceDef() local 12068 UsingShadowDecl *PrevDecl) { in BuildUsingShadowDecl() 12531 UsingShadowDecl *PrevDecl = nullptr; in BuildUsingDeclaration() local 12580 UsingShadowDecl *PrevDecl = nullptr; in BuildUsingEnumDeclaration() local 13145 NamedDecl *PrevDecl = PrevR.getRepresentativeDecl(); in ActOnNamespaceAliasDef() local 16510 if (NamedDecl *PrevDecl = LookupSingleName(S, II, D.getIdentifierLoc(), in ActOnExceptionDeclarator() local 18311 NamedDecl *PrevDecl = nullptr; in HandleMSProperty() local
|
| H A D | Sema.cpp | 1181 Decl *PrevDecl = LookupSingleName(TUScope, WeakIDs.first, SourceLocation(), in ActOnEndOfTranslationUnit() local
|
| H A D | SemaOpenMP.cpp | 21818 auto *PrevDecl = cast<OMPDeclareReductionDecl>(Filter.next()); in ActOnOpenMPDeclareReductionDirectiveStart() local 22070 auto *PrevDecl = cast<OMPDeclareMapperDecl>(Filter.next()); in ActOnOpenMPDeclareMapperDirective() local
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | DeclTemplate.cpp | 905 ClassTemplateSpecializationDecl *PrevDecl) in ClassTemplateSpecializationDecl() 926 ClassTemplateSpecializationDecl *PrevDecl) { in Create() 1048 ClassTemplatePartialSpecializationDecl *PrevDecl) in ClassTemplatePartialSpecializationDecl() 1068 ClassTemplatePartialSpecializationDecl *PrevDecl) { in Create()
|
| H A D | DeclObjC.cpp | 1512 ObjCInterfaceDecl *PrevDecl, in Create() 1536 ObjCInterfaceDecl *PrevDecl, in ObjCInterfaceDecl() 1904 ObjCProtocolDecl *PrevDecl) in ObjCProtocolDecl() 1916 ObjCProtocolDecl *PrevDecl) { in Create()
|
| H A D | Decl.cpp | 3358 FunctionDecl::setPreviousDeclaration(FunctionDecl *PrevDecl) { in setPreviousDeclaration() 4368 SourceLocation L, IdentifierInfo *Id, TagDecl *PrevDecl, in TagDecl() 4487 SourceLocation IdLoc, IdentifierInfo *Id, EnumDecl *PrevDecl, in EnumDecl() 4506 EnumDecl *PrevDecl, bool IsScoped, in Create() 4631 RecordDecl *PrevDecl) in RecordDecl() 4652 IdentifierInfo *Id, RecordDecl* PrevDecl) { in Create()
|
| H A D | DeclCXX.cpp | 126 CXXRecordDecl *PrevDecl) in CXXRecordDecl() 134 CXXRecordDecl *PrevDecl, in Create() 2868 IdentifierInfo *Id, NamespaceDecl *PrevDecl) in NamespaceDecl() 2881 NamespaceDecl *PrevDecl) { in Create()
|
| H A D | DeclPrinter.cpp | 1182 FunctionDecl *PrevDecl = D->getTemplatedDecl(); in VisitFunctionTemplateDecl() local
|
| H A D | DeclBase.cpp | 1338 Decl *PrevDecl = nullptr; in BuildDeclChain() local
|
| H A D | ASTImporter.cpp | 2710 EnumDecl *PrevDecl = nullptr; in VisitEnumDecl() local 2824 RecordDecl *PrevDecl = nullptr; in VisitRecordDecl() local 5731 ClassTemplateSpecializationDecl *PrevDecl = nullptr; in VisitClassTemplateSpecializationDecl() local
|
| H A D | ASTContext.cpp | 4585 } else if (CXXRecordDecl *PrevDecl = Decl->getPreviousDecl()) { in getInjectedClassNameType() local 4665 if (const RecordDecl *PrevDecl = Decl->getPreviousDecl()) in getRecordType() local 4678 if (const EnumDecl *PrevDecl = Decl->getPreviousDecl()) in getEnumType() local
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | Decl.h | 4674 void Redeclarable<decl_type>::setPreviousDecl(decl_type *PrevDecl) { in setPreviousDecl()
|