MLIR 22.0.0git
Protocol.cpp File Reference
#include "Protocol.h"
#include "mlir/Support/LLVM.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/JSON.h"

Go to the source code of this file.

Functions

template<typename T>
static bool mapOptOrNull (const llvm::json::Value &params, llvm::StringLiteral prop, T &out, llvm::json::Path path)

Function Documentation

◆ mapOptOrNull()

template<typename T>
bool mapOptOrNull ( const llvm::json::Value & params,
llvm::StringLiteral prop,
T & out,
llvm::json::Path path )
static

Definition at line 23 of file Protocol.cpp.

References mlir::lsp::fromJSON().