-
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
Formatting thread::id
, stacktrace_entry
, and basic_stacktrace
#3861
Merged
StephanTLavavej
merged 21 commits into
microsoft:main
from
JMazurkiewicz:format/stacktrace-thread-id
Aug 3, 2023
Merged
Changes from 20 commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
e387949
Move `std::call_once` to `xcall_once.h` and remove `<mutex>` include …
JMazurkiewicz 4e1e84c
Testing: implement `choose_literal` for character types
JMazurkiewicz 09559db
Testing: test `thread::id` formatter
JMazurkiewicz 7aa7a9d
Add new `_Fill_align_and_width_specs` for `thread::id` and `stacktrac…
JMazurkiewicz 160da41
Implement `thread::id` formatter
JMazurkiewicz d55eb21
Fix `operator<<(thread::id)`, see LLVM-62073
JMazurkiewicz 0ae81d9
Testing: fix calls to `setf` in `thread::id` tests
JMazurkiewicz 9c97071
Testing: test fixed `operator<<(thread::id)`
JMazurkiewicz 15e9f33
Testing: move format adaptors to the `"test_format_support.hpp"` head…
JMazurkiewicz c01bebf
Testing: test `stacktrace_entry` and `basic_stacktrace` formatters
JMazurkiewicz b161a2f
Implement `stacktrace_entry` and `basic_stacktrace` formatters
JMazurkiewicz 1ac191c
Add feature test macro
JMazurkiewicz c2e90bf
Improve test coverage
JMazurkiewicz c3f5f30
`<format>`: `protected` -> `private`
JMazurkiewicz f0a377a
`operator<<(thread::id)` now uses `_UIntegral_to_buff` from `<string>`
JMazurkiewicz 4e06a87
Don't use `<charconv>`
JMazurkiewicz db25408
Merge branch 'main' into format/stacktrace-thread-id
StephanTLavavej a0f8988
Code review feedback.
StephanTLavavej 3c85a46
Merge branch 'main' into format/stacktrace-thread-id
StephanTLavavej 7e4d845
Catch test exceptions.
StephanTLavavej f503c64
You want me to give him THE CLAMPS, boss?
StephanTLavavej File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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 suspect this could be unified with
_Basic_format_specs
and_Dynamic_format_specs
, I need to work out what that would actually look like though, and it probably requires nontrivial inheritance.