Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/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);
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaTemplateInstantiateDecl.cpp3557 auto *PrevDeclInScope = D->getPrevDeclInScope(); in VisitOMPDeclareReductionDecl() local
3558 if (PrevDeclInScope && !PrevDeclInScope->isInvalidDecl()) { in VisitOMPDeclareReductionDecl()
3559 PrevDeclInScope = cast<OMPDeclareReductionDecl>( in VisitOMPDeclareReductionDecl()
3560 SemaRef.CurrentInstantiationScope->findInstantiationOf(PrevDeclInScope) in VisitOMPDeclareReductionDecl()
3565 PrevDeclInScope); in VisitOMPDeclareReductionDecl()
3642 auto *PrevDeclInScope = D->getPrevDeclInScope(); in VisitOMPDeclareMapperDecl() local
3643 if (PrevDeclInScope && !PrevDeclInScope->isInvalidDecl()) { in VisitOMPDeclareMapperDecl()
3644 PrevDeclInScope = cast<OMPDeclareMapperDecl>( in VisitOMPDeclareMapperDecl()
3645 SemaRef.CurrentInstantiationScope->findInstantiationOf(PrevDeclInScope) in VisitOMPDeclareMapperDecl()
3698 VN, D->getAccess(), MapperVarRef.get(), Clauses, PrevDeclInScope); in VisitOMPDeclareMapperDecl()
H A DSemaOpenMP.cpp22084 AccessSpecifier AS, Decl *PrevDeclInScope) { in ActOnOpenMPDeclareReductionDirectiveStart() argument
22129 } else if (PrevDeclInScope != nullptr) { in ActOnOpenMPDeclareReductionDirectiveStart()
22131 cast<OMPDeclareReductionDecl>(PrevDeclInScope); in ActOnOpenMPDeclareReductionDirectiveStart()
22339 Expr *MapperVarRef, ArrayRef<OMPClause *> Clauses, Decl *PrevDeclInScope) { in ActOnOpenMPDeclareMapperDirective() argument
22381 } else if (PrevDeclInScope) { in ActOnOpenMPDeclareMapperDirective()
22383 cast<OMPDeclareMapperDecl>(PrevDeclInScope); in ActOnOpenMPDeclareMapperDirective()
/openbsd-src/gnu/llvm/clang/lib/Serialization/
H A DASTReaderDecl.cpp2925 D->PrevDeclInScope = readDeclID(); in VisitOMPDeclareReductionDecl()
2932 D->PrevDeclInScope = readDeclID(); in VisitOMPDeclareMapperDecl()
/openbsd-src/gnu/llvm/clang/include/clang/Sema/
H A DSema.h11197 AccessSpecifier AS, Decl *PrevDeclInScope = nullptr);
11223 Decl *PrevDeclInScope = nullptr);