diff options
author | John McCall <rjmccall@apple.com> | 2009-12-04 22:46:56 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2009-12-04 22:46:56 +0000 |
commit | ed97649e9574b9d854fa4d6109c9333ae0993554 (patch) | |
tree | 799328f967a0d6af2b9dbdd5c2df4a8392275680 /lib/CodeGen/Mangle.cpp | |
parent | cce9fde82ad99cb96c820084d636c9bfdfcff30a (diff) |
Fix "using typename" and the instantiation of non-dependent using declarations.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@90614 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/Mangle.cpp')
-rw-r--r-- | lib/CodeGen/Mangle.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/CodeGen/Mangle.cpp b/lib/CodeGen/Mangle.cpp index 4d021e8964..df708eda9c 100644 --- a/lib/CodeGen/Mangle.cpp +++ b/lib/CodeGen/Mangle.cpp @@ -843,6 +843,12 @@ void CXXNameMangler::mangleBareFunctionType(const FunctionType *T, // <type> ::= <class-enum-type> // <class-enum-type> ::= <name> +void CXXNameMangler::mangleType(const UnresolvedUsingType *T) { + mangleName(T->getDecl()); +} + +// <type> ::= <class-enum-type> +// <class-enum-type> ::= <name> void CXXNameMangler::mangleType(const EnumType *T) { mangleType(static_cast<const TagType*>(T)); } |