[PATCH] D155580: [trivial-auto-var-init] Do not emit initialization code for empty class

serge via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 18 05:37:17 PDT 2023


serge-sans-paille updated this revision to Diff 541475.
serge-sans-paille added a comment.

switch from cascading ternary operator to cascading if for readability.


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

https://reviews.llvm.org/D155580

Files:
  clang/lib/CodeGen/CGDecl.cpp
  clang/test/CodeGenCXX/auto-var-init-empty-class.cpp
  clang/test/CodeGenCXX/auto-var-init.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D155580.541475.patch
Type: text/x-patch
Size: 4521 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230718/724e39e1/attachment.bin>


More information about the cfe-commits mailing list