]> granicus.if.org Git - clang/commit
MS ABI: Don't use the Itanium scheme for numbering lambdas
authorDavid Majnemer <david.majnemer@gmail.com>
Fri, 22 Aug 2014 04:22:50 +0000 (04:22 +0000)
committerDavid Majnemer <david.majnemer@gmail.com>
Fri, 22 Aug 2014 04:22:50 +0000 (04:22 +0000)
commit7276d2da27ae7cfd5bfc6326c0f90cf1b391d43d
treed1b623d1bbf9eb4c07d60a5d8f0733f2a9257ae1
parentca36cf5ebc9ee855e5bc6aa630e1994e7fba401b
MS ABI: Don't use the Itanium scheme for numbering lambdas

The Itanium ABI will give out the same mangling number for two different
lambdas if their call operators have different types.  The MS ABI cannot
do the same because it does not mangle the return type into it's
lambdas.

This fixes PR20719.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@216259 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/MangleNumberingContext.h
lib/AST/CMakeLists.txt
lib/AST/ItaniumCXXABI.cpp
lib/AST/MangleNumberingContext.cpp [deleted file]
lib/AST/MicrosoftCXXABI.cpp
test/CodeGenCXX/pr20719.cpp [new file with mode: 0644]