17 llvm::StringRef usage_kind =
19 s << usage_kind <<
" Usages:";
20 const std::vector<llvm::StringRef> &usages =
25 else if (usages.size() == 1)
26 s <<
" " << usages.front() <<
'\n';
29 for (llvm::StringRef usage : usages) {
const std::vector< llvm::StringRef > & GetCommandInterpreterUsages() const
const std::vector< llvm::StringRef > & GetSBAPIUsages() const
void Dump(Stream &s, UsageKind kind) const
A stream class that can stream formatted output to a file.
size_t Indent(llvm::StringRef s="")
Indent the current line in the stream.
void IndentLess(unsigned amount=2)
Decrement the current indentation level.
void IndentMore(unsigned amount=2)
Increment the current indentation level.
A class that represents a running process on the host machine.