Home
last modified time | relevance | path

Searched refs:compStr (Results 1 – 1 of 1) sorted by relevance

/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaExprMember.cpp308 const char *compStr = CompName->getNameStart(); in CheckExtVectorComponent() local
317 bool HexSwizzle = (*compStr == 's' || *compStr == 'S') && compStr[1]; in CheckExtVectorComponent()
326 if (!strcmp(compStr, "hi") || !strcmp(compStr, "lo") || in CheckExtVectorComponent()
327 !strcmp(compStr, "even") || !strcmp(compStr, "odd")) { in CheckExtVectorComponent()
330 (Idx = vecType->getPointAccessorIdx(*compStr)) != -1) { in CheckExtVectorComponent()
331 bool HasRGBA = IsRGBA(*compStr); in CheckExtVectorComponent()
334 if (HasRGBA != IsRGBA(*compStr)) in CheckExtVectorComponent()
338 compStr++; in CheckExtVectorComponent()
339 } while (*compStr && (Idx = vecType->getPointAccessorIdx(*compStr)) != -1); in CheckExtVectorComponent()
342 if (HasRGBA || (*compStr && IsRGBA(*compStr))) { in CheckExtVectorComponent()
[all …]