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 | b96ec568715450106b4f1dd4a20c1c14e9bca6c4 (patch) | |
tree | 19500320eb1cc921c8936202a066855f39921959 /clang/lib/CodeGen | |
parent | 9e2792690bd41191442cf3a65ad591a32ee9ab10 (diff) | |
download | bcm5719-llvm-b96ec568715450106b4f1dd4a20c1c14e9bca6c4.tar.gz bcm5719-llvm-b96ec568715450106b4f1dd4a20c1c14e9bca6c4.zip |
Fix "using typename" and the instantiation of non-dependent using declarations.
llvm-svn: 90614
Diffstat (limited to 'clang/lib/CodeGen')
-rw-r--r-- | clang/lib/CodeGen/Mangle.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/Mangle.cpp b/clang/lib/CodeGen/Mangle.cpp index 4d021e8964c..df708eda9cb 100644 --- a/clang/lib/CodeGen/Mangle.cpp +++ b/clang/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)); } |