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 | 83f6faf37d9bf58986bedc9bc0ea897a56b4dbad (patch) | |
tree | 66c6f0270874fe1b36d0be3a6b555fd8b7349695 /lib/Sema/SemaChecking.cpp | |
parent | ab88d97734f1260402a0c6a8f6b77bed7ed4e295 (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@80642 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaChecking.cpp')
-rw-r--r-- | lib/Sema/SemaChecking.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Sema/SemaChecking.cpp b/lib/Sema/SemaChecking.cpp index cab807b999..24eb8b1d5e 100644 --- a/lib/Sema/SemaChecking.cpp +++ b/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. |