Home
last modified time | relevance | path

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

12

/external/llvm-project/clang-tools-extra/clang-tidy/misc/
DNoRecursionCheck.cpp242 Decl *PrevDecl = PrevNode.Callee->getDecl(); in handleSCC() local
/external/clang/lib/AST/
DDeclTemplate.cpp329 ClassTemplateDecl *PrevDecl) { in Create()
710 ClassTemplateSpecializationDecl *PrevDecl) in ClassTemplateSpecializationDecl()
733 ClassTemplateSpecializationDecl *PrevDecl) { in Create()
823 ClassTemplatePartialSpecializationDecl *PrevDecl) in ClassTemplatePartialSpecializationDecl()
844 ClassTemplatePartialSpecializationDecl *PrevDecl) { in Create()
DDeclCXX.cpp88 CXXRecordDecl *PrevDecl) in CXXRecordDecl()
97 CXXRecordDecl* PrevDecl, in Create()
2061 IdentifierInfo *Id, NamespaceDecl *PrevDecl) in NamespaceDecl()
2074 NamespaceDecl *PrevDecl) { in Create()
DDeclObjC.cpp1389 ObjCInterfaceDecl *PrevDecl, in Create()
1416 ObjCInterfaceDecl *PrevDecl, in ObjCInterfaceDecl()
1777 ObjCProtocolDecl *PrevDecl) in ObjCProtocolDecl()
1789 ObjCProtocolDecl *PrevDecl) { in Create()
DDecl.cpp2662 FunctionDecl::setPreviousDeclaration(FunctionDecl *PrevDecl) { in setPreviousDeclaration()
3629 EnumDecl *PrevDecl, bool IsScoped, in Create()
3718 RecordDecl *PrevDecl) in RecordDecl()
3730 IdentifierInfo *Id, RecordDecl* PrevDecl) { in Create()
DDeclBase.cpp1077 Decl *PrevDecl = nullptr; in BuildDeclChain() local
/external/llvm-project/clang/lib/Sema/
DSemaTemplateInstantiateDecl.cpp1268 EnumDecl *PrevDecl = nullptr; in VisitEnumDecl() local
1440 CXXRecordDecl *PrevDecl = nullptr; in VisitClassTemplateDecl() local
1761 CXXRecordDecl *PrevDecl = nullptr; in VisitCXXRecordDecl() local
3067 UsingShadowDecl *PrevDecl = nullptr; in VisitUsingDecl() local
3520 ClassTemplateSpecializationDecl *PrevDecl = in VisitClassTemplateSpecializationDecl() local
3641 VarTemplateSpecializationDecl *PrevDecl = in VisitVarTemplateSpecializationDecl() local
3661 VarTemplateSpecializationDecl *PrevDecl) { in VisitVarTemplateSpecializationDecl()
3920 ClassTemplateSpecializationDecl *PrevDecl in InstantiateClassTemplatePartialSpecialization() local
4045 VarTemplateSpecializationDecl *PrevDecl = in InstantiateVarTemplatePartialSpecialization() local
DSemaDeclObjC.cpp552 NamedDecl *PrevDecl = LookupSingleName(TUScope, SuperName, SuperLoc, in ActOnSuperClassOfClassInterface() local
985 NamedDecl *PrevDecl = in ActOnStartClassInterface() local
1219 ObjCProtocolDecl *PrevDecl = LookupProtocol(ProtocolName, ProtocolLoc, in ActOnStartProtocolInterface() local
1780 ObjCProtocolDecl *PrevDecl = LookupProtocol(Ident, IdentPair.second, in ActOnForwardProtocolDeclaration() local
1972 NamedDecl *PrevDecl in ActOnStartClassImplementation() local
3054 NamedDecl *PrevDecl in ActOnForwardClassDeclaration() local
4761 NamedDecl *PrevDecl = R.getFoundDecl(); in ActOnMethodDeclaration() local
DSemaTemplate.cpp882 void Sema::DiagnoseTemplateParameterShadow(SourceLocation Loc, Decl *PrevDecl) { in DiagnoseTemplateParameterShadow()
964 NamedDecl *PrevDecl = SemaRef.LookupSingleName( in maybeDiagnoseTemplateParameterShadow() local
1770 NamedDecl *PrevDecl = nullptr; in CheckClassTemplate() local
4343 VarTemplateSpecializationDecl *PrevDecl = nullptr; in ActOnVarTemplateSpecialization() local
8024 NamedDecl *PrevDecl, in CheckTemplateSpecializationScope()
8388 ClassTemplateSpecializationDecl *PrevDecl = nullptr; in ActOnClassTemplateSpecialization() local
8727 NamedDecl *PrevDecl, in CheckSpecializationInstantiationRedecl()
9624 ClassTemplateSpecializationDecl *PrevDecl in ActOnExplicitInstantiation() local
9878 CXXRecordDecl *PrevDecl in ActOnExplicitInstantiation() local
10270 FunctionDecl *PrevDecl = Specialization->getPreviousDecl(); in ActOnExplicitInstantiation() local
DSemaDecl.cpp4822 NamedDecl *PrevDecl = R.getRepresentativeDecl()->getUnderlyingDecl(); in CheckAnonMemberRedeclaration() local
6235 isOutOfScopePreviousDeclaration(NamedDecl *PrevDecl, DeclContext *DC, in isOutOfScopePreviousDeclaration()
10018 bool Sema::shouldLinkDependentDeclWithPrevious(Decl *D, Decl *PrevDecl) { in shouldLinkDependentDeclWithPrevious()
13573 NamedDecl *PrevDecl = R.getFoundDecl(); in ActOnParamDeclarator() local
15127 Sema::NonTagKind Sema::getNonTagTypeDeclKind(const Decl *PrevDecl, in getNonTagTypeDeclKind()
15748 NamedDecl *PrevDecl = Previous.getFoundDecl(); in ActOnTag() local
16569 NamedDecl *PrevDecl = nullptr; in HandleField() local
16640 AccessSpecifier AS, NamedDecl *PrevDecl, in CheckFieldDecl()
16972 NamedDecl *PrevDecl = LookupSingleName(S, II, Loc, LookupMemberName, in ActOnIvar() local
17730 NamedDecl *PrevDecl = LookupSingleName(S, II, IILoc, LookupOrdinaryName, in shouldSkipAnonEnumBody() local
[all …]
DSemaAccess.cpp1104 NamedDecl *PrevDecl = nullptr; in diagnoseBadDirectAccess() local
/external/clang/lib/Sema/
DSemaTemplateInstantiateDecl.cpp885 EnumDecl *PrevDecl = nullptr; in VisitEnumDecl() local
1061 CXXRecordDecl *PrevDecl = nullptr; in VisitClassTemplateDecl() local
1377 CXXRecordDecl *PrevDecl = nullptr; in VisitCXXRecordDecl() local
2434 UsingShadowDecl *PrevDecl = nullptr; in VisitUsingDecl() local
2708 ClassTemplateSpecializationDecl *PrevDecl = in VisitClassTemplateSpecializationDecl() local
2985 ClassTemplateSpecializationDecl *PrevDecl in InstantiateClassTemplatePartialSpecialization() local
3107 VarTemplateSpecializationDecl *PrevDecl = in InstantiateVarTemplatePartialSpecialization() local
DSemaDeclObjC.cpp475 NamedDecl *PrevDecl = LookupSingleName(TUScope, SuperName, SuperLoc, in ActOnSuperClassOfClassInterface() local
912 NamedDecl *PrevDecl = LookupSingleName(TUScope, ClassName, ClassLoc, in ActOnStartClassInterface() local
1134 ObjCProtocolDecl *PrevDecl = LookupProtocol(ProtocolName, ProtocolLoc, in ActOnStartProtocolInterface() local
1689 ObjCProtocolDecl *PrevDecl = LookupProtocol(Ident, IdentPair.second, in ActOnForwardProtocolDeclaration() local
1878 NamedDecl *PrevDecl in ActOnStartClassImplementation() local
2955 NamedDecl *PrevDecl in ActOnForwardClassDeclaration() local
4343 NamedDecl *PrevDecl = R.getFoundDecl(); in ActOnMethodDeclaration() local
DSemaTemplate.cpp463 void Sema::DiagnoseTemplateParameterShadow(SourceLocation Loc, Decl *PrevDecl) { in DiagnoseTemplateParameterShadow()
547 NamedDecl *PrevDecl = SemaRef.LookupSingleName( in maybeDiagnoseTemplateParameterShadow() local
929 NamedDecl *PrevDecl = nullptr; in CheckClassTemplate() local
2602 VarTemplateSpecializationDecl *PrevDecl = nullptr; in ActOnVarTemplateSpecialization() local
5888 NamedDecl *PrevDecl, in CheckTemplateSpecializationScope()
6330 ClassTemplateSpecializationDecl *PrevDecl = nullptr; in ActOnClassTemplateSpecialization() local
6637 NamedDecl *PrevDecl, in CheckSpecializationInstantiationRedecl()
7431 ClassTemplateSpecializationDecl *PrevDecl in ActOnExplicitInstantiation() local
7665 CXXRecordDecl *PrevDecl in ActOnExplicitInstantiation() local
8043 FunctionDecl *PrevDecl = Specialization->getPreviousDecl(); in ActOnExplicitInstantiation() local
DSemaDecl.cpp4099 NamedDecl *PrevDecl = R.getRepresentativeDecl()->getUnderlyingDecl(); in CheckAnonMemberRedeclaration() local
5442 isOutOfScopePreviousDeclaration(NamedDecl *PrevDecl, DeclContext *DC, in isOutOfScopePreviousDeclaration()
10857 NamedDecl *PrevDecl = R.getFoundDecl(); in ActOnParamDeclarator() local
12597 NamedDecl *PrevDecl = Previous.getFoundDecl(); in ActOnTag() local
13388 NamedDecl *PrevDecl = nullptr; in HandleField() local
13458 AccessSpecifier AS, NamedDecl *PrevDecl, in CheckFieldDecl()
13776 NamedDecl *PrevDecl = LookupSingleName(S, II, Loc, LookupMemberName, in ActOnIvar() local
14488 NamedDecl *PrevDecl = LookupSingleName(S, II, IILoc, LookupOrdinaryName, in shouldSkipAnonEnumBody() local
14519 NamedDecl *PrevDecl = LookupSingleName(S, Id, IdLoc, LookupOrdinaryName, in ActOnEnumConstant() local
15182 NamedDecl *PrevDecl = LookupSingleName(TUScope, Name, NameLoc, in ActOnPragmaRedefineExtname() local
[all …]
DSema.cpp723 Decl *PrevDecl = LookupSingleName(TUScope, WeakID.first, SourceLocation(), in ActOnEndOfTranslationUnit() local
DSemaDeclCXX.cpp7363 NamedDecl *PrevDecl = in ActOnStartNamespaceDef() local
8044 UsingShadowDecl *PrevDecl) { in BuildUsingShadowDecl()
8461 UsingShadowDecl *PrevDecl = nullptr; in BuildUsingDeclaration() local
8935 NamedDecl *PrevDecl = PrevR.getRepresentativeDecl(); in ActOnNamespaceAliasDef() local
12325 if (NamedDecl *PrevDecl = LookupSingleName(S, II, D.getIdentifierLoc(), in ActOnExceptionDeclarator() local
13986 NamedDecl *PrevDecl = nullptr; in HandleMSProperty() local
DSemaAccess.cpp1105 NamedDecl *PrevDecl = nullptr; in diagnoseBadDirectAccess() local
/external/llvm-project/clang/lib/AST/
DDeclTemplate.cpp869 ClassTemplateSpecializationDecl *PrevDecl) in ClassTemplateSpecializationDecl()
890 ClassTemplateSpecializationDecl *PrevDecl) { in Create()
1009 ClassTemplatePartialSpecializationDecl *PrevDecl) in ClassTemplatePartialSpecializationDecl()
1028 ClassTemplatePartialSpecializationDecl *PrevDecl) { in Create()
DDeclObjC.cpp1497 ObjCInterfaceDecl *PrevDecl, in Create()
1521 ObjCInterfaceDecl *PrevDecl, in ObjCInterfaceDecl()
1884 ObjCProtocolDecl *PrevDecl) in ObjCProtocolDecl()
1896 ObjCProtocolDecl *PrevDecl) { in Create()
DDecl.cpp3224 FunctionDecl::setPreviousDeclaration(FunctionDecl *PrevDecl) { in setPreviousDeclaration()
4216 SourceLocation L, IdentifierInfo *Id, TagDecl *PrevDecl, in TagDecl()
4334 SourceLocation IdLoc, IdentifierInfo *Id, EnumDecl *PrevDecl, in EnumDecl()
4353 EnumDecl *PrevDecl, bool IsScoped, in Create()
4467 RecordDecl *PrevDecl) in RecordDecl()
4487 IdentifierInfo *Id, RecordDecl* PrevDecl) { in Create()
DDeclCXX.cpp124 CXXRecordDecl *PrevDecl) in CXXRecordDecl()
132 CXXRecordDecl *PrevDecl, in Create()
2847 IdentifierInfo *Id, NamespaceDecl *PrevDecl) in NamespaceDecl()
2860 NamespaceDecl *PrevDecl) { in Create()
DDeclPrinter.cpp1137 FunctionDecl *PrevDecl = D->getTemplatedDecl(); in VisitFunctionTemplateDecl() local
/external/llvm-project/clang-tools-extra/clangd/refactor/tweaks/
DDefineInline.cpp342 auto PrevDecl = FD; in findTarget() local
/external/clang/include/clang/AST/
DDecl.h2808 SourceLocation L, IdentifierInfo *Id, TagDecl *PrevDecl, in TagDecl()
3044 SourceLocation IdLoc, IdentifierInfo *Id, EnumDecl *PrevDecl, in EnumDecl()
3818 void Redeclarable<decl_type>::setPreviousDecl(decl_type *PrevDecl) { in setPreviousDecl()

12