[llvm] [CFI][LowerTypeTests] Fix indirect call with alias (PR #106185)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 26 22:32:52 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 a2d8743cc86f96f6b1cbd85798328bd3fb2bf4de 3e3d6484e5550cf3b947f8aa0604e3029614c88d --extensions h,cpp -- llvm/include/llvm/IR/ModuleSummaryIndexYAML.h llvm/lib/Transforms/IPO/LowerTypeTests.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/include/llvm/IR/ModuleSummaryIndexYAML.h b/llvm/include/llvm/IR/ModuleSummaryIndexYAML.h
index 0adafd60fd..31ad4b0153 100644
--- a/llvm/include/llvm/IR/ModuleSummaryIndexYAML.h
+++ b/llvm/include/llvm/IR/ModuleSummaryIndexYAML.h
@@ -181,7 +181,7 @@ namespace llvm {
namespace yaml {
template <> struct MappingTraits<GlobalValueSummaryYaml> {
- static void mapping(IO &io, GlobalValueSummaryYaml& summary) {
+ static void mapping(IO &io, GlobalValueSummaryYaml &summary) {
io.mapOptional("Linkage", summary.Linkage);
io.mapOptional("Visibility", summary.Visibility);
io.mapOptional("NotEligibleToImport", summary.NotEligibleToImport);
``````````
</details>
https://github.com/llvm/llvm-project/pull/106185
More information about the llvm-commits
mailing list