clang API Documentation
A class for parsing a declarator. More...
#include <RAIIObjectsForParser.h>
Public Member Functions | |
ParsingDeclarator (Parser &P, const ParsingDeclSpec &DS, TheContext C) | |
const ParsingDeclSpec & | getDeclSpec () const |
ParsingDeclSpec & | getMutableDeclSpec () const |
void | clear () |
Reset the contents of this Declarator. | |
void | complete (Decl *D) |
A class for parsing a declarator.
Definition at line 194 of file RAIIObjectsForParser.h.
clang::ParsingDeclarator::ParsingDeclarator | ( | Parser & | P, |
const ParsingDeclSpec & | DS, | ||
TheContext | C | ||
) | [inline] |
Definition at line 198 of file RAIIObjectsForParser.h.
void clang::ParsingDeclarator::clear | ( | ) | [inline] |
Reset the contents of this Declarator.
Reimplemented from clang::Declarator.
Definition at line 210 of file RAIIObjectsForParser.h.
References clang::ParsingDeclRAIIObject::reset().
void clang::ParsingDeclarator::complete | ( | Decl * | D | ) | [inline] |
Definition at line 215 of file RAIIObjectsForParser.h.
References clang::ParsingDeclRAIIObject::complete().
const ParsingDeclSpec& clang::ParsingDeclarator::getDeclSpec | ( | ) | const [inline] |
getDeclSpec - Return the declaration-specifier that this declarator was declared with.
Reimplemented from clang::Declarator.
Definition at line 202 of file RAIIObjectsForParser.h.
Referenced by getMutableDeclSpec().
ParsingDeclSpec& clang::ParsingDeclarator::getMutableDeclSpec | ( | ) | const [inline] |
Definition at line 206 of file RAIIObjectsForParser.h.
References getDeclSpec().