[PATCH] D66360: Expose constructing a virtual method dispatch through the include/clang/CodeGen APIs.

Parker Schuh via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 27 19:13:25 PDT 2019


pschuh updated this revision to Diff 217566.
pschuh added a comment.
Herald added a subscriber: mgorny.

Your suggestions of pulling the builder out as an API and exposing CGCallee made everything a lot simpler. Unfortunately, I had to split the CGCallee header because it threatened to pull EHScopeStack.h and CGValue.h to be public (and transitively CodeGenTBAA.h). The old CGCall.h header now just contains the Args and ReturnValueSlot.


Repository:
  rC Clang

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

https://reviews.llvm.org/D66360

Files:
  include/clang/CodeGen/Address.h
  include/clang/CodeGen/CGCallee.h
  include/clang/CodeGen/CodeGenABITypes.h
  include/clang/CodeGen/FunctionBuilder.h
  lib/CodeGen/Address.h
  lib/CodeGen/CGBuilder.h
  lib/CodeGen/CGCall.h
  lib/CodeGen/CGCleanup.h
  lib/CodeGen/CGObjCRuntime.h
  lib/CodeGen/CGValue.h
  lib/CodeGen/CMakeLists.txt
  lib/CodeGen/CodeGenABITypes.cpp
  lib/CodeGen/FunctionBuilder.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D66360.217566.patch
Type: text/x-patch
Size: 21209 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190828/244968f0/attachment-0001.bin>


More information about the cfe-commits mailing list