Home
last modified time | relevance | path

Searched refs:InlayHint (Results 1 – 14 of 14) sorted by relevance

/llvm-project-15.0.7/mlir/lib/Tools/mlir-pdll-lsp-server/
H A DPDLLServer.h27 struct InlayHint;
102 std::vector<InlayHint> &inlayHints);
H A DLSPServer.cpp89 Callback<std::vector<InlayHint>> reply);
262 Callback<std::vector<InlayHint>> reply) { in onInlayHint()
263 std::vector<InlayHint> hints; in onInlayHint()
H A DPDLLServer.cpp374 std::vector<lsp::InlayHint> &inlayHints);
377 std::vector<lsp::InlayHint> &inlayHints);
379 std::vector<lsp::InlayHint> &inlayHints);
382 std::vector<lsp::InlayHint> &inlayHints);
385 void addParameterHintFor(std::vector<lsp::InlayHint> &inlayHints,
1220 std::vector<lsp::InlayHint> &inlayHints) { in getInlayHints()
1259 lsp::InlayHint hint(lsp::InlayHintKind::Type, in getInlayHintsFor()
1339 lsp::InlayHint hint(lsp::InlayHintKind::Parameter, in addParameterHintFor()
1449 std::vector<lsp::InlayHint> &inlayHints);
1622 std::vector<lsp::InlayHint> &inlayHints) { in getInlayHints()
[all …]
/llvm-project-15.0.7/mlir/lib/Tools/lsp-server-support/
H A DProtocol.h1063 struct InlayHint { struct
1064 InlayHint(InlayHintKind kind, Position pos) : position(pos), kind(kind) {} in InlayHint() argument
1095 llvm::json::Value toJSON(const InlayHint &); argument
1096 bool operator==(const InlayHint &lhs, const InlayHint &rhs);
1097 bool operator<(const InlayHint &lhs, const InlayHint &rhs);
H A DProtocol.cpp904 llvm::json::Value mlir::lsp::toJSON(const InlayHint &value) { in toJSON()
911 bool mlir::lsp::operator==(const InlayHint &lhs, const InlayHint &rhs) { in operator ==()
915 bool mlir::lsp::operator<(const InlayHint &lhs, const InlayHint &rhs) { in operator <()
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DInlayHints.h27 std::vector<InlayHint> inlayHints(ParsedAST &AST,
H A DInlayHints.cpp194 InlayHintVisitor(std::vector<InlayHint> &Results, ParsedAST &AST, in InlayHintVisitor()
639 Results.push_back(InlayHint{LSPPos, (Prefix + Label + Suffix).str(), Kind, in addInlayHint()
679 std::vector<InlayHint> &Results;
701 std::vector<InlayHint> inlayHints(ParsedAST &AST, in inlayHints()
703 std::vector<InlayHint> Results; in inlayHints()
H A DProtocol.h1581 struct InlayHint { struct
1616 llvm::json::Value toJSON(const InlayHint &); argument
1617 bool operator==(const InlayHint &, const InlayHint &);
1618 bool operator<(const InlayHint &, const InlayHint &);
H A DClangdServer.h279 Callback<std::vector<InlayHint>>);
H A DClangdLSPServer.h156 void onInlayHint(const InlayHintsParams &, Callback<std::vector<InlayHint>>);
H A DProtocol.cpp1347 llvm::json::Value toJSON(const InlayHint &H) { in toJSON()
1357 bool operator==(const InlayHint &A, const InlayHint &B) { in operator ==()
1361 bool operator<(const InlayHint &A, const InlayHint &B) { in operator <()
H A DClangdLSPServer.cpp1302 llvm::Expected<std::vector<InlayHint>> Hints) mutable { in onClangdInlayHints()
1329 Callback<std::vector<InlayHint>> Reply) { in onInlayHint()
H A DClangdServer.cpp813 Callback<std::vector<InlayHint>> CB) { in inlayHints()
/llvm-project-15.0.7/clang-tools-extra/clangd/unittests/
H A DInlayHintTests.cpp25 const InlayHint &Hint) { in operator <<()
34 std::vector<InlayHint> hintsOfKind(ParsedAST &AST, InlayHintKind Kind) { in hintsOfKind()
35 std::vector<InlayHint> Result; in hintsOfKind()