Lines Matching defs:basename
149 static bool IsTrivialBasename(const llvm::StringRef &basename) {
150 // Check that the basename matches with the following regular expression
155 if (basename.starts_with('~'))
158 if (basename.size() <= idx)
161 if (!std::isalpha(basename[idx]) && basename[idx] != '_')
167 while (idx < basename.size()) {
168 if (!std::isalnum(basename[idx]) && basename[idx] != '_')
173 // We processed all characters. It is a vaild basename.
174 return idx == basename.size();
241 // The C++ basename doesn't match our regular expressions so this can't
261 m_basename = function->name.basename;
320 llvm::StringRef basename = GetBasename();
323 if (ReverseFindMatchingChars(basename, parens, arg_start, arg_end))
324 return basename.substr(0, arg_start);
326 return basename;
357 // Try to match the basename with or without template parameters.
404 identifier = full_name->basename;