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 | b9a955dc1d11882aa61fad01a308ea834b129de6 (patch) | |
tree | 9401759c3f08e455c81d7808153a764feac4142e | |
parent | f6d0fa3d3366e5a91b10ace93eeb61aae9812317 (diff) | |
download | bcm5719-llvm-b9a955dc1d11882aa61fad01a308ea834b129de6.tar.gz bcm5719-llvm-b9a955dc1d11882aa61fad01a308ea834b129de6.zip |
Remove a redundant getCanonicalType call
llvm-svn: 77702
-rw-r--r-- | clang/lib/Sema/SemaCXXScopeSpec.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Sema/SemaCXXScopeSpec.cpp b/clang/lib/Sema/SemaCXXScopeSpec.cpp index 076685b8084..27e0ccf7d5b 100644 --- a/clang/lib/Sema/SemaCXXScopeSpec.cpp +++ b/clang/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()) |