reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
75 if (Str.empty()) 76 return FileCheckErrorDiagnostic::get(SM, Str, "empty variable name"); 80 bool IsPseudo = Str[0] == '@'; 83 if (Str[0] == '$' || IsPseudo) 86 for (unsigned E = Str.size(); I != E; ++I) { 87 if (!ParsedOneChar && !isValidVarNameStart(Str[I])) 88 return FileCheckErrorDiagnostic::get(SM, Str, "invalid variable name"); 91 if (Str[I] != '_' && !isalnum(Str[I])) 91 if (Str[I] != '_' && !isalnum(Str[I])) 96 StringRef Name = Str.take_front(I); 97 Str = Str.substr(I); 97 Str = Str.substr(I);