[clang-tools-extra] [clangd] Add Config.Hover.MacroExpansionLimit (PR #155105)

2025-08-27 Thread Jaagup Averin via cfe-commits
https://github.com/JaagupAverin edited https://github.com/llvm/llvm-project/pull/155105 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [clangd] Add Config.Hover.MacroExpansionLimit (PR #155105)

2025-08-27 Thread Jaagup Averin via cfe-commits
https://github.com/JaagupAverin edited https://github.com/llvm/llvm-project/pull/155105 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [clangd] Add option: --limit-hover-contents (PR #155105)

2025-08-27 Thread Jaagup Averin via cfe-commits
JaagupAverin wrote: Hey. Thanks for the response and patience. Both valid points. I looked at the config options last week and then forgot about them when I got to making the PR and only had CLI options in my mind. Force pushed a better implementation. https://github.com/llvm/llvm-project/pull/

[clang-tools-extra] [clangd] Add option: --limit-hover-contents (PR #155105)

2025-08-27 Thread Jaagup Averin via cfe-commits
https://github.com/JaagupAverin updated https://github.com/llvm/llvm-project/pull/155105 >From b3c11b056943e4984bf5ea6752a30e6694d5e69d Mon Sep 17 00:00:00 2001 From: JaagupA Date: Wed, 27 Aug 2025 19:07:13 +0300 Subject: [PATCH] [clangd] Add Config.Hover.MacroContentsLimit. This option allows

[clang-tools-extra] [clangd] Add option: --limit-hover-contents (PR #155105)

2025-08-23 Thread Jaagup Averin via cfe-commits
https://github.com/JaagupAverin edited https://github.com/llvm/llvm-project/pull/155105 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [clangd] Add option: limit-hover-contents (PR #155105)

2025-08-23 Thread Jaagup Averin via cfe-commits
https://github.com/JaagupAverin created https://github.com/llvm/llvm-project/pull/155105 Currently macro expansions are hard capped at 2048. This PR adds the CLI option `--limit-hover-contents` which is passed down in place of the hard coded value. Resolves #153355. >From 82c5665913eca5c63c952