LLVM 20.0.0git
|
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 921 of file JSON.cpp.
References E, llvm_unreachable, Options, OS, and llvm::json::OStream::value().