]> granicus.if.org Git - clang/commit
Replace the code that parses member access expressions after "." or
authorDouglas Gregor <dgregor@apple.com>
Tue, 3 Nov 2009 19:44:04 +0000 (19:44 +0000)
committerDouglas Gregor <dgregor@apple.com>
Tue, 3 Nov 2009 19:44:04 +0000 (19:44 +0000)
commit2d1c21414199a7452f122598189363a3922605b1
tree927e5c12e6a452e070293b13047f49a08db4a140
parent6c94a6d77f456f23ecd4c2061e6413786b5e6571
Replace the code that parses member access expressions after "." or
"->" with a use of ParseUnqualifiedId. Collapse
ActOnMemberReferenceExpr, ActOnDestructorReferenceExpr (both of them),
ActOnOverloadedOperatorReferenceExpr,
ActOnConversionOperatorReferenceExpr, and
ActOnMemberTemplateIdReferenceExpr into a single, new action
ActOnMemberAccessExpr that does the same thing more cleanly (and can
keep more source-location information).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@85930 91177308-0d34-0410-b5e6-96231b3b80d8
13 files changed:
include/clang/Basic/DiagnosticParseKinds.td
include/clang/Basic/DiagnosticSemaKinds.td
include/clang/Parse/Action.h
include/clang/Parse/Parser.h
lib/Parse/ParseDecl.cpp
lib/Parse/ParseExpr.cpp
lib/Parse/ParseExprCXX.cpp
lib/Sema/Sema.h
lib/Sema/SemaExpr.cpp
lib/Sema/SemaExprCXX.cpp
lib/Sema/SemaTemplate.cpp
lib/Sema/TreeTransform.h
test/SemaCXX/invalid-member-expr.cpp