[llvm-branch-commits] [llvm] TableGen: Add runtime libcall backend (PR #144972)

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu Jun 19 19:53:23 PDT 2025


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 HEAD~1 HEAD --extensions cpp,h -- llvm/utils/TableGen/Basic/RuntimeLibcallsEmitter.cpp llvm/include/llvm/IR/RuntimeLibcalls.h llvm/lib/IR/RuntimeLibcalls.cpp llvm/lib/Object/IRSymtab.cpp
``````````

</details>

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

``````````diff
diff --git a/llvm/include/llvm/IR/RuntimeLibcalls.h b/llvm/include/llvm/IR/RuntimeLibcalls.h
index e063076fa..fdded7694 100644
--- a/llvm/include/llvm/IR/RuntimeLibcalls.h
+++ b/llvm/include/llvm/IR/RuntimeLibcalls.h
@@ -107,8 +107,8 @@ struct RuntimeLibcallsInfo {
   }
 
 private:
-  static const char *const
-      DefaultLibcallRoutineNames[RTLIB::UNKNOWN_LIBCALL + 1];
+  static const char
+      *const DefaultLibcallRoutineNames[RTLIB::UNKNOWN_LIBCALL + 1];
 
   /// Stores the name each libcall.
   const char *LibcallRoutineNames[RTLIB::UNKNOWN_LIBCALL + 1] = {nullptr};

``````````

</details>


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


More information about the llvm-branch-commits mailing list