[libc-commits] [libc] [libc++] Fix the behavior of throwing `operator new` under -fno-exceptions (PR #69498)

via libc-commits libc-commits at lists.llvm.org
Thu Oct 19 11:04:10 PDT 2023


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 21e1b13f3384b875bd2205a736570320cb020f3e..7a9f17a4c7688958fce8bfbe80dc2e85ff37952f libcxx/utils/generate_iwyu_mapping.py
``````````

</details>

<details>
<summary>
View the diff from darker here.
</summary>

``````````diff
--- generate_iwyu_mapping.py	2023-10-19 17:39:39.000000 +0000
+++ generate_iwyu_mapping.py	2023-10-19 18:03:56.961429 +0000
@@ -63,11 +63,11 @@
             continue
         elif i == "__mutex_base":
             continue
         elif i == "__node_handle":
             public = ["map", "set", "unordered_map", "unordered_set"]
-        elif i == '__overridable_function':
+        elif i == "__overridable_function":
             continue
         elif i == "__pstl_algorithm":
             continue
         elif i == "__pstl_config_site.in":
             continue

``````````

</details>


https://github.com/llvm/llvm-project/pull/69498


More information about the libc-commits mailing list