]> granicus.if.org Git - clang/commit
Use ParseUnqualifiedId when parsing id-expressions. This eliminates
authorDouglas Gregor <dgregor@apple.com>
Tue, 3 Nov 2009 16:56:39 +0000 (16:56 +0000)
committerDouglas Gregor <dgregor@apple.com>
Tue, 3 Nov 2009 16:56:39 +0000 (16:56 +0000)
commit02a24ee67c0a91bdb0db8a651d5748595652e670
treee687566492ebc52b0c8f251256314ce69df48bcc
parent519202d315e3f74f42d8a1dea7b2f23dee1a66f0
Use ParseUnqualifiedId when parsing id-expressions. This eliminates
yet another copy of the unqualified-id parsing code.

Also, use UnqualifiedId to simplify the Action interface for building
id-expressions. ActOnIdentifierExpr, ActOnCXXOperatorFunctionIdExpr,
ActOnCXXConversionFunctionExpr, and ActOnTemplateIdExpr have all been
removed in favor of the new ActOnIdExpression action.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@85904 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Parse/Action.h
include/clang/Parse/Parser.h
lib/Parse/ParseExpr.cpp
lib/Parse/ParseExprCXX.cpp
lib/Sema/Sema.h
lib/Sema/SemaDecl.cpp
lib/Sema/SemaExpr.cpp
lib/Sema/SemaExprCXX.cpp