[all-commits] [llvm/llvm-project] 4e4178: [clang] Add an API to retrieve implicit constructo...

martinboehme via All-commits all-commits at lists.llvm.org
Mon May 18 23:42:01 PDT 2020


  Branch: refs/heads/arcpatch-D79942
  Home:   https://github.com/llvm/llvm-project
  Commit: 4e4178d2c64463eeb72bbd0375118012af7c0d64
      https://github.com/llvm/llvm-project/commit/4e4178d2c64463eeb72bbd0375118012af7c0d64
  Author: Martin Böhme <mboehme at google.com>
  Date:   2020-05-19 (Tue, 19 May 2020)

  Changed paths:
    M clang/include/clang/CodeGen/CodeGenABITypes.h
    M clang/lib/CodeGen/CGCXXABI.cpp
    M clang/lib/CodeGen/CGCXXABI.h
    M clang/lib/CodeGen/CGCall.cpp
    M clang/lib/CodeGen/CGClass.cpp
    M clang/lib/CodeGen/CodeGenABITypes.cpp
    M clang/lib/CodeGen/ItaniumCXXABI.cpp
    M clang/lib/CodeGen/MicrosoftCXXABI.cpp

  Log Message:
  -----------
  [clang] Add an API to retrieve implicit constructor arguments.

Summary:
This is needed in Swift for C++ interop -- see here for the corresponding Swift change:

https://github.com/apple/swift/pull/30630

As part of this change, I've had to make some changes to the interface of CGCXXABI to return the additional parameters separately rather than adding them directly to a `CallArgList`.

Differential Revision: https://reviews.llvm.org/D79942




More information about the All-commits mailing list