From 0ee8b95902daa00c5040e179ad4684fbacc72196 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vojt=C4=9Bch=20Michal?= Date: Fri, 16 Jan 2026 03:16:50 +0100 Subject: [PATCH 1/3] Add visualizers for ranges::less and other comparison objects. --- stl/debugger/STL.natvis | 121 +++++++++------------------------------- 1 file changed, 26 insertions(+), 95 deletions(-) diff --git a/stl/debugger/STL.natvis b/stl/debugger/STL.natvis index 75260f08a60..ae9cd272268 100644 --- a/stl/debugger/STL.natvis +++ b/stl/debugger/STL.natvis @@ -587,6 +587,13 @@ SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception + ranges::equal_to + ranges::not_equal_to + ranges::greater + ranges::less + ranges::greater_equal + ranges::less_equal + plus<> minus<> multiplies<> @@ -607,101 +614,25 @@ SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception bit_xor<> bit_not<> - - - plus - - - - - minus - - - - - multiplies - - - - - divides - - - - - modulus - - - - - negate - - - - - equal_to - - - - - not_equal_to - - - - - greater - - - - - less - - - - - greater_equal - - - - - less_equal - - - - - logical_and - - - - - logical_or - - - - - logical_not - - - - - bit_and - - - - - bit_or - - - - - bit_xor - - - - - bit_not - - + plus + minus + multiplies + divides + modulus + negate + equal_to + not_equal_to + greater + less + greater_equal + less_equal + logical_and + logical_or + logical_not + bit_and + bit_or + bit_xor + bit_not From d34f6abb9557f9b18de8ccdd0e5f316feb793f6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vojt=C4=9Bch=20Michal?= Date: Fri, 16 Jan 2026 03:22:41 +0100 Subject: [PATCH 2/3] Give names to individual groups of natvis definitions. --- stl/debugger/STL.natvis | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/stl/debugger/STL.natvis b/stl/debugger/STL.natvis index ae9cd272268..f6e8e96b004 100644 --- a/stl/debugger/STL.natvis +++ b/stl/debugger/STL.natvis @@ -586,7 +586,7 @@ SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception - + ranges::equal_to ranges::not_equal_to ranges::greater @@ -594,6 +594,7 @@ SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception ranges::greater_equal ranges::less_equal + plus<> minus<> multiplies<> @@ -614,6 +615,7 @@ SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception bit_xor<> bit_not<> + plus minus multiplies From c71df6d3f559ab4ef5b31fb2e104193d65e98a72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vojt=C4=9Bch=20Michal?= Date: Fri, 16 Jan 2026 13:28:52 +0100 Subject: [PATCH 3/3] Add visualization of compare_three_way --- stl/debugger/STL.natvis | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/stl/debugger/STL.natvis b/stl/debugger/STL.natvis index f6e8e96b004..20ac82016f4 100644 --- a/stl/debugger/STL.natvis +++ b/stl/debugger/STL.natvis @@ -586,13 +586,14 @@ SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception - + ranges::equal_to ranges::not_equal_to ranges::greater ranges::less ranges::greater_equal ranges::less_equal + compare_three_way plus<>