[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
================
@@ -1822,6 +1821,63 @@ TEST(DesignatorHints, NoCrash) {
ExpectedHint{".b=", "b"});
}
+TEST(DesignatorHints, BasicParenInit) {
----------------
HighCommander4 wrote:
nit: I would drop `Basic` from the names of all new tests added in this patch. `DesignatorHints.ParenInit`, `DesignatorHints.ParenInitDerived` etc. seem descriptive enough, and there aren't any tests that are "not basic" to contrast with "basic".
https://github.com/llvm/llvm-project/pull/170642
More information about the cfe-commits
mailing list