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

References

tools/clang/lib/Sema/SemaOpenMP.cpp
 5354   ValueDecl *getLoopDecl() const { return LCDecl; }
 5424   if (!LCDecl) {
 5428   return LCDecl->getType()->isDependentType() ||
 5437   assert(LCDecl == nullptr && LB == nullptr && LCRef == nullptr &&
 5441   LCDecl = getCanonicalDecl(NewLCDecl);
 5460   assert(LCDecl != nullptr && LB != nullptr && UB == nullptr &&
 5476   assert(LCDecl != nullptr && LB != nullptr && Step == nullptr);
 5517           << LCDecl << TestIsLessOp.getValue() << NewStep->getSourceRange();
 5631   LoopCounterRefChecker LoopStmtChecker(SemaRef, Stack, LCDecl, IsInitializer,
 5757         << (IneqCondIsCanonical ? 1 : 0) << LCDecl;
 5765       if (getInitLCDecl(BO->getLHS()) == LCDecl)
 5770       if (getInitLCDecl(BO->getRHS()) == LCDecl)
 5777           getInitLCDecl(BO->getLHS()) == LCDecl ? BO->getRHS() : BO->getLHS(),
 5788         if (getInitLCDecl(CE->getArg(0)) == LCDecl)
 5792         if (getInitLCDecl(CE->getArg(1)) == LCDecl)
 5799           return setUB(getInitLCDecl(CE->getArg(0)) == LCDecl ? CE->getArg(1)
 5813       << (IneqCondIsCanonical ? 1 : 0) << S->getSourceRange() << LCDecl;
 5827       if (getInitLCDecl(BO->getLHS()) == LCDecl)
 5829       if (IsAdd && getInitLCDecl(BO->getRHS()) == LCDecl)
 5835       if (getInitLCDecl(CE->getArg(0)) == LCDecl)
 5837       if (IsAdd && getInitLCDecl(CE->getArg(1)) == LCDecl)
 5844       << RHS->getSourceRange() << LCDecl;
 5863     SemaRef.Diag(DefaultLoc, diag::err_omp_loop_not_canonical_incr) << LCDecl;
 5874         getInitLCDecl(UO->getSubExpr()) == LCDecl)
 5884       if (getInitLCDecl(BO->getLHS()) == LCDecl)
 5888       if (getInitLCDecl(BO->getLHS()) == LCDecl)
 5898       if (getInitLCDecl(CE->getArg(0)) == LCDecl)
 5908       if (getInitLCDecl(CE->getArg(0)) == LCDecl)
 5912       if (getInitLCDecl(CE->getArg(0)) == LCDecl)
 5922       << S->getSourceRange() << LCDecl;
 5949   QualType VarType = LCDecl->getType().getNonReferenceType();
 6207   if (LCDecl->getType()->isRecordType())
 6233   QualType VarType = LCDecl->getType().getNonReferenceType();
 6367   auto *VD = dyn_cast<VarDecl>(LCDecl);
 6369     VD = SemaRef.isOpenMPCapturedDecl(LCDecl);
 6373         DSA.getTopDSA(LCDecl, /*FromParent=*/false);
 6384   if (LCDecl && !LCDecl->isInvalidDecl()) {
 6384   if (LCDecl && !LCDecl->isInvalidDecl()) {
 6385     QualType Type = LCDecl->getType().getNonReferenceType();
 6387         SemaRef, DefaultLoc, Type, LCDecl->getName(),
 6388         LCDecl->hasAttrs() ? &LCDecl->getAttrs() : nullptr,
 6388         LCDecl->hasAttrs() ? &LCDecl->getAttrs() : nullptr,
 6389         isa<VarDecl>(LCDecl)
 6390             ? buildDeclRefExpr(SemaRef, cast<VarDecl>(LCDecl), Type, DefaultLoc)
 6421   QualType VarType = LCDecl->getType().getNonReferenceType();