Remove a redundant getCanonicalType call

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@77702 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Douglas Gregor 2009-07-31 18:32:42 +00:00
Родитель f121677b6b
Коммит 1560def1f7
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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())