diff options
| author | Eli Friedman <eli.friedman@gmail.com> | 2013-07-02 17:52:28 +0000 |
|---|---|---|
| committer | Eli Friedman <eli.friedman@gmail.com> | 2013-07-02 17:52:28 +0000 |
| commit | 8443188a8f9cbd27612b7058cdcfc53356f024a3 (patch) | |
| tree | 1ddc29c656fb5a1f9cbc9be92dd177af7af90c6e /lib/CodeGen/CGExpr.cpp | |
| parent | 439b7011de1c5089f255bbd98485b5620de5dadb (diff) | |
| download | clang-8443188a8f9cbd27612b7058cdcfc53356f024a3.tar.gz clang-8443188a8f9cbd27612b7058cdcfc53356f024a3.tar.bz2 clang-8443188a8f9cbd27612b7058cdcfc53356f024a3.tar.xz | |
More fixes for block mangling.
Make sure we properly treat names defined inside a block as local
names. There are basically three fixes here. One, correctly
treat blocks as a context where we need to use local-name mangling using
the new isLocalContainerContext helper. Two, make
CXXNameMangler::manglePrefix handle local names in a consistent way.
Three, extend CXXNameMangler::mangleLocalName so it can mangle a block
correctly.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@185450 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExpr.cpp')
0 files changed, 0 insertions, 0 deletions
