[PATCH] D104082: [CodeGen] Don't create a fake FunctionDecl when generating block/block_byref copy/dispose helper functions

Adrian Prantl via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 22 09:07:57 PDT 2021


aprantl added inline comments.


================
Comment at: clang/lib/CodeGen/CGBlocks.cpp:2144
                                      CGM);
   // This is necessary to avoid inheriting the previous line number.
+  StartFunction(GlobalDecl(), ReturnTy, Fn, FI, args);
----------------
Same here — the comment should be removed.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D104082



More information about the cfe-commits mailing list