Searched refs:SuffixPos (Results 1 – 3 of 3) sorted by relevance
208 size_t SuffixPos; in getTargetAndModeFromProgramName() local209 const DriverSuffix *DS = parseDriverSuffix(ProgName, SuffixPos); in getTargetAndModeFromProgramName()212 size_t SuffixEnd = SuffixPos + strlen(DS->Suffix); in getTargetAndModeFromProgramName()214 size_t LastComponent = ProgName.rfind('-', SuffixPos); in getTargetAndModeFromProgramName()
632 size_t SuffixPos = S.rfind(SuffixStart); in dropUniqueSuffix() local633 if (SuffixPos == 0) in dropUniqueSuffix()636 if (SuffixPos == StringRef::npos || S[SuffixPos - 1] != ' ') in dropUniqueSuffix()638 return S.substr(0, SuffixPos - 1); in dropUniqueSuffix()
397 size_t SuffixPos = S.rfind(" ["); in dropUniqueSuffix() local398 if (SuffixPos == StringRef::npos) in dropUniqueSuffix()400 return S.substr(0, SuffixPos); in dropUniqueSuffix()