Home
last modified time | relevance | path

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

/llvm-project/clang/lib/Sema/
H A DHLSLExternalSemaSource.cpp49 CXXRecordDecl *PrevDecl = nullptr; BuiltinTypeDeclBuilder() local
398 NamespaceDecl *PrevDecl = nullptr; InitializeSema() local
[all...]
H A DSemaTemplateInstantiateDecl.cpp1494 EnumDecl *PrevDecl = nullptr; VisitEnumDecl() local
1666 CXXRecordDecl *PrevDecl = nullptr; VisitClassTemplateDecl() local
1964 CXXRecordDecl *PrevDecl = nullptr; VisitCXXRecordDecl() local
3315 UsingShadowDecl *PrevDecl = nullptr; VisitBaseUsingDecls() local
3880 ClassTemplateSpecializationDecl *PrevDecl = VisitClassTemplateSpecializationDecl() local
3987 VarTemplateSpecializationDecl *PrevDecl = VisitVarTemplateSpecializationDecl() local
4007 VisitVarTemplateSpecializationDecl(VarTemplateDecl * VarTemplate,VarDecl * D,const TemplateArgumentListInfo & TemplateArgsInfo,ArrayRef<TemplateArgument> Converted,VarTemplateSpecializationDecl * PrevDecl) VisitVarTemplateSpecializationDecl() argument
4259 ClassTemplateSpecializationDecl *PrevDecl = InstantiateClassTemplatePartialSpecialization() local
4372 VarTemplateSpecializationDecl *PrevDecl = InstantiateVarTemplatePartialSpecialization() local
[all...]
H A DSemaDeclObjC.cpp560 NamedDecl *PrevDecl = SemaRef.LookupSingleName( ActOnSuperClassOfClassInterface() local
986 NamedDecl *PrevDecl = SemaRef.LookupSingleName( ActOnStartClassInterface() local
1225 ObjCProtocolDecl *PrevDecl = LookupProtocol( ActOnStartProtocolInterface() local
1793 ObjCProtocolDecl *PrevDecl = LookupProtocol( ActOnForwardProtocolDeclaration() local
1988 NamedDecl *PrevDecl = SemaRef.LookupSingleName( ActOnStartClassImplementation() local
3068 NamedDecl *PrevDecl = SemaRef.LookupSingleName( ActOnForwardClassDeclaration() local
4793 NamedDecl *PrevDecl = R.getFoundDecl(); ActOnMethodDeclaration() local
5649 NamedDecl *PrevDecl = ActOnIvar() local
[all...]
H A DSemaDecl.cpp5249 NamedDecl *PrevDecl = R.getRepresentativeDecl()->getUnderlyingDecl(); CheckAnonMemberRedeclaration() local
6747 isOutOfScopePreviousDeclaration(NamedDecl * PrevDecl,DeclContext * DC,ASTContext & Context) isOutOfScopePreviousDeclaration() argument
7362 NamedDecl *PrevDecl = *Previous.begin(); ActOnVariableDeclarator() local
10904 shouldLinkDependentDeclWithPrevious(Decl * D,Decl * PrevDecl) shouldLinkDependentDeclWithPrevious() argument
14910 NamedDecl *PrevDecl = *R.begin(); ActOnParamDeclarator() local
16724 getNonTagTypeDeclKind(const Decl * PrevDecl,TagTypeKind TTK) getNonTagTypeDeclKind() argument
17389 NamedDecl *PrevDecl = Previous.getFoundDecl(); ActOnTag() local
18226 NamedDecl *PrevDecl = nullptr; HandleField() local
18287 CheckFieldDecl(DeclarationName Name,QualType T,TypeSourceInfo * TInfo,RecordDecl * Record,SourceLocation Loc,bool Mutable,Expr * BitWidth,InClassInitStyle InitStyle,SourceLocation TSSL,AccessSpecifier AS,NamedDecl * PrevDecl,Declarator * D) CheckFieldDecl() argument
19516 NamedDecl *PrevDecl = LookupSingleName(S, II, IILoc, LookupOrdinaryName, shouldSkipAnonEnumBody() local
19550 NamedDecl *PrevDecl = R.getAsSingle<NamedDecl>(); ActOnEnumConstant() local
20064 NamedDecl *PrevDecl = LookupSingleName(TUScope, Name, NameLoc, ActOnPragmaRedefineExtname() local
20089 Decl *PrevDecl = LookupSingleName(TUScope, Name, NameLoc, LookupOrdinaryName); ActOnPragmaWeakID() local
20103 Decl *PrevDecl = LookupSingleName(TUScope, AliasName, AliasNameLoc, ActOnPragmaWeakAlias() local
[all...]
H A DSemaTemplate.cpp857 assert(PrevDecl->isTemplateParameter() && "Not a template parameter"); in DiagnoseTemplateParameterShadow() argument
942 NamedDecl *PrevDecl = maybeDiagnoseTemplateParameterShadow() local
1878 NamedDecl *PrevDecl = nullptr; CheckClassTemplate() local
5245 VarTemplateSpecializationDecl *PrevDecl = nullptr; ActOnVarTemplateSpecialization() local
9077 CheckTemplateSpecializationScope(Sema & S,NamedDecl * Specialized,NamedDecl * PrevDecl,SourceLocation Loc,bool IsPartialSpecialization) CheckTemplateSpecializationScope() argument
9437 ClassTemplateSpecializationDecl *PrevDecl = nullptr; ActOnClassTemplateSpecialization() local
9800 CheckSpecializationInstantiationRedecl(SourceLocation NewLoc,TemplateSpecializationKind NewTSK,NamedDecl * PrevDecl,TemplateSpecializationKind PrevTSK,SourceLocation PrevPointOfInstantiation,bool & HasNoEffect) CheckSpecializationInstantiationRedecl() argument
10717 ClassTemplateSpecializationDecl *PrevDecl = ActOnExplicitInstantiation() local
10965 CXXRecordDecl *PrevDecl ActOnExplicitInstantiation() local
11363 FunctionDecl *PrevDecl = Specialization->getPreviousDecl(); ActOnExplicitInstantiation() local
[all...]
H A DSemaAccess.cpp1126 NamedDecl *PrevDecl = nullptr; diagnoseBadDirectAccess() local
H A DSemaDeclCXX.cpp11511 NamedDecl *PrevDecl = ActOnStartNamespaceDef() local
12469 BuildUsingShadowDecl(Scope * S,BaseUsingDecl * BUD,NamedDecl * Orig,UsingShadowDecl * PrevDecl) BuildUsingShadowDecl() argument
12898 UsingShadowDecl *PrevDecl = nullptr; BuildUsingDeclaration() local
12948 UsingShadowDecl *PrevDecl = nullptr; BuildUsingEnumDeclaration() local
13501 NamedDecl *PrevDecl = PrevR.getRepresentativeDecl(); ActOnNamespaceAliasDef() local
16833 if (NamedDecl *PrevDecl = ActOnExceptionDeclarator() local
18920 NamedDecl *PrevDecl = nullptr; HandleMSProperty() local
[all...]
H A DSema.cpp1238 Decl *PrevDecl = LookupSingleName(TUScope, WeakIDs.first, SourceLocation(), ActOnEndOfTranslationUnit() local
H A DSemaOpenMP.cpp21832 auto *PrevDecl = cast<OMPDeclareReductionDecl>(Filter.next()); ActOnOpenMPDeclareReductionDirectiveStart() local
22088 auto *PrevDecl = cast<OMPDeclareMapperDecl>(Filter.next()); ActOnOpenMPDeclareMapperDirective() local
[all...]
/llvm-project/clang-tools-extra/clang-tidy/misc/
H A DNoRecursionCheck.cpp240 Decl *PrevDecl = PrevNode.Callee->getDecl(); in handleSCC() local
/llvm-project/clang-tools-extra/clangd/refactor/tweaks/
H A DDefineInline.cpp334 auto *PrevDecl = FD; in findTarget() local
/llvm-project/clang/lib/AST/
H A DDeclObjC.cpp1545 ObjCInterfaceDecl(C, DC, atLoc, Id, typeParamList, ClassLoc, PrevDecl, in Create() argument
1566 ObjCInterfaceDecl(const ASTContext & C,DeclContext * DC,SourceLocation AtLoc,const IdentifierInfo * Id,ObjCTypeParamList * typeParamList,SourceLocation CLoc,ObjCInterfaceDecl * PrevDecl,bool IsInternal) ObjCInterfaceDecl() argument
1933 ObjCProtocolDecl(ASTContext & C,DeclContext * DC,IdentifierInfo * Id,SourceLocation nameLoc,SourceLocation atStartLoc,ObjCProtocolDecl * PrevDecl) ObjCProtocolDecl() argument
1945 Create(ASTContext & C,DeclContext * DC,IdentifierInfo * Id,SourceLocation nameLoc,SourceLocation atStartLoc,ObjCProtocolDecl * PrevDecl) Create() argument
[all...]
H A DDeclTemplate.cpp926 ClassTemplateSpecializationDecl(ASTContext & Context,Kind DK,TagKind TK,DeclContext * DC,SourceLocation StartLoc,SourceLocation IdLoc,ClassTemplateDecl * SpecializedTemplate,ArrayRef<TemplateArgument> Args,ClassTemplateSpecializationDecl * PrevDecl) ClassTemplateSpecializationDecl() argument
947 Create(ASTContext & Context,TagKind TK,DeclContext * DC,SourceLocation StartLoc,SourceLocation IdLoc,ClassTemplateDecl * SpecializedTemplate,ArrayRef<TemplateArgument> Args,ClassTemplateSpecializationDecl * PrevDecl) Create() argument
1135 ClassTemplatePartialSpecializationDecl(ASTContext & Context,TagKind TK,DeclContext * DC,SourceLocation StartLoc,SourceLocation IdLoc,TemplateParameterList * Params,ClassTemplateDecl * SpecializedTemplate,ArrayRef<TemplateArgument> Args,ClassTemplatePartialSpecializationDecl * PrevDecl) ClassTemplatePartialSpecializationDecl() argument
1150 Create(ASTContext & Context,TagKind TK,DeclContext * DC,SourceLocation StartLoc,SourceLocation IdLoc,TemplateParameterList * Params,ClassTemplateDecl * SpecializedTemplate,ArrayRef<TemplateArgument> Args,QualType CanonInjectedType,ClassTemplatePartialSpecializationDecl * PrevDecl) Create() argument
H A DDeclCXX.cpp127 CXXRecordDecl *PrevDecl) in CXXRecordDecl() argument
135 CXXRecordDecl *PrevDecl, in Create() argument
2965 NamespaceDecl(ASTContext & C,DeclContext * DC,bool Inline,SourceLocation StartLoc,SourceLocation IdLoc,IdentifierInfo * Id,NamespaceDecl * PrevDecl,bool Nested) NamespaceDecl() argument
2984 Create(ASTContext & C,DeclContext * DC,bool Inline,SourceLocation StartLoc,SourceLocation IdLoc,IdentifierInfo * Id,NamespaceDecl * PrevDecl,bool Nested) Create() argument
[all...]
H A DDecl.cpp3591 setPreviousDeclaration(FunctionDecl * PrevDecl) setPreviousDeclaration() argument
4688 TagDecl(Kind DK,TagKind TK,const ASTContext & C,DeclContext * DC,SourceLocation L,IdentifierInfo * Id,TagDecl * PrevDecl,SourceLocation StartL) TagDecl() argument
4824 EnumDecl(ASTContext & C,DeclContext * DC,SourceLocation StartLoc,SourceLocation IdLoc,IdentifierInfo * Id,EnumDecl * PrevDecl,bool Scoped,bool ScopedUsingClassTag,bool Fixed) EnumDecl() argument
4843 Create(ASTContext & C,DeclContext * DC,SourceLocation StartLoc,SourceLocation IdLoc,IdentifierInfo * Id,EnumDecl * PrevDecl,bool IsScoped,bool IsScopedUsingClassTag,bool IsFixed) Create() argument
4983 RecordDecl(Kind DK,TagKind TK,const ASTContext & C,DeclContext * DC,SourceLocation StartLoc,SourceLocation IdLoc,IdentifierInfo * Id,RecordDecl * PrevDecl) RecordDecl() argument
5005 Create(const ASTContext & C,TagKind TK,DeclContext * DC,SourceLocation StartLoc,SourceLocation IdLoc,IdentifierInfo * Id,RecordDecl * PrevDecl) Create() argument
[all...]
H A DDeclPrinter.cpp1282 FunctionDecl *PrevDecl = D->getTemplatedDecl(); VisitFunctionTemplateDecl() local
H A DDeclBase.cpp1508 Decl *PrevDecl = nullptr; BuildDeclChain() local
H A DASTImporter.cpp2935 EnumDecl *PrevDecl = nullptr; VisitEnumDecl() local
3053 RecordDecl *PrevDecl = nullptr; VisitRecordDecl() local
6160 ClassTemplateSpecializationDecl *PrevDecl = nullptr; VisitClassTemplateSpecializationDecl() local
[all...]
H A DASTContext.cpp4726 } else if (CXXRecordDecl *PrevDecl = Decl->getPreviousDecl()) { getInjectedClassNameType() local
4832 if (const RecordDecl *PrevDecl = Decl->getPreviousDecl()) getRecordType() local
4845 if (const EnumDecl *PrevDecl = Decl->getPreviousDecl()) getEnumType() local
[all...]
/llvm-project/clang/include/clang/AST/
H A DDecl.h5013 setPreviousDecl(decl_type * PrevDecl) setPreviousDecl() argument
[all...]