[llvm] [WebAssemblyLowerEmscriptenEHSjLj] Don't assign import names to generated function declarations (PR #71599)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 7 15:16:40 PST 2023
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 086b65340cca2648a2a91a0a47d28c7d9bafd1e5 841980d755df6d050268bc7a204c6bc496a580fb -- llvm/lib/Target/WebAssembly/WebAssemblyLowerEmscriptenEHSjLj.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/lib/Target/WebAssembly/WebAssemblyLowerEmscriptenEHSjLj.cpp b/llvm/lib/Target/WebAssembly/WebAssemblyLowerEmscriptenEHSjLj.cpp
index 4c64c5097453..3a2c8641db3e 100644
--- a/llvm/lib/Target/WebAssembly/WebAssemblyLowerEmscriptenEHSjLj.cpp
+++ b/llvm/lib/Target/WebAssembly/WebAssemblyLowerEmscriptenEHSjLj.cpp
@@ -453,7 +453,7 @@ static Function *getEmscriptenFunction(FunctionType *Ty, const Twine &Name,
static Function *getInvokeFunction(FunctionType *Ty, const Twine &Name,
Module *M) {
- Function* F = getEmscriptenFunction(Ty, Name, M);
+ Function *F = getEmscriptenFunction(Ty, Name, M);
// Tell the linker that this function is expected to be imported from the
// 'env' module.
if (!F->hasFnAttribute("wasm-import-module")) {
``````````
</details>
https://github.com/llvm/llvm-project/pull/71599
More information about the llvm-commits
mailing list