[clang-tools-extra] [clangd] Add inlay hints for default function arguments and implicit lambda captures (PR #95712)
Younan Zhang via cfe-commits
cfe-commits at lists.llvm.org
Sun Jun 16 22:37:39 PDT 2024
================
@@ -1458,13 +1463,66 @@ TEST(TypeHints, DefaultTemplateArgs) {
struct A {};
A<float> foo();
auto $var[[var]] = foo();
- A<float> bar[1];
+ A<float> baz;
+ A<float> bar[1]{};
----------------
zyn0217 wrote:
Why there's an empty initializer? Can you revert it?
https://github.com/llvm/llvm-project/pull/95712
More information about the cfe-commits
mailing list