aboutsummaryrefslogtreecommitdiff
path: root/lib/Sema/SemaType.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2010-03-31 17:34:00 +0000
committerDouglas Gregor <dgregor@apple.com>2010-03-31 17:34:00 +0000
commit4714c12a1ab759156b78be8f109ea4c12213af57 (patch)
tree3cce0fb0df1ef6611c458af0d5618a69ea930395 /lib/Sema/SemaType.cpp
parent275313cbb0847f1f117f60d144d113804d4fa42d (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/Sema/SemaType.cpp')
-rw-r--r--lib/Sema/SemaType.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Sema/SemaType.cpp b/lib/Sema/SemaType.cpp
index 2c6cc7fc9d..cc6b7a8219 100644
--- a/lib/Sema/SemaType.cpp
+++ b/lib/Sema/SemaType.cpp
@@ -1262,7 +1262,7 @@ QualType Sema::GetTypeForDeclarator(Declarator &D, Scope *S,
NestedNameSpecifier *NNSPrefix = NNS->getPrefix();
switch (NNS->getKind()) {
case NestedNameSpecifier::Identifier:
- ClsType = Context.getTypenameType(NNSPrefix, NNS->getAsIdentifier());
+ ClsType = Context.getDependentNameType(NNSPrefix, NNS->getAsIdentifier());
break;
case NestedNameSpecifier::Namespace: