Lines Matching refs:style
45 bool PathStyleIsPosix(FileSpec::Style style) { in PathStyleIsPosix() argument
46 return llvm::sys::path::is_style_posix(style); in PathStyleIsPosix()
49 const char *GetPathSeparators(FileSpec::Style style) { in GetPathSeparators() argument
50 return llvm::sys::path::get_separator(style).data(); in GetPathSeparators()
53 char GetPreferredPathSeparator(FileSpec::Style style) { in GetPreferredPathSeparator() argument
54 return GetPathSeparators(style)[0]; in GetPreferredPathSeparator()
57 void Denormalize(llvm::SmallVectorImpl<char> &path, FileSpec::Style style) { in Denormalize() argument
58 if (PathStyleIsPosix(style)) in Denormalize()
69 FileSpec::FileSpec(llvm::StringRef path, Style style) : m_style(style) { in FileSpec() argument
70 SetFile(path, style); in FileSpec()
172 void FileSpec::SetFile(llvm::StringRef pathname, Style style) { in SetFile() argument
176 m_style = (style == Style::native) ? GetNativeStyle() : style; in SetFile()
551 FileSpecStyle style = f.m_style; in mapping() local
552 io.mapRequired("style", style); in mapping()
553 f.m_style = style; in mapping()