This allows for automatically inserting expected checks for parser and verifier
diagnostics, which simplifies the workflow when building new dialect
constructs or extending existing ones.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
mlir/lib/Tools/lsp-server-support/Protocol.h | ||
---|---|---|
1117 | These classes generally map directly to how the LSP spec specifies the data, so I write them how they are described there. Outside of that though, this vector is generally so small (generally 1-3 elements), that using vector is going to be more optimal than map anyways. | |
mlir/lib/Tools/mlir-lsp-server/MLIRServer.cpp | ||
841 | raw_string_ostream is unbuffered and should always write directly to the string, e.g. .str() just returns the string directly. |
Map too heavy to create/not useful?