llvm::sys::fs::is_regular_file

Return whether Path is a regular file, ignoring errors as false.

Synopsis

Declared in <llvm/Support/FileSystem.h>

bool
is_regular_file(Twine const& Path);

Return Value

True if the path is a regular file, false otherwise.

Parameters

NameDescription
PathInput path.