[cfe-commits] r85851 - in /cfe/trunk: include/clang/Basic/DiagnosticParseKinds.td include/clang/Parse/DeclSpec.h include/clang/Parse/Parser.h lib/Parse/DeclSpec.cpp lib/Parse/ParseDecl.cpp lib/Parse/ParseDeclCXX.cpp lib/Parse/ParseExprCXX.cpp lib/Sema/SemaDecl.cpp lib/Sema/SemaDeclCXX.cpp lib/Sema/SemaTemplate.cpp lib/Sema/SemaType.cpp test/CXX/temp/temp.spec/temp.explicit/p3.cpp test/SemaCXX/constructor.cpp test/SemaTemplate/constructor-template.cpp
sebastian.redl at getdesigned.at
Tue Nov 3 04:06:16 PST 2009
Douglas Gregor wrote:
> Author: dgregor
> Date: Mon Nov 2 19:35:08 2009
> New Revision: 85851
> URL: http://llvm.org/viewvc/llvm-project?rev=85851&view=rev
> Introduce a new class, UnqualifiedId, that provides a parsed
> representation of a C++ unqualified-id, along with a single parsing
> function (Parser::ParseUnqualifiedId) that will parse all of the
> various forms of unqualified-id in C++.
> Replace the representation of the declarator name in Declarator with
> the new UnqualifiedId class, simplifying declarator-id parsing
> considerably and providing more source-location information to
> Sema. In the future, I hope to migrate all of the other
> unqualified-id-parsing code over to this single representation, then
> begin to merge actions that are currently only different because we
> didn't have a unqualified notion of the name in the parser.
Awesome, looking good.
More information about the cfe-commits