Searched refs:accessSoFar (Results 1 – 2 of 2) sorted by relevance
/external/clang/lib/Sema/ |
D | SemaAccess.cpp | 1160 AccessSpecifier accessSoFar = AS_public; in DiagnoseAccessPath() local 1165 accessSoFar = D->getAccess(); in DiagnoseAccessPath() 1168 switch (HasAccess(S, EC, declaringClass, accessSoFar, entity)) { in DiagnoseAccessPath() 1172 accessSoFar = AS_public; in DiagnoseAccessPath() 1177 if (accessSoFar == AS_private || in DiagnoseAccessPath() 1188 CXXBasePath &path = *FindBestPath(S, EC, entity, accessSoFar, paths); in DiagnoseAccessPath() 1196 assert(accessSoFar != AS_none && accessSoFar != AS_private); in DiagnoseAccessPath() 1206 if (baseAccess > accessSoFar) { in DiagnoseAccessPath() 1208 accessSoFar = baseAccess; in DiagnoseAccessPath() 1211 switch (HasAccess(S, EC, derivingClass, accessSoFar, entity)) { in DiagnoseAccessPath() [all …]
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaAccess.cpp | 1159 AccessSpecifier accessSoFar = AS_public; in DiagnoseAccessPath() local 1164 accessSoFar = D->getAccess(); in DiagnoseAccessPath() 1167 switch (HasAccess(S, EC, declaringClass, accessSoFar, entity)) { in DiagnoseAccessPath() 1171 accessSoFar = AS_public; in DiagnoseAccessPath() 1176 if (accessSoFar == AS_private || in DiagnoseAccessPath() 1187 CXXBasePath &path = *FindBestPath(S, EC, entity, accessSoFar, paths); in DiagnoseAccessPath() 1195 assert(accessSoFar != AS_none && accessSoFar != AS_private); in DiagnoseAccessPath() 1205 if (baseAccess > accessSoFar) { in DiagnoseAccessPath() 1207 accessSoFar = baseAccess; in DiagnoseAccessPath() 1210 switch (HasAccess(S, EC, derivingClass, accessSoFar, entity)) { in DiagnoseAccessPath() [all …]
|