reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/Sema/SemaOpenMP.cpp
13182     if (!D)
13200       Type = Context.getBaseElementType(D->getType().getNonReferenceType());
13202     auto *VD = dyn_cast<VarDecl>(D);
13207     if (S.RequireCompleteType(ELoc, D->getType(),
13213     if (rejectConstNotMutableType(S, D, Type, ClauseKind, ELoc,
13246       DSAStackTy::DSAVarData DVar = Stack->getTopDSA(D, /*FromParent=*/false);
13258         reportOriginalDsa(S, Stack, D, DVar);
13269         DVar = Stack->getImplicitDSA(D, true);
13274           reportOriginalDsa(S, Stack, D, DVar);
13319           S.Diag(D->getLocation(),
13321               << D;
13332           S.Diag(D->getLocation(),
13334               << D;
13342                                   D->hasAttrs() ? &D->getAttrs() : nullptr);
13342                                   D->hasAttrs() ? &D->getAttrs() : nullptr);
13343     VarDecl *RHSVD = buildVarDecl(S, ELoc, Type, D->getName(),
13344                                   D->hasAttrs() ? &D->getAttrs() : nullptr);
13344                                   D->hasAttrs() ? &D->getAttrs() : nullptr);
13367          D->getType().getNonReferenceType()->isVariablyModifiedType())) {
13388                Context.getAsArrayType(D->getType().getNonReferenceType())) {
13389       PrivateTy = D->getType().getNonReferenceType();
13393         buildVarDecl(S, ELoc, PrivateTy, D->getName(),
13394                      D->hasAttrs() ? &D->getAttrs() : nullptr,
13394                      D->hasAttrs() ? &D->getAttrs() : nullptr,
13522       S.Diag(D->getLocation(),
13524           << D;
13594           Stack->getTopMostTaskgroupReductionData(D, ParentSR, ParentBOK,
13598               D, ParentSR, ParentReductionOp, ParentReductionOpTD);
13637         TransformExprToCaptures RebuildToCapture(S, D);
13642         VarsExpr = Ref = buildCapture(S, D, SimpleRefExpr, /*WithInit=*/false);
13644       if (!S.isOpenMPCapturedDecl(D)) {
13669     Stack->addDSA(D, RefExpr->IgnoreParens(), OMPC_reduction, Ref);
13672         Stack->addTaskgroupReductionData(D, ReductionIdRange,
13675         Stack->addTaskgroupReductionData(D, ReductionIdRange, BOK);