Home
last modified time | relevance | path

Searched defs:PrevDecl (Results 1 – 19 of 19) sorted by relevance

/llvm-project-15.0.7/clang-tools-extra/clang-tidy/misc/
H A DNoRecursionCheck.cpp242 Decl *PrevDecl = PrevNode.Callee->getDecl(); in handleSCC() local
/llvm-project-15.0.7/clang-tools-extra/clangd/refactor/tweaks/
H A DDefineInline.cpp335 auto *PrevDecl = FD; in findTarget() local
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaTemplateInstantiateDecl.cpp1409 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 DSemaDeclObjC.cpp552 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 DSemaTemplate.cpp887 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 DSemaDecl.cpp5252 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 DSemaAccess.cpp1118 NamedDecl *PrevDecl = nullptr; in diagnoseBadDirectAccess() local
H A DSemaDeclCXX.cpp11143 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 DSema.cpp1181 Decl *PrevDecl = LookupSingleName(TUScope, WeakIDs.first, SourceLocation(), in ActOnEndOfTranslationUnit() local
H A DSemaOpenMP.cpp21818 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 DDeclTemplate.cpp905 ClassTemplateSpecializationDecl *PrevDecl) in ClassTemplateSpecializationDecl()
926 ClassTemplateSpecializationDecl *PrevDecl) { in Create()
1048 ClassTemplatePartialSpecializationDecl *PrevDecl) in ClassTemplatePartialSpecializationDecl()
1068 ClassTemplatePartialSpecializationDecl *PrevDecl) { in Create()
H A DDeclObjC.cpp1512 ObjCInterfaceDecl *PrevDecl, in Create()
1536 ObjCInterfaceDecl *PrevDecl, in ObjCInterfaceDecl()
1904 ObjCProtocolDecl *PrevDecl) in ObjCProtocolDecl()
1916 ObjCProtocolDecl *PrevDecl) { in Create()
H A DDecl.cpp3358 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 DDeclCXX.cpp126 CXXRecordDecl *PrevDecl) in CXXRecordDecl()
134 CXXRecordDecl *PrevDecl, in Create()
2868 IdentifierInfo *Id, NamespaceDecl *PrevDecl) in NamespaceDecl()
2881 NamespaceDecl *PrevDecl) { in Create()
H A DDeclPrinter.cpp1182 FunctionDecl *PrevDecl = D->getTemplatedDecl(); in VisitFunctionTemplateDecl() local
H A DDeclBase.cpp1338 Decl *PrevDecl = nullptr; in BuildDeclChain() local
H A DASTImporter.cpp2710 EnumDecl *PrevDecl = nullptr; in VisitEnumDecl() local
2824 RecordDecl *PrevDecl = nullptr; in VisitRecordDecl() local
5731 ClassTemplateSpecializationDecl *PrevDecl = nullptr; in VisitClassTemplateSpecializationDecl() local
H A DASTContext.cpp4585 } 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 DDecl.h4674 void Redeclarable<decl_type>::setPreviousDecl(decl_type *PrevDecl) { in setPreviousDecl()