commit | 1cf7c3f8948b26395bc3293a657afb9f98878db7 | [log] [tgz] |
---|---|---|
author | Eli Friedman <eli.friedman@gmail.com> | Tue Jul 02 02:01:18 2013 +0000 |
committer | Eli Friedman <eli.friedman@gmail.com> | Tue Jul 02 02:01:18 2013 +0000 |
tree | 59ffa554803ddc4a5b748814457f23ec1540e2cc | |
parent | f4af9d37510320f5d9b415020440926528900eef [diff] |
Don't skip lambdas when mangling local vars. This commit rearranges the logic in CXXNameMangler::mangleLocalName and GetLocalClassDecl so that it doesn't accidentally skip over lambdas. It also reduces code duplication a bit. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@185402 91177308-0d34-0410-b5e6-96231b3b80d8