ΒΆllvm::StringRef stem(
llvm::StringRef path,
llvm::sys::path::Style style = Style::native)
llvm::StringRef stem(
llvm::StringRef path,
llvm::sys::path::Style style = Style::native)
Description
Get stem. If filename contains a dot but not solely one or two dots, result is the substring of filename ending at (but not including) the last dot. Otherwise it is filename.
Declared at: llvm/include/llvm/Support/Path.h:334
Parameters
- llvm::StringRef path
- Input path.
- llvm::sys::path::Style style = Style::native