[compiler-rt] [rtsan][NFC] Move away from system include style for local headers (PR #109977)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 25 06:19:57 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 fd88121a58da87bf0c5f3e4d8434948c28722640 b6ea8ed52cb59495f492a09193f7c89703dc9176 --extensions h,cpp -- compiler-rt/lib/rtsan/rtsan.cpp compiler-rt/lib/rtsan/rtsan_context.cpp compiler-rt/lib/rtsan/rtsan_context.h compiler-rt/lib/rtsan/rtsan_preinit.cpp compiler-rt/lib/rtsan/tests/rtsan_test_functional.cpp compiler-rt/lib/rtsan/tests/rtsan_test_interceptors.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/compiler-rt/lib/rtsan/rtsan_context.cpp b/compiler-rt/lib/rtsan/rtsan_context.cpp
index f2d4ef963d..1cf1791f0a 100644
--- a/compiler-rt/lib/rtsan/rtsan_context.cpp
+++ b/compiler-rt/lib/rtsan/rtsan_context.cpp
@@ -8,8 +8,8 @@
//
//===----------------------------------------------------------------------===//
-#include "rtsan/rtsan.h"
#include "rtsan/rtsan_context.h"
+#include "rtsan/rtsan.h"
#include "sanitizer_common/sanitizer_allocator_internal.h"
diff --git a/compiler-rt/lib/rtsan/rtsan_preinit.cpp b/compiler-rt/lib/rtsan/rtsan_preinit.cpp
index cff2b87cc6..5d49223bc8 100644
--- a/compiler-rt/lib/rtsan/rtsan_preinit.cpp
+++ b/compiler-rt/lib/rtsan/rtsan_preinit.cpp
@@ -8,8 +8,8 @@
//
//===----------------------------------------------------------------------===//
-#include "sanitizer_common/sanitizer_internal_defs.h"
#include "rtsan/rtsan.h"
+#include "sanitizer_common/sanitizer_internal_defs.h"
#if SANITIZER_CAN_USE_PREINIT_ARRAY
``````````
</details>
https://github.com/llvm/llvm-project/pull/109977
More information about the llvm-commits
mailing list