LLVM  14.0.0git
Namespaces | Functions
JSON.cpp File Reference
#include "llvm/Support/JSON.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/Support/ConvertUTF.h"
#include "llvm/Support/Error.h"
#include "llvm/Support/Format.h"
#include "llvm/Support/raw_ostream.h"
#include <cctype>
Include dependency graph for JSON.cpp:

Go to the source code of this file.

Namespaces

 llvm
 This is an optimization pass for GlobalISel generic memory operations.
 
 llvm::json
 

Functions

bool llvm::json::operator== (const Object &LHS, const Object &RHS)
 
bool llvm::json::operator== (const Value &, const Value &)
 
llvm::Expected< Value > llvm::json::parse (llvm::StringRef JSON)
 Parses the provided JSON source, or returns a ParseError. More...
 
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. More...
 
std::string llvm::json::fixUTF8 (llvm::StringRef S)
 Replaces invalid UTF-8 sequences in S with the replacement character (U+FFFD). More...
 
static void llvm::json::quote (llvm::raw_ostream &OS, llvm::StringRef S)