[PATCH] D139741: [clang][CodeGen] Use base subobject type layout for potentially-overlapping fields

Vladislav Dzhidzhoev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 15 17:02:53 PST 2023


dzhidzhoev updated this revision to Diff 497847.
dzhidzhoev added a comment.

Simplified condition in lowerUnion.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D139741

Files:
  clang/include/clang/AST/Decl.h
  clang/lib/AST/Decl.cpp
  clang/lib/AST/RecordLayoutBuilder.cpp
  clang/lib/CodeGen/CGRecordLayoutBuilder.cpp
  clang/test/CodeGenCXX/no-unique-address-3.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D139741.497847.patch
Type: text/x-patch
Size: 13141 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230216/ac7c6099/attachment.bin>


More information about the cfe-commits mailing list