[Lldb-commits] [lldb] [lldb] Fix ambiguous ProtocolDescriptor in the MCP unit tests under C++20 (PR #237270)

David Young via lldb-commits lldb-commits at lists.llvm.org
Sat Oct 31 11:36:59 PDT 2026


youngd007 wrote:

> Usually I don't wanna nitpick compilation fixes, but could we use an alias in the test? 3 lines declarations even after `auto` is a bit hard on the eyes.
> 
> Aside from that LGTM. Thanks!

Now have
using MCPTestTransport = TestTransport<lldb_protocol::mcp::ProtocolDescriptor>;
that is used as the type in the tests so the fully qualified one is done once.  What you had in mind or something else?


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


More information about the lldb-commits mailing list