mirror of
https://github.com/intel/llvm.git
synced 2026-01-21 20:53:29 +08:00
[libc++] Granularize range_format and format_kind declarations (#148876)
While working on #105430 I ran into an issue implementing [[optional.syn]](https://eel.is/c++draft/optional.syn) because of a circular include that looked like the following: `optional -> __format/range_default_formatter.h -> __format/range_formatter.h -> __format/format_context.h -> optional`. Only `format_kind` and `range_format` are needed, and so they looked like candidates to be put into an internal header.
This commit is contained in:
committed by
GitHub
parent
1653a093de
commit
2194bca2b7
@@ -1369,6 +1369,7 @@ module std [system] {
|
||||
module indic_conjunct_break_table { header "__format/indic_conjunct_break_table.h" }
|
||||
module parser_std_format_spec { header "__format/parser_std_format_spec.h" }
|
||||
module range_default_formatter { header "__format/range_default_formatter.h" }
|
||||
module range_format { header "__format/range_format.h" }
|
||||
module range_formatter { header "__format/range_formatter.h" }
|
||||
module unicode { header "__format/unicode.h" }
|
||||
module width_estimation_table { header "__format/width_estimation_table.h" }
|
||||
|
||||
Reference in New Issue
Block a user