[libcxx-commits] [libcxx] [libc++] Guard ..._REMOVED_UNCAUGHT_EXCEPTION behind ifndef (PR #106719)

via libcxx-commits libcxx-commits at lists.llvm.org
Fri Aug 30 05:39:00 PDT 2024


github-actions[bot] wrote:

<!--LLVM CODE FORMAT COMMENT: {clang-format}-->


:warning: C/C++ code formatter, clang-format found issues in your code. :warning:

<details>
<summary>
You can test this locally with the following command:
</summary>

``````````bash
git-clang-format --diff ce5620ba9a5bf48bce4e49933aec531c70c54aeb 9cfc2765408918da7fb7760ae43b2d11f1d90024 --extensions cpp -- libcxx/src/exception.cpp
``````````

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/libcxx/src/exception.cpp b/libcxx/src/exception.cpp
index bc1be282cd..7ee7ce7aa5 100644
--- a/libcxx/src/exception.cpp
+++ b/libcxx/src/exception.cpp
@@ -7,7 +7,7 @@
 //===----------------------------------------------------------------------===//
 
 #ifndef _LIBCPP_ENABLE_CXX20_REMOVED_UNCAUGHT_EXCEPTION
-#define _LIBCPP_ENABLE_CXX20_REMOVED_UNCAUGHT_EXCEPTION
+#  define _LIBCPP_ENABLE_CXX20_REMOVED_UNCAUGHT_EXCEPTION
 #endif
 #define _LIBCPP_DISABLE_DEPRECATION_WARNINGS
 

``````````

</details>


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


More information about the libcxx-commits mailing list