LLDB mainline
Static Public Member Functions | List of all members
llvm::format_provider< lldb_private::FileSpec > Struct Reference

Implementation of format_provider<T> for FileSpec. More...

#include <FileSpec.h>

Static Public Member Functions

static void format (const lldb_private::FileSpec &F, llvm::raw_ostream &Stream, StringRef Style)
 

Detailed Description

Implementation of format_provider<T> for FileSpec.

The options string of a FileSpec has the grammar:

file_spec_options :: (empty) | F | D


| style | Meaning | Example |

| | | Input | Output |

| F | Only print filename | /foo/bar | bar | | D | Only print directory | /foo/bar | /foo/ |

| (empty) | Print file and dir | | |

Any other value is considered an invalid format string.

Definition at line 459 of file FileSpec.h.

Member Function Documentation

◆ format()

static void llvm::format_provider< lldb_private::FileSpec >::format ( const lldb_private::FileSpec F,
llvm::raw_ostream &  Stream,
StringRef  Style 
)
static

The documentation for this struct was generated from the following file: