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

References

tools/clang/lib/Sema/SemaOpenMP.cpp
15130   LookupResult Lookup(SemaRef, MapperId, Sema::LookupOMPMapperName);
15133     while (S && SemaRef.LookupParsedName(Lookup, S, &MapperIdScopeSpec)) {
15154   if (SemaRef.CurContext->isDependentContext() || Type->isDependentType() ||
15170         SemaRef.Context, /*NamingClass=*/nullptr,
15171         MapperIdScopeSpec.getWithLocInContext(SemaRef.Context), MapperId,
15179     SemaRef.Diag(Loc, diag::err_omp_mapper_wrong_type);
15183   if (SemaRef.getLangOpts().CPlusPlus && !MapperIdScopeSpec.isSet())
15184     argumentDependentLookup(SemaRef, MapperId, Loc, Type, Lookups);
15187           Lookups, [&SemaRef, Type](ValueDecl *D) -> ValueDecl * {
15189                 SemaRef.Context.hasSameType(D->getType(), Type))
15193     return SemaRef.BuildDeclRefExpr(VD, Type, VK_LValue, Loc);
15197           Lookups, [&SemaRef, Type, Loc](ValueDecl *D) -> ValueDecl * {
15199                 SemaRef.IsDerivedFrom(Loc, Type, D->getType()) &&
15206     if (SemaRef.IsDerivedFrom(Loc, Type, VD->getType(), Paths)) {
15207       if (!Paths.isAmbiguous(SemaRef.Context.getCanonicalType(
15209         if (SemaRef.CheckBaseClassAccess(
15212           return SemaRef.BuildDeclRefExpr(VD, Type, VK_LValue, Loc);
15219     SemaRef.Diag(Loc, diag::err_omp_invalid_mapper)