[PATCH] D150803: [WebAssembly] Add a new `wasm_async` clang attribute for marking async functions.

Brendan Dahl via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 1 14:59:28 PDT 2023


brendandahl added inline comments.


================
Comment at: clang/lib/CodeGen/TargetInfo.cpp:892
       if (const auto *Attr = FD->getAttr<WebAssemblyExportNameAttr>()) {
-        llvm::Function *Fn = cast<llvm::Function>(GV);
+        auto *Fn = cast<llvm::Function>(GV);
         llvm::AttrBuilder B(GV->getContext());
----------------
Whoops, I changed the wrong one here. I'll fix that.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D150803/new/

https://reviews.llvm.org/D150803



More information about the cfe-commits mailing list