swift
6b863f95 - [cxx-interop] Fix calling rvalue ref of a trivial type

Commit
64 days ago
[cxx-interop] Fix calling rvalue ref of a trivial type The Swift compiler used to generate a direct call to functions taking rvalue references to trivial types even though they expected an indirect calling conventions. This PR changes the calling convention on the Swift side to match C++. rdar://148585343
Author
Gabor Horvath
Parents
  • lib/SIL/IR
    • File
      SILFunctionType.cpp
  • test/Interop/Cxx/reference
    • File
      reference.swift