-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
STL.natvis: add specializations for shared_ptr<void>
, weak_ptr<void>
, and unique_ptr<void, deleter>
#2706
Conversation
shared_ptr<void>
and weak_ptr<void>
shared_ptr<void>
, weak_ptr<void>
and unique_ptr<void, deleter>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
We could tag the problematic part of the original visualizer Optional, but the result would be less than ideal. I don't know how to otherwise avoid this duplication. |
shared_ptr<void>
, weak_ptr<void>
and unique_ptr<void, deleter>
shared_ptr<void>
, weak_ptr<void>
, and unique_ptr<void, deleter>
@@ -288,6 +288,16 @@ SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception | |||
</Type> | |||
|
|||
<!-- VC 2015 --> | |||
<Type Name="std::unique_ptr<void, *>"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've pulled these changes into internal VS-PR-400483. Please notify me of any changes to this file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll add this to the MSVC-PR mirror too.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
May as well. I don't plan to include the "big" visualizer PR. I won't have time to review it today, expected
is taking an ... unexpectedly long time to review. 😎
Thanks for fixing these visualizers! 😸 👁️ 🎉 |
…d>`, and `unique_ptr<void, deleter>` (microsoft#2706)
Fixes #2688
It works, but perhaps there is an option without the duplication...