[clang] [clang][bytecode] Support ObjC blocks (PR #104551)

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 19 07:13:08 PDT 2024


================
@@ -195,6 +195,48 @@ Function *ByteCodeEmitter::compileFunc(const FunctionDecl *FuncDecl) {
   return Func;
 }
 
+/// Compile an ObjC block, i.e. ^(){}, that thing.
+///
+/// We do not support calling the block though, so we create a function
----------------
AaronBallman wrote:

```suggestion
/// FIXME: We do not support calling the block though, so we create a function
```

https://github.com/llvm/llvm-project/pull/104551


More information about the cfe-commits mailing list