[llvm-branch-commits] [compiler-rt] [compiler-rt] Simplify definition of uptr (PR #106155)

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Tue Aug 27 16:57:03 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 bb27dd853a713866c025a94ead8f03a1e25d1b6e 153d70a4c158e3096caf6a7fcbb8d71fd2a507cd --extensions h,cpp -- compiler-rt/lib/interception/interception.h compiler-rt/lib/interception/interception_type_test.cpp compiler-rt/lib/sanitizer_common/sanitizer_internal_defs.h
``````````

</details>

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

``````````diff
diff --git a/compiler-rt/lib/interception/interception_type_test.cpp b/compiler-rt/lib/interception/interception_type_test.cpp
index ccf555c7b1..df687c3d1a 100644
--- a/compiler-rt/lib/interception/interception_type_test.cpp
+++ b/compiler-rt/lib/interception/interception_type_test.cpp
@@ -15,7 +15,7 @@
 #include "sanitizer_common/sanitizer_type_traits.h"
 
 #if __has_include(<sys/types.h>)
-#include <sys/types.h>
+#  include <sys/types.h>
 #endif
 #include <stddef.h>
 #include <stdint.h>
@@ -44,4 +44,3 @@ COMPILER_CHECK(sizeof(::OFF64_T) == sizeof(off64_t));
   _FILE_OFFSET_BITS != 64
 COMPILER_CHECK(sizeof(::OFF_T) == sizeof(off_t));
 # endif
-

``````````

</details>


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


More information about the llvm-branch-commits mailing list