[llvm-branch-commits] [llvm] TableGen: Allow defining sets of runtime libraries (PR #144978)
via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Thu Jun 19 19:53:00 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/include/llvm/IR/RuntimeLibcalls.h llvm/lib/IR/RuntimeLibcalls.cpp llvm/utils/TableGen/Basic/RuntimeLibcallsEmitter.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/utils/TableGen/Basic/RuntimeLibcallsEmitter.cpp b/llvm/utils/TableGen/Basic/RuntimeLibcallsEmitter.cpp
index 30fcca47a..a4b6c8d7f 100644
--- a/llvm/utils/TableGen/Basic/RuntimeLibcallsEmitter.cpp
+++ b/llvm/utils/TableGen/Basic/RuntimeLibcallsEmitter.cpp
@@ -349,9 +349,8 @@ void RuntimeLibcallEmitter::emitSystemRuntimeLibrarySetCalls(
SetTheory Sets;
DenseMap<const Record *, std::vector<const Record *>> Func2Preds;
- Sets.addExpander(
- "LibcallImpls",
- std::make_unique<LibcallPredicateExpander>(*this, Func2Preds));
+ Sets.addExpander("LibcallImpls", std::make_unique<LibcallPredicateExpander>(
+ *this, Func2Preds));
const SetTheory::RecVec *Elements =
Sets.expand(R->getValueAsDef("MemberList"));
``````````
</details>
https://github.com/llvm/llvm-project/pull/144978
More information about the llvm-branch-commits
mailing list