diff options
author | Douglas Gregor <dgregor@apple.com> | 2010-02-25 04:46:04 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2010-02-25 04:46:04 +0000 |
commit | edc90500b1d2587bf0b698fada14537d6741fddf (patch) | |
tree | eec1022df7b9f1f89646a4a8da186aa978e42c77 /lib/Sema/SemaTemplate.cpp | |
parent | b954e98893505d401acddac42650a81b83d8dc39 (diff) |
Restore the invariant that a nested-name-specifier can only contain
class types, dependent types, and namespaces. I had previously
weakened this invariant while working on parsing pseudo-destructor
expressions, but recent work in that area has made these changes
unnecessary.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97112 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaTemplate.cpp')
-rw-r--r-- | lib/Sema/SemaTemplate.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/Sema/SemaTemplate.cpp b/lib/Sema/SemaTemplate.cpp index 0d5c50ab1b..c98f88f86a 100644 --- a/lib/Sema/SemaTemplate.cpp +++ b/lib/Sema/SemaTemplate.cpp @@ -4925,7 +4925,6 @@ CurrentInstantiationRebuilder::TransformTypenameType(TypeLocBuilder &TLB, NestedNameSpecifier *NNS = TransformNestedNameSpecifier(T->getQualifier(), /*FIXME:*/SourceRange(getBaseLocation()), - false, ObjectType); if (!NNS) return QualType(); |