llvm::logicalview::flattenedFilePath

Convert Path into a flattened, filesystem-safe lowercase name.

Synopsis

Declared in <llvm/DebugInfo/LogicalView/Core/LVSupport.h>

std::string
flattenedFilePath(StringRef Path);

Description

Replaces '/', '', '<', '>', '.', ':', '%', '*', '?', '|', '"', and spaces with '_'.

Return Value

Flattened pathname string.

Parameters

NameDescription
PathPathname to flatten.