[llvm] Reland "[ThinLTO][Bitcode] Generate import type in bitcode" (PR #97253)
via llvm-commits
llvm-commits at lists.llvm.org
Sun Jun 30 21:53:30 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 8598bcb9934dca16ea16d87304e00defc85d986c 41f8e2b769f012eafabefc8848df327c22db3b4f -- llvm/include/llvm/Bitcode/BitcodeWriter.h llvm/include/llvm/LTO/legacy/ThinLTOCodeGenerator.h llvm/include/llvm/Transforms/IPO/FunctionImport.h llvm/lib/Bitcode/Writer/BitcodeWriter.cpp llvm/lib/LTO/LTO.cpp llvm/lib/LTO/ThinLTOCodeGenerator.cpp llvm/lib/Transforms/IPO/FunctionImport.cpp llvm/tools/llvm-lto/llvm-lto.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/include/llvm/Bitcode/BitcodeWriter.h b/llvm/include/llvm/Bitcode/BitcodeWriter.h
index 48b4309d73..770e249290 100644
--- a/llvm/include/llvm/Bitcode/BitcodeWriter.h
+++ b/llvm/include/llvm/Bitcode/BitcodeWriter.h
@@ -103,7 +103,7 @@ public:
void writeIndex(
const ModuleSummaryIndex *Index,
const std::map<std::string, GVSummaryMapTy> *ModuleToSummariesForIndex,
- const GVSummaryPtrSet* DecSummaries);
+ const GVSummaryPtrSet *DecSummaries);
};
/// Write the specified module to the specified raw output stream.
``````````
</details>
https://github.com/llvm/llvm-project/pull/97253
More information about the llvm-commits
mailing list