Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/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()
/freebsd-13.1/contrib/llvm-project/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);
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaTemplateInstantiateDecl.cpp3428 auto *PrevDeclInScope = D->getPrevDeclInScope(); in VisitOMPDeclareReductionDecl() local
3429 if (PrevDeclInScope && !PrevDeclInScope->isInvalidDecl()) { in VisitOMPDeclareReductionDecl()
3430 PrevDeclInScope = cast<OMPDeclareReductionDecl>( in VisitOMPDeclareReductionDecl()
3431 SemaRef.CurrentInstantiationScope->findInstantiationOf(PrevDeclInScope) in VisitOMPDeclareReductionDecl()
3436 PrevDeclInScope); in VisitOMPDeclareReductionDecl()
3513 auto *PrevDeclInScope = D->getPrevDeclInScope(); in VisitOMPDeclareMapperDecl() local
3514 if (PrevDeclInScope && !PrevDeclInScope->isInvalidDecl()) { in VisitOMPDeclareMapperDecl()
3515 PrevDeclInScope = cast<OMPDeclareMapperDecl>( in VisitOMPDeclareMapperDecl()
3516 SemaRef.CurrentInstantiationScope->findInstantiationOf(PrevDeclInScope) in VisitOMPDeclareMapperDecl()
3568 VN, D->getAccess(), MapperVarRef.get(), Clauses, PrevDeclInScope); in VisitOMPDeclareMapperDecl()
H A DSemaOpenMP.cpp19684 AccessSpecifier AS, Decl *PrevDeclInScope) { in ActOnOpenMPDeclareReductionDirectiveStart() argument
19729 } else if (PrevDeclInScope != nullptr) { in ActOnOpenMPDeclareReductionDirectiveStart()
19731 cast<OMPDeclareReductionDecl>(PrevDeclInScope); in ActOnOpenMPDeclareReductionDirectiveStart()
19939 Expr *MapperVarRef, ArrayRef<OMPClause *> Clauses, Decl *PrevDeclInScope) { in ActOnOpenMPDeclareMapperDirective() argument
19981 } else if (PrevDeclInScope) { in ActOnOpenMPDeclareMapperDirective()
19983 cast<OMPDeclareMapperDecl>(PrevDeclInScope); in ActOnOpenMPDeclareMapperDirective()
/freebsd-13.1/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderDecl.cpp2725 D->PrevDeclInScope = readDeclID(); in VisitOMPDeclareReductionDecl()
2732 D->PrevDeclInScope = readDeclID(); in VisitOMPDeclareMapperDecl()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h10481 AccessSpecifier AS, Decl *PrevDeclInScope = nullptr);
10507 Decl *PrevDeclInScope = nullptr);