LLVM
8.0.1
|
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) |
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.
|
static |
Definition at line 667 of file JSON.cpp.
References E, llvm::StringRef::empty(), llvm::StringRef::getAsInteger(), llvm::raw_ostream::indent(), Indent, llvm_unreachable, Newline, Outdent, and Space.