MS ABI: lambda call operators are instance methods and should use thiscall
authorReid Kleckner <reid@kleckner.net>
Mon, 23 Mar 2015 21:16:49 +0000 (21:16 +0000)
committerReid Kleckner <reid@kleckner.net>
Mon, 23 Mar 2015 21:16:49 +0000 (21:16 +0000)
commita7b275d3b2f634d2288b217cc126c1470cc57837
treeb7b6dcaed8e69d0ee618eaf97abbb204bc7da692
parent064e69f2a9c1549db874b3a2ae7fb6b71ceb8796
MS ABI: lambda call operators are instance methods and should use thiscall

Fixes an issue reported by Daniel Berenyi on cfe-dev.

llvm-svn: 233023
clang/lib/Sema/SemaType.cpp
clang/test/CodeGenCXX/mangle-ms-cxx14.cpp
clang/test/SemaCXX/decl-microsoft-call-conv.cpp