Re-land [mangle] Fix mangling where an extra mangle context is required.
authorReid Kleckner <rnk@google.com>
Thu, 10 Oct 2019 01:14:22 +0000 (01:14 +0000)
committerReid Kleckner <rnk@google.com>
Thu, 10 Oct 2019 01:14:22 +0000 (01:14 +0000)
commitda2bde9e34df02a1c706425ec0bc85d4d49eebd5
treef671bdfb4eed447c69b00403a42b568d45ced981
parentc34385d07c7d59447bf836b740f032235391d121
Re-land [mangle] Fix mangling where an extra mangle context is required.

This reverts r374268 (git commit c34385d07c7d59447bf836b740f032235391d121)

I think I reverted this by mistake, so I'm relanding it. While my bisect
found this revision, I think the crashes I'm seeing locally must be
environmental. Maybe the version of clang I'm using miscompiles tot
clang.

llvm-svn: 374269
clang/include/clang/AST/ASTContext.h
clang/include/clang/Sema/Sema.h
clang/lib/AST/ASTContext.cpp
clang/lib/Sema/SemaLambda.cpp
clang/test/CodeGenCXX/mangle-lambdas.cpp