Has relative path?

Synopsis

Declared in <llvm/Support/Path.h>

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

Description

relative_path != ""

Return Value

True if the path has a relative path, false otherwise.

Parameters

Name

Description

path

Input path.

style

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

Created with MrDocs