LLVM
8.0.1
|
#include "llvm/Support/JSON.h"
#include "llvm/Support/ConvertUTF.h"
#include "llvm/Support/Format.h"
#include <cctype>
Go to the source code of this file.
Namespaces | |
llvm | |
This class represents lattice values for constants. | |
llvm::json | |
Enumerations | |
enum | IndenterAction { Indent, Outdent, Newline, Space } |
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 | quote (llvm::raw_ostream &OS, llvm::StringRef S) |
enum IndenterAction |
|
static |
Definition at line 567 of file JSON.cpp.
References C, llvm::Lower, and llvm::write_hex().