[PATCH] [ms-cxxabi] Construct and destroy call arguments in the correct order

Reid Kleckner rnk at google.com
Mon Dec 2 17:16:57 PST 2013


    - Template EmitCallArgs over arg_type_iterator to allow skipping early args
    - Handle ARC cleanups properly by reversing the order or all parm decl emission.
    - Add back an overload to reduce code bloat.

Hi rjmccall, rsmith,

http://llvm-reviews.chandlerc.com/D2275

CHANGE SINCE LAST DIFF
  http://llvm-reviews.chandlerc.com/D2275?vs=5801&id=5864#toc

Files:
  include/clang/Basic/TargetCXXABI.h
  lib/CodeGen/CGBlocks.cpp
  lib/CodeGen/CGCall.cpp
  lib/CodeGen/CGClass.cpp
  lib/CodeGen/CGDecl.cpp
  lib/CodeGen/CGExpr.cpp
  lib/CodeGen/CGExprCXX.cpp
  lib/CodeGen/CGObjC.cpp
  lib/CodeGen/CodeGenFunction.h
  lib/Sema/SemaChecking.cpp
  test/CodeGen/tbaa-ms-abi.cpp
  test/CodeGenCXX/microsoft-abi-arg-order.cpp
  test/CodeGenObjCXX/microsoft-abi-arc-param-order.mm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D2275.3.patch
Type: text/x-patch
Size: 22840 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20131202/c6753dba/attachment.bin>


More information about the cfe-commits mailing list