LLVM  9.0.0svn
Namespaces | Functions
JSON.cpp File Reference
#include "llvm/Support/JSON.h"
#include "llvm/Support/ConvertUTF.h"
#include "llvm/Support/Format.h"
#include <cctype>
Include dependency graph for JSON.cpp:

Go to the source code of this file.

Namespaces

 llvm
 This class represents lattice values for constants.
 
 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...
 
static std::vector< const Object::value_type * > llvm::json::sortedElements (const Object &O)
 
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)