LLVM 20.0.0git
|
#include "llvm/Support/JSON.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/Support/ConvertUTF.h"
#include "llvm/Support/Error.h"
#include "llvm/Support/Format.h"
#include "llvm/Support/NativeFormatting.h"
#include "llvm/Support/raw_ostream.h"
#include <cctype>
#include <cerrno>
#include <optional>
Go to the source code of this file.
Namespaces | |
namespace | llvm |
This is an optimization pass for GlobalISel generic memory operations. | |
namespace | llvm::json |
Functions | |
bool | llvm::json::operator== (const Object &LHS, const Object &RHS) |
bool | llvm::json::operator== (const Value &, const Value &) |
std::vector< const Object::value_type * > | llvm::json::sortedElements (const Object &O) |
static void | llvm::json::abbreviate (const Value &V, OStream &JOS) |
static void | llvm::json::abbreviateChildren (const Value &V, OStream &JOS) |
static void | llvm::json::encodeUtf8 (uint32_t Rune, std::string &Out) |
llvm::Expected< Value > | llvm::json::parse (llvm::StringRef JSON) |
Parses the provided JSON source, or returns a ParseError. | |
bool | llvm::json::isUTF8 (llvm::StringRef S, size_t *ErrOffset=nullptr) |
Returns true if S is valid UTF-8, which is required for use as JSON. | |
std::string | llvm::json::fixUTF8 (llvm::StringRef S) |
Replaces invalid UTF-8 sequences in S with the replacement character (U+FFFD). | |
static void | llvm::json::quote (llvm::raw_ostream &OS, llvm::StringRef S) |