]> granicus.if.org Git - clang/commit
Re-land "MS ABI: lambda call operators are instance methods and should use thiscall"
authorReid Kleckner <reid@kleckner.net>
Wed, 1 Apr 2015 20:22:13 +0000 (20:22 +0000)
committerReid Kleckner <reid@kleckner.net>
Wed, 1 Apr 2015 20:22:13 +0000 (20:22 +0000)
commitbc350adc1e61fa244bcf0fe872cab6a7c6d081aa
tree342b5b8c351caf56b4ed57a02cc2b4bdf6b229f8
parent913bcf9423b28fcd6373fc6b4ef108755c1d0feb
Re-land "MS ABI: lambda call operators are instance methods and should use thiscall"

Update the test cases to pass when lambda call operators use thiscall.

Update the lambda-to-block conversion operator to use the default free
function calling convention instead of the call operator's convention.

This reverts commit r233082 and re-instates r233023.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@233835 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaLambda.cpp
lib/Sema/SemaType.cpp
test/CodeGenCXX/mangle-ms-cxx14.cpp
test/CodeGenCXX/vla-lambda-capturing.cpp
test/OpenMP/parallel_firstprivate_codegen.cpp
test/OpenMP/parallel_private_codegen.cpp
test/Profile/cxx-lambda.cpp
test/SemaCXX/decl-microsoft-call-conv.cpp