[libcxxabi] [llvm] [ItaniumDemangle] reapply 0e754e114a6 (PR #79488)

via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 25 12:18:52 PST 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 016b7e8bf4df839f4bf84ee615cbe422e75f7868 cd979462b76a91c093d4d8b1368f2a065965a483 -- libcxxabi/src/demangle/ItaniumDemangle.h llvm/include/llvm/Demangle/ItaniumDemangle.h
``````````

</details>

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

``````````diff
diff --git a/libcxxabi/src/demangle/ItaniumDemangle.h b/libcxxabi/src/demangle/ItaniumDemangle.h
index 9e1a8d3b4f..c5560f7b3d 100644
--- a/libcxxabi/src/demangle/ItaniumDemangle.h
+++ b/libcxxabi/src/demangle/ItaniumDemangle.h
@@ -39,7 +39,8 @@
 DEMANGLE_NAMESPACE_BEGIN
 
 template <class T, size_t N> class PODSmallVector {
-  static_assert(std::is_trivial::value<T>, "T is required to be a trivial type");
+  static_assert(std::is_trivial::value<T>,
+                "T is required to be a trivial type");
   T *First = nullptr;
   T *Last = nullptr;
   T *Cap = nullptr;
diff --git a/llvm/include/llvm/Demangle/ItaniumDemangle.h b/llvm/include/llvm/Demangle/ItaniumDemangle.h
index 9e73986f18..08011afaf3 100644
--- a/llvm/include/llvm/Demangle/ItaniumDemangle.h
+++ b/llvm/include/llvm/Demangle/ItaniumDemangle.h
@@ -38,7 +38,8 @@
 DEMANGLE_NAMESPACE_BEGIN
 
 template <class T, size_t N> class PODSmallVector {
-  static_assert(std::is_trivial::value<T>, "T is required to be a trivial type");
+  static_assert(std::is_trivial::value<T>,
+                "T is required to be a trivial type");
   T *First = nullptr;
   T *Last = nullptr;
   T *Cap = nullptr;

``````````

</details>


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


More information about the llvm-commits mailing list