]> granicus.if.org Git - clang/commit
Mangler: Lift shouldMangleDeclName predicate out of CXXNameMangler::mangle.
authorDaniel Dunbar <daniel@zuster.org>
Sat, 21 Nov 2009 09:14:52 +0000 (09:14 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Sat, 21 Nov 2009 09:14:52 +0000 (09:14 +0000)
commitf981bf84ad7745861bc9c971f46417527e1e5db5
tree3fbe233cb30c77d0a3093b686ae3c34f2dedc6ea
parentc02ab4c76d7f8e672cda266436d64dd23bd2ad26
Mangler: Lift shouldMangleDeclName predicate out of CXXNameMangler::mangle.
 - Sometimes we have to mangle things we wouldn't normally (e.g., because they appear in a template expression).

 - This also tidies up the predicate to be more obvious what is getting mangled.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89555 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CodeGenModule.cpp
lib/CodeGen/Mangle.cpp
lib/CodeGen/Mangle.h