[clang-tools-extra] [clangd] Improve `BlockEnd` inlayhint presentation (PR #136106)

Nathan Ridge via cfe-commits cfe-commits at lists.llvm.org
Sun Apr 20 23:04:45 PDT 2025


================
@@ -36,9 +36,12 @@ namespace {
 using ::testing::ElementsAre;
 using ::testing::IsEmpty;
 
-std::vector<InlayHint> hintsOfKind(ParsedAST &AST, InlayHintKind Kind) {
+constexpr InlayHintOptions DefaultInlayHintOpts{};
----------------
HighCommander4 wrote:

nit: let's call this `DefaultInlayHintOptsForTests` (or just `DefaultOptsForTests`)

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


More information about the cfe-commits mailing list