[clang-tools-extra] [clangd] Add designator hints for parenthesis aggregate initialization (PR #170642)

Nathan Ridge via cfe-commits cfe-commits at lists.llvm.org
Mon Dec 29 22:07:45 PST 2025


================
@@ -1746,6 +1732,19 @@ TEST(TypeHints, SubstTemplateParameterAliases) {
 }
 
 TEST(DesignatorHints, Basic) {
+  assertDesignatorHints(R"cpp(
----------------
HighCommander4 wrote:

Not sure what the point of this new test case is. The existing test case (which the patch renames `BasicArray`) already tests the struct case with its `struct S { int x, y, z; };`.

https://github.com/llvm/llvm-project/pull/170642


More information about the cfe-commits mailing list