diff options
author | Douglas Gregor <dgregor@apple.com> | 2009-08-31 23:41:50 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2009-08-31 23:41:50 +0000 |
commit | f405d7e6f11ccbb5d69d180e3707740ab8728ade (patch) | |
tree | 72330fe0f0a1f2caae86b4a4cc543b1dc5eef99e /clang/lib/Sema/SemaChecking.cpp | |
parent | b2de5fa6891b3c1f751b26bd8d0bea978a274d54 (diff) | |
download | bcm5719-llvm-f405d7e6f11ccbb5d69d180e3707740ab8728ade.tar.gz bcm5719-llvm-f405d7e6f11ccbb5d69d180e3707740ab8728ade.zip |
Eliminate CXXAdornedMemberExpr entirely. Instead, optionally allocate
space within the MemberExpr for the nested-name-specifier and its
source range. We'll do the same thing with explicitly-specified
template arguments, assuming I don't flip-flop again.
llvm-svn: 80642
Diffstat (limited to 'clang/lib/Sema/SemaChecking.cpp')
-rw-r--r-- | clang/lib/Sema/SemaChecking.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/lib/Sema/SemaChecking.cpp b/clang/lib/Sema/SemaChecking.cpp index cab807b999a..24eb8b1d5e0 100644 --- a/clang/lib/Sema/SemaChecking.cpp +++ b/clang/lib/Sema/SemaChecking.cpp @@ -1456,8 +1456,7 @@ static DeclRefExpr* EvalVal(Expr *E) { } // Accesses to members are potential references to data on the stack. - case Stmt::MemberExprClass: - case Stmt::CXXAdornedMemberExprClass: { + case Stmt::MemberExprClass: { MemberExpr *M = cast<MemberExpr>(E); // Check for indirect access. We only want direct field accesses. |