Home | History | Annotate | Download | only in Sema

Lines Matching defs:compStr

302   const char *compStr = CompName->getNameStart();
311 bool HexSwizzle = (*compStr == 's' || *compStr == 'S') && compStr[1];
320 if (!strcmp(compStr, "hi") || !strcmp(compStr, "lo") ||
321 !strcmp(compStr, "even") || !strcmp(compStr, "odd")) {
324 (Idx = vecType->getPointAccessorIdx(*compStr)) != -1) {
325 bool HasRGBA = IsRGBA(*compStr);
327 if (HasRGBA != IsRGBA(*compStr))
331 compStr++;
332 } while (*compStr && (Idx = vecType->getPointAccessorIdx(*compStr)) != -1);
334 if (HexSwizzle) compStr++;
335 while ((Idx = vecType->getNumericAccessorIdx(*compStr)) != -1) {
338 compStr++;
342 if (!HalvingSwizzle && *compStr) {
346 << StringRef(compStr, 1) << SourceRange(CompLoc);
353 compStr = CompName->getNameStart();
356 compStr++;
358 while (*compStr) {
359 if (!vecType->isAccessorWithinNumElements(*compStr++)) {