From b21b058c0a103652ebb5799a0d4b7a64cc21d088 Mon Sep 17 00:00:00 2001 From: Igor Zhukov Date: Fri, 12 Jul 2024 15:47:01 +0700 Subject: [PATCH 1/2] `size()` is optional method for `ranges::view_interface` --- stl/debugger/STL.natvis | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/stl/debugger/STL.natvis b/stl/debugger/STL.natvis index 01e8dd606b6..6a72454824a 100644 --- a/stl/debugger/STL.natvis +++ b/stl/debugger/STL.natvis @@ -2002,7 +2002,10 @@ SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception - {{ size={size()} }} + + {{ size={size()} }} + + unknown size empty() front() From bffa092f3c30638a89de73e96299cb8ef6c9332e Mon Sep 17 00:00:00 2001 From: Igor Zhukov Date: Fri, 19 Jul 2024 18:34:07 +0700 Subject: [PATCH 2/2] Remove std::ranges::view_interface visualizer. --- stl/debugger/STL.natvis | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/stl/debugger/STL.natvis b/stl/debugger/STL.natvis index 6a72454824a..718486c5b2d 100644 --- a/stl/debugger/STL.natvis +++ b/stl/debugger/STL.natvis @@ -2001,19 +2001,6 @@ SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception - - - {{ size={size()} }} - - unknown size - - empty() - front() - back() - data() - - - dangling