Home
last modified time | relevance | path

Searched refs:PrevDeclInScope (Results 1 – 6 of 6) sorted by relevance

/llvm-project-15.0.7/clang/lib/AST/
H A DDeclOpenMP.cpp104 QualType Ty, OMPDeclareReductionDecl *PrevDeclInScope) in OMPDeclareReductionDecl() argument
106 PrevDeclInScope(PrevDeclInScope) { in OMPDeclareReductionDecl()
114 QualType T, OMPDeclareReductionDecl *PrevDeclInScope) { in Create() argument
116 T, PrevDeclInScope); in Create()
128 PrevDeclInScope.get(getASTContext().getExternalSource())); in getPrevDeclInScope()
133 PrevDeclInScope.get(getASTContext().getExternalSource())); in getPrevDeclInScope()
145 OMPDeclareMapperDecl *PrevDeclInScope) { in Create() argument
147 C, DC, Clauses, 1, L, Name, T, VarName, PrevDeclInScope); in Create()
160 PrevDeclInScope.get(getASTContext().getExternalSource())); in getPrevDeclInScope()
165 PrevDeclInScope.get(getASTContext().getExternalSource())); in getPrevDeclInScope()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DDeclOpenMP.h199 LazyDeclPtr PrevDeclInScope; variable
205 OMPDeclareReductionDecl *PrevDeclInScope);
208 PrevDeclInScope = Prev; in setPrevDeclInScope()
215 QualType T, OMPDeclareReductionDecl *PrevDeclInScope);
298 LazyDeclPtr PrevDeclInScope; variable
304 OMPDeclareMapperDecl *PrevDeclInScope) in OMPDeclareMapperDecl() argument
307 PrevDeclInScope(PrevDeclInScope) {} in OMPDeclareMapperDecl()
310 PrevDeclInScope = Prev; in setPrevDeclInScope()
319 OMPDeclareMapperDecl *PrevDeclInScope);
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaTemplateInstantiateDecl.cpp3490 auto *PrevDeclInScope = D->getPrevDeclInScope(); in VisitOMPDeclareReductionDecl() local
3491 if (PrevDeclInScope && !PrevDeclInScope->isInvalidDecl()) { in VisitOMPDeclareReductionDecl()
3492 PrevDeclInScope = cast<OMPDeclareReductionDecl>( in VisitOMPDeclareReductionDecl()
3493 SemaRef.CurrentInstantiationScope->findInstantiationOf(PrevDeclInScope) in VisitOMPDeclareReductionDecl()
3498 PrevDeclInScope); in VisitOMPDeclareReductionDecl()
3575 auto *PrevDeclInScope = D->getPrevDeclInScope(); in VisitOMPDeclareMapperDecl() local
3576 if (PrevDeclInScope && !PrevDeclInScope->isInvalidDecl()) { in VisitOMPDeclareMapperDecl()
3577 PrevDeclInScope = cast<OMPDeclareMapperDecl>( in VisitOMPDeclareMapperDecl()
3578 SemaRef.CurrentInstantiationScope->findInstantiationOf(PrevDeclInScope) in VisitOMPDeclareMapperDecl()
3630 VN, D->getAccess(), MapperVarRef.get(), Clauses, PrevDeclInScope); in VisitOMPDeclareMapperDecl()
H A DSemaOpenMP.cpp21793 AccessSpecifier AS, Decl *PrevDeclInScope) { in ActOnOpenMPDeclareReductionDirectiveStart() argument
21838 } else if (PrevDeclInScope != nullptr) { in ActOnOpenMPDeclareReductionDirectiveStart()
21840 cast<OMPDeclareReductionDecl>(PrevDeclInScope); in ActOnOpenMPDeclareReductionDirectiveStart()
22048 Expr *MapperVarRef, ArrayRef<OMPClause *> Clauses, Decl *PrevDeclInScope) { in ActOnOpenMPDeclareMapperDirective() argument
22090 } else if (PrevDeclInScope) { in ActOnOpenMPDeclareMapperDirective()
22092 cast<OMPDeclareMapperDecl>(PrevDeclInScope); in ActOnOpenMPDeclareMapperDirective()
/llvm-project-15.0.7/clang/lib/Serialization/
H A DASTReaderDecl.cpp2833 D->PrevDeclInScope = readDeclID(); in VisitOMPDeclareReductionDecl()
2840 D->PrevDeclInScope = readDeclID(); in VisitOMPDeclareMapperDecl()
/llvm-project-15.0.7/clang/include/clang/Sema/
H A DSema.h10867 AccessSpecifier AS, Decl *PrevDeclInScope = nullptr);
10893 Decl *PrevDeclInScope = nullptr);