diff options
| author | Reid Kleckner <reid@kleckner.net> | 2014-05-09 22:46:15 +0000 |
|---|---|---|
| committer | Reid Kleckner <reid@kleckner.net> | 2014-05-09 22:46:15 +0000 |
| commit | e0d57a1cf3318352fa3fd7253c744f3f4e079c17 (patch) | |
| tree | d178718118352a1f002c4f09cf65f7899908bdcf /lib/Tooling/CompilationDatabase.cpp | |
| parent | 3748941f2ea43eb81a4a8edf02abf7f83881fa89 (diff) | |
| download | clang-e0d57a1cf3318352fa3fd7253c744f3f4e079c17.tar.gz clang-e0d57a1cf3318352fa3fd7253c744f3f4e079c17.tar.bz2 clang-e0d57a1cf3318352fa3fd7253c744f3f4e079c17.tar.xz | |
MS ABI: Pass 'sret' as the second parameter of instance methods
Summary:
MSVC always passes 'sret' after 'this', unlike GCC. This required
changing a number of places in Clang that assumed the sret parameter was
always first in LLVM IR.
This fixes win64 MSVC ABI compatibility for methods returning structs.
Reviewers: rsmith, majnemer
Subscribers: cfe-commits
Differential Revision: http://reviews.llvm.org/D3618
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@208458 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Tooling/CompilationDatabase.cpp')
0 files changed, 0 insertions, 0 deletions
