[PATCH] D134589: [C++20][Modules] Elide unused guard variables in Itanium ABI module initializers.

Iain Sandoe via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Oct 1 07:44:46 PDT 2022


iains updated this revision to Diff 464502.
iains edited the summary of this revision.
iains added a comment.

rebased and updated to elide the guard only for the case of no inits _and_ no imports.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D134589

Files:
  clang/lib/CodeGen/CGDeclCXX.cpp
  clang/test/CodeGenCXX/module-initializer-guard-elision.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D134589.464502.patch
Type: text/x-patch
Size: 6840 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20221001/e9959f05/attachment.bin>


More information about the cfe-commits mailing list