summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaChecking.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2009-08-31 23:41:50 +0000
committerDouglas Gregor <dgregor@apple.com>2009-08-31 23:41:50 +0000
commitf405d7e6f11ccbb5d69d180e3707740ab8728ade (patch)
tree72330fe0f0a1f2caae86b4a4cc543b1dc5eef99e /clang/lib/Sema/SemaChecking.cpp
parentb2de5fa6891b3c1f751b26bd8d0bea978a274d54 (diff)
downloadbcm5719-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.cpp3
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.
OpenPOWER on IntegriCloud