diff options
author | Douglas Gregor <dgregor@apple.com> | 2009-11-03 01:35:08 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2009-11-03 01:35:08 +0000 |
commit | 7861a803467c3c2f58bed9bca82980f5122ea19a (patch) | |
tree | 9d7f4cf2c362f25042ec9490ca3f534ea5719ab7 /clang/lib/Basic/SourceManager.cpp | |
parent | d195f9e5c31b91ce970bd0ae4f9998b951f18cc4 (diff) | |
download | llvm-7861a803467c3c2f58bed9bca82980f5122ea19a.zip llvm-7861a803467c3c2f58bed9bca82980f5122ea19a.tar.gz llvm-7861a803467c3c2f58bed9bca82980f5122ea19a.tar.bz2 |
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.
llvm-svn: 85851
Diffstat (limited to 'clang/lib/Basic/SourceManager.cpp')
0 files changed, 0 insertions, 0 deletions