reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/lldb/source/Utility/FileSpec.cpp
  181     m_filename = rhs.m_filename;
  181     m_filename = rhs.m_filename;
  194   m_filename.Clear();
  216     m_filename.SetString(".");
  224     m_filename.SetString(filename);
  240 FileSpec::operator bool() const { return m_filename || m_directory; }
  247 bool FileSpec::operator!() const { return !m_directory && !m_filename; }
  256   return ConstString::Equals(m_filename, rhs.m_filename, case_sensitive);
  256   return ConstString::Equals(m_filename, rhs.m_filename, case_sensitive);
  282   m_filename.Clear();
  311   return ConstString::Compare(a.m_filename, b.m_filename, case_sensitive);
  311   return ConstString::Compare(a.m_filename, b.m_filename, case_sensitive);
  318   const bool filenames_equal = ConstString::Equals(a.m_filename,
  319                                                    b.m_filename,
  350     if (!m_filename && !path.empty() && path.back() != path_separator)
  364 ConstString &FileSpec::GetFilename() { return m_filename; }
  367 ConstString FileSpec::GetFilename() const { return m_filename; }
  398   if (m_directory && m_filename && m_directory.GetStringRef().back() != '/' &&
  399       m_filename.GetStringRef().back() != '/')
  401   path.append(m_filename.GetStringRef().begin(),
  402               m_filename.GetStringRef().end());
  409       llvm::sys::path::extension(m_filename.GetStringRef(), m_style));
  413   return ConstString(llvm::sys::path::stem(m_filename.GetStringRef(), m_style));
  419   return m_filename.MemorySize() + m_directory.MemorySize();