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

References

tools/clang/lib/Sema/SemaOpenMP.cpp
12810     LookupResult Lookup(SemaRef, ReductionId, Sema::LookupOMPReductionName);
12812     while (S && SemaRef.LookupParsedName(Lookup, S, &ReductionIdScopeSpec)) {
12835   if (SemaRef.CurContext->isDependentContext() || Ty->isDependentType() ||
12853         SemaRef.Context, /*NamingClass=*/nullptr,
12854         ReductionIdScopeSpec.getWithLocInContext(SemaRef.Context), ReductionId,
12870   LookupResult Lookup(SemaRef, ReductionId, Sema::LookupOMPReductionName);
12875     if (SemaRef.isCompleteType(Loc, Ty) || TyRec->isBeingDefined() ||
12878       SemaRef.LookupQualifiedName(Lookup, TyRec->getDecl());
12886   if (SemaRef.getLangOpts().CPlusPlus)
12887     argumentDependentLookup(SemaRef, ReductionId, Loc, Ty, Lookups);
12889           Lookups, [&SemaRef, Ty](ValueDecl *D) -> ValueDecl * {
12891                 SemaRef.Context.hasSameType(D->getType(), Ty))
12895     return SemaRef.BuildDeclRefExpr(VD, VD->getType().getNonReferenceType(),
12897   if (SemaRef.getLangOpts().CPlusPlus) {
12899             Lookups, [&SemaRef, Ty, Loc](ValueDecl *D) -> ValueDecl * {
12901                   SemaRef.IsDerivedFrom(Loc, Ty, D->getType()) &&
12908       if (SemaRef.IsDerivedFrom(Loc, Ty, VD->getType(), Paths)) {
12909         if (!Paths.isAmbiguous(SemaRef.Context.getCanonicalType(
12911           if (SemaRef.CheckBaseClassAccess(
12914             SemaRef.BuildBasePathArray(Paths, BasePath);
12915             return SemaRef.BuildDeclRefExpr(
12923     SemaRef.Diag(Loc, diag::err_omp_not_resolved_reduction_identifier) << Range;