diff options
| author | Douglas Gregor <dgregor@apple.com> | 2009-08-06 05:28:30 +0000 |
|---|---|---|
| committer | Douglas Gregor <dgregor@apple.com> | 2009-08-06 05:28:30 +0000 |
| commit | 1135c35c7c4328027fd7faf8cc06aa039da52bbf (patch) | |
| tree | d77adccb24c74f2003d6403f879ef1817d01a5fb /clang/lib/Sema/SemaExpr.cpp | |
| parent | 54bd637f40281b5ce78fc1048103987ca7876017 (diff) | |
| download | bcm5719-llvm-1135c35c7c4328027fd7faf8cc06aa039da52bbf.tar.gz bcm5719-llvm-1135c35c7c4328027fd7faf8cc06aa039da52bbf.zip | |
Implement transformation of nested-name-specifiers within the general
tree transformation. Template instantiation uses this general
transformation rather than implementing its own transformation.
llvm-svn: 78286
Diffstat (limited to 'clang/lib/Sema/SemaExpr.cpp')
| -rw-r--r-- | clang/lib/Sema/SemaExpr.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/lib/Sema/SemaExpr.cpp b/clang/lib/Sema/SemaExpr.cpp index 76296c690cc..7ef30d36475 100644 --- a/clang/lib/Sema/SemaExpr.cpp +++ b/clang/lib/Sema/SemaExpr.cpp @@ -2181,8 +2181,7 @@ Sema::ActOnMemberReferenceExpr(Scope *S, ExprArg Base, SourceLocation OpLoc, = LookupQualifiedName(DC, DeclarationName(&Member), LookupMemberName, false); - if (SS && SS->isSet()) - { + if (SS && SS->isSet()) { QualType BaseTypeCanon = Context.getCanonicalType(BaseType).getUnqualifiedType(); QualType MemberTypeCanon |

