LLVM  11.0.0git
Static Public Member Functions | List of all members
llvm::format_provider< llvm::json::Value > Struct Template Reference

Allow printing json::Value with formatv(). More...

#include "llvm/Support/JSON.h"

Static Public Member Functions

static void format (const llvm::json::Value &, raw_ostream &, StringRef)

Detailed Description

struct llvm::format_provider< llvm::json::Value >

Allow printing json::Value with formatv().

The default style is basic/compact formatting, like operator<<. A format string like formatv("{0:2}", Value) pretty-prints with indent 2.

Definition at line 858 of file JSON.h.

Member Function Documentation

◆ format()

void llvm::format_provider< llvm::json::Value >::format ( const llvm::json::Value E,
raw_ostream OS,
StringRef  Options 

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