Skip to content
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

fix stl.natvis std::optional<*> #3243

Merged
merged 4 commits into from
Dec 6, 2022

Conversation

strega-nil-ms
Copy link
Contributor

optional<*> originally used <Intrinsic>s for _Has_value and _Value; however, apparently VS doesn't like doing custom visualizers for <Intrinsic> calls.

Fixes VSO-1631025 / DevCom-10155697

`optional<*>` originally used `<Intrinsic>`s for `_Has_value` and `_Value`;
however, apparently VS doesn't like doing custom visualizers for
`<Intrinsic>` calls.

Fixes VSO-1631025 / DevCom-10155697
@strega-nil-ms strega-nil-ms requested a review from a team as a code owner November 22, 2022 22:45
@strega-nil-ms strega-nil-ms added the visualizer How the VS debugger displays STL types label Nov 22, 2022
stl/debugger/STL.natvis Outdated Show resolved Hide resolved
strega-nil-ms and others added 2 commits November 23, 2022 10:08
Co-authored-by: S. B. Tam <cpplearner@outlook.com>
@StephanTLavavej StephanTLavavej self-assigned this Dec 5, 2022
@StephanTLavavej
Copy link
Member

I'm mirroring this to the MSVC-internal repo - please notify me if any further changes are pushed.

@StephanTLavavej StephanTLavavej merged commit aeed392 into microsoft:main Dec 6, 2022
@StephanTLavavej
Copy link
Member

Thanks for fixing this visualizer! 🪐 🔭 👁️

@strega-nil-ms strega-nil-ms deleted the fix-optional-visualizer branch December 19, 2022 23:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
visualizer How the VS debugger displays STL types
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants
  翻译: