diff options
author | Douglas Gregor <dgregor@apple.com> | 2010-03-31 17:34:00 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2010-03-31 17:34:00 +0000 |
commit | 4714c12a1ab759156b78be8f109ea4c12213af57 (patch) | |
tree | 3cce0fb0df1ef6611c458af0d5618a69ea930395 /lib/CodeGen/Mangle.cpp | |
parent | 275313cbb0847f1f117f60d144d113804d4fa42d (diff) |
Rename TypenameType to DependentNameType in anticipation of some
refactoring work in this area.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@100019 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/Mangle.cpp')
-rw-r--r-- | lib/CodeGen/Mangle.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/Mangle.cpp b/lib/CodeGen/Mangle.cpp index 9fdb12e15e..af5e5d3c78 100644 --- a/lib/CodeGen/Mangle.cpp +++ b/lib/CodeGen/Mangle.cpp @@ -1164,7 +1164,7 @@ void CXXNameMangler::mangleType(const TemplateSpecializationType *T) { mangleName(TD, T->getArgs(), T->getNumArgs()); } -void CXXNameMangler::mangleType(const TypenameType *T) { +void CXXNameMangler::mangleType(const DependentNameType *T) { // Typename types are always nested Out << 'N'; mangleUnresolvedScope(T->getQualifier()); @@ -1456,7 +1456,7 @@ void CXXNameMangler::mangleExpression(const Expr *E) { // It isn't clear that we ever actually want to have such a // nested-name-specifier; why not just represent it as a typename type? if (!QTy && NNS->getAsIdentifier() && NNS->getPrefix()) { - QTy = getASTContext().getTypenameType(NNS->getPrefix(), + QTy = getASTContext().getDependentNameType(NNS->getPrefix(), NNS->getAsIdentifier()) .getTypePtr(); } |