[compiler-rt] [AIX] Add a dummy variable in the __llvm_orderfile section (PR #81968)

via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 15 21:30:48 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 cc23574184335df187275ca0e716bf79b93b75f1 bf1316f705eb56ce10a97323950fac547ed0d073 -- compiler-rt/test/profile/AIX/bexpfull-pgo.c compiler-rt/lib/profile/InstrProfilingPlatformAIX.c
``````````

</details>

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

``````````diff
diff --git a/compiler-rt/test/profile/AIX/bexpfull-pgo.c b/compiler-rt/test/profile/AIX/bexpfull-pgo.c
index 1be48dfdb2..f48242ec6b 100644
--- a/compiler-rt/test/profile/AIX/bexpfull-pgo.c
+++ b/compiler-rt/test/profile/AIX/bexpfull-pgo.c
@@ -4,6 +4,4 @@
 #include <string.h>
 int ar[10];
 int n;
-int main() {
-  memcpy(ar, ar + 1, n);
-};
+int main() { memcpy(ar, ar + 1, n); };

``````````

</details>


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


More information about the llvm-commits mailing list