[compiler-rt] [compiler-rt] Move `endif` to correct place (PR #100342)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 24 03:47:38 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 ddf5725ef180692b60962ae56e352a7af6fc5919 05466ce2fcd5e05000e928166cf0474cbcd043e9 --extensions cpp -- compiler-rt/lib/sanitizer_common/sanitizer_linux.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_linux.cpp b/compiler-rt/lib/sanitizer_common/sanitizer_linux.cpp
index afb6693017..3d24a2a6a6 100644
--- a/compiler-rt/lib/sanitizer_common/sanitizer_linux.cpp
+++ b/compiler-rt/lib/sanitizer_common/sanitizer_linux.cpp
@@ -2239,7 +2239,7 @@ static const char *RegNumToRegName(int reg) {
# endif
default:
return NULL;
-#endif
+# endif
}
return NULL;
}
``````````
</details>
https://github.com/llvm/llvm-project/pull/100342
More information about the llvm-commits
mailing list