[llvm] [orc-rt] Remove redundant extern keyword. (PR #222619)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 10 04:54:36 PDT 2026
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 origin/main HEAD --extensions h -- orc-rt/include/orc-rt-c/support/Logging.h --diff_from_common_commit
``````````
:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/orc-rt/include/orc-rt-c/support/Logging.h b/orc-rt/include/orc-rt-c/support/Logging.h
index 4e2a0983d..a52ffe635 100644
--- a/orc-rt/include/orc-rt-c/support/Logging.h
+++ b/orc-rt/include/orc-rt-c/support/Logging.h
@@ -234,8 +234,7 @@ ORC_RT_C_EXPORT void orc_rt_log_printf(orc_rt_log_Level Level,
* are filled lazily (and read) atomically by orc_rt_log_osLogHandle. An
* implementation detail of that accessor; do not use directly.
*/
-ORC_RT_C_EXPORT os_log_t
- orc_rt_log_OSLogHandles[orc_rt_log_Category_Count];
+ORC_RT_C_EXPORT os_log_t orc_rt_log_OSLogHandles[orc_rt_log_Category_Count];
/*
* Cold path for orc_rt_log_osLogHandle: creates the handle for Category (in the
``````````
</details>
https://github.com/llvm/llvm-project/pull/222619
More information about the llvm-commits
mailing list