diff options
author | Douglas Gregor <dgregor@apple.com> | 2009-07-31 18:32:42 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2009-07-31 18:32:42 +0000 |
commit | 1560def1f796c0e5db6026fe366759623c9f13c2 (patch) | |
tree | 7cb72629d51365cf66d72b86ad662908b506d3fb /lib/Sema/SemaCXXScopeSpec.cpp | |
parent | f121677b6bbbf4e4a51ee7a1120b77adf187bad4 (diff) |
Remove a redundant getCanonicalType call
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@77702 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaCXXScopeSpec.cpp')
-rw-r--r-- | lib/Sema/SemaCXXScopeSpec.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Sema/SemaCXXScopeSpec.cpp b/lib/Sema/SemaCXXScopeSpec.cpp index 076685b808..27e0ccf7d5 100644 --- a/lib/Sema/SemaCXXScopeSpec.cpp +++ b/lib/Sema/SemaCXXScopeSpec.cpp @@ -146,7 +146,7 @@ CXXRecordDecl *Sema::getCurrentInstantiationOf(NestedNameSpecifier *NNS) { if (!NNS->getAsType()) return 0; - QualType T = Context.getCanonicalType(QualType(NNS->getAsType(), 0)); + QualType T = QualType(NNS->getAsType(), 0); // If the nested name specifier does not refer to a type, then it // does not refer to the current instantiation. if (T.isNull()) |