[clang-tools-extra] [clangd] Add inlay hints for default function arguments and implicit lambda captures (PR #95712)
Nathan Ridge via cfe-commits
cfe-commits at lists.llvm.org
Mon Sep 2 22:06:38 PDT 2024
================
@@ -1681,6 +1681,21 @@ enum class InlayHintKind {
/// This is a clangd extension.
BlockEnd = 4,
+ /// An inlay hint that is for a variable captured implicitly in a lambda.
+ ///
+ /// An example of parameter hint for implicit lambda captures:
+ /// [&^] { return A; };
+ /// Adds an inlay hint ": A".
----------------
HighCommander4 wrote:
nit: please mention `/// This is a clangd extension.` for any new hint kinds
https://github.com/llvm/llvm-project/pull/95712
More information about the cfe-commits
mailing list