[PATCH] D60161: Expose non-trivial struct helpers for Swift.

Tony Allevato via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 2 16:00:15 PDT 2019


allevato created this revision.
allevato added a reviewer: rjmccall.
Herald added subscribers: cfe-commits, jdoerfert.
Herald added a project: clang.

This change exposes the helper functions that generate ctors/dtors
for non-trivial structs so that they can be called from the Swift
compiler (see https://github.com/apple/swift/pull/23405) to
enable it to import such C records.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D60161

Files:
  clang/include/clang/CodeGen/CodeGenABITypes.h
  clang/lib/CodeGen/CGNonTrivialStruct.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D60161.193384.patch
Type: text/x-patch
Size: 6428 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190402/11c4beea/attachment.bin>


More information about the cfe-commits mailing list