llvm::sys::path::has_stem

Has stem?

Synopsis

Declared in <llvm/Support/Path.h>

bool
has_stem(
    Twine const& path,
    Style style = Style::native);

Description

stem != ""

Return Value

True if the path has a stem, false otherwise.

Parameters

NameDescription
pathInput path.
styleThe style of path (e.g. Windows or POSIX). "native" style means to derive the style from the host.