[clang-tools-extra] [clangd][HLSL] Add hover support for vector swizzle and matrix element access (PR #212741)
Maria Fernanda GuimarĂ£es via cfe-commits
cfe-commits at lists.llvm.org
Fri Jul 31 18:01:49 PDT 2026
================
@@ -951,6 +951,22 @@ llvm::StringLiteral getNameForExpr(const Expr *E) {
void maybeAddCalleeArgInfo(const SelectionTree::Node *N, HoverInfo &HI,
const PrintingPolicy &PP);
+static std::optional<HoverInfo>
+getHLSLHoverContents(const Expr *E, ParsedAST &AST, const PrintingPolicy &PP) {
----------------
mafeguimaraes wrote:
Done, renamed to `getHoverContents` in the latest push.
https://github.com/llvm/llvm-project/pull/212741
More information about the cfe-commits
mailing list