Home | History | Annotate | Download | only in Sema

Lines Matching refs:compStr

299   const char *compStr = CompName->getNameStart();
308 bool HexSwizzle = *compStr == 's' || *compStr == 'S';
317 if (!strcmp(compStr, "hi") || !strcmp(compStr, "lo") ||
318 !strcmp(compStr, "even") || !strcmp(compStr, "odd")) {
321 (Idx = vecType->getPointAccessorIdx(*compStr)) != -1) {
322 bool HasRGBA = IsRGBA(*compStr);
326 if (HasRGBA != IsRGBA(*compStr))
330 compStr++;
331 } while (*compStr && (Idx = vecType->getPointAccessorIdx(*compStr)) != -1);
333 if (HexSwizzle) compStr++;
334 while ((Idx = vecType->getNumericAccessorIdx(*compStr)) != -1) {
337 compStr++;
341 if (!HalvingSwizzle && *compStr) {
345 << StringRef(compStr, 1) << SourceRange(CompLoc);
352 compStr = CompName->getNameStart();
355 compStr++;
357 while (*compStr) {
358 if (!vecType->isAccessorWithinNumElements(*compStr++)) {