[cfe-commits] r77702 - /cfe/trunk/lib/Sema/SemaCXXScopeSpec.cpp
Douglas Gregor
dgregor at apple.com
Fri Jul 31 11:32:42 PDT 2009
Author: dgregor
Date: Fri Jul 31 13:32:42 2009
New Revision: 77702
URL: http://llvm.org/viewvc/llvm-project?rev=77702&view=rev
Log:
Remove a redundant getCanonicalType call
Modified:
cfe/trunk/lib/Sema/SemaCXXScopeSpec.cpp
Modified: cfe/trunk/lib/Sema/SemaCXXScopeSpec.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaCXXScopeSpec.cpp?rev=77702&r1=77701&r2=77702&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaCXXScopeSpec.cpp (original)
+++ cfe/trunk/lib/Sema/SemaCXXScopeSpec.cpp Fri Jul 31 13:32:42 2009
@@ -146,7 +146,7 @@
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())
More information about the cfe-commits
mailing list