[libcxx-commits] [libcxx] WIP - [libc++][spanstream] P0448R4: A `strstream` replacement using `span<charT>` as buffer (PR #83541)
via libcxx-commits
libcxx-commits at lists.llvm.org
Fri Mar 1 00:55:18 PST 2024
github-actions[bot] wrote:
<!--LLVM CODE FORMAT COMMENT: {darker}-->
:warning: Python code formatter, darker found issues in your code. :warning:
<details>
<summary>
You can test this locally with the following command:
</summary>
``````````bash
darker --check --diff -r 128780b06f5bd0e586ee81e1e0e75f63c5664cfc...ebd7cc2b87e99097c5a682acf7bf1dbb3d628caf libcxx/utils/generate_feature_test_macro_components.py libcxx/utils/generate_iwyu_mapping.py libcxx/utils/libcxx/header_information.py
``````````
</details>
<details>
<summary>
View the diff from darker here.
</summary>
``````````diff
--- generate_iwyu_mapping.py 2024-03-01 08:52:23.000000 +0000
+++ generate_iwyu_mapping.py 2024-03-01 08:55:08.358963 +0000
@@ -38,11 +38,13 @@
return ["functional"]
elif header == "__fwd/pair.h":
return ["utility"]
elif header == "__fwd/subrange.h":
return ["ranges"]
- elif re.match("__fwd/(fstream|ios|istream|ostream|spanstream|sstream|streambuf)[.]h", header):
+ elif re.match(
+ "__fwd/(fstream|ios|istream|ostream|spanstream|sstream|streambuf)[.]h", header
+ ):
return ["iosfwd"]
# Handle remaining forward declaration headers
elif re.match("__fwd/(.+)[.]h", header):
return [re.match("__fwd/(.+)[.]h", header).group(1)]
# Handle detail headers for things like <__algorithm/foo.h>
``````````
</details>
https://github.com/llvm/llvm-project/pull/83541
More information about the libcxx-commits
mailing list