clang API Documentation
#include <CXXFieldCollector.h>
Public Member Functions | |
void | StartClass () |
StartClass - Called by Sema::ActOnStartCXXClassDef. | |
void | Add (FieldDecl *D) |
Add - Called by Sema::ActOnCXXMemberDeclarator. | |
size_t | getCurNumFields () const |
getCurNumField - The number of fields added to the currently parsed class. | |
FieldDecl ** | getCurFields () |
void | FinishClass () |
FinishClass - Called by Sema::ActOnFinishCXXClassDef. |
CXXFieldCollector - Used to keep track of CXXFieldDecls during parsing of C++ classes.
Definition at line 26 of file CXXFieldCollector.h.
void clang::CXXFieldCollector::Add | ( | FieldDecl * | D | ) | [inline] |
Add - Called by Sema::ActOnCXXMemberDeclarator.
Definition at line 56 of file CXXFieldCollector.h.
void clang::CXXFieldCollector::FinishClass | ( | ) | [inline] |
FinishClass - Called by Sema::ActOnFinishCXXClassDef.
Definition at line 72 of file CXXFieldCollector.h.
References getCurNumFields().
FieldDecl** clang::CXXFieldCollector::getCurFields | ( | ) | [inline] |
getCurFields - Pointer to array of fields added to the currently parsed class.
Definition at line 69 of file CXXFieldCollector.h.
References getCurNumFields().
size_t clang::CXXFieldCollector::getCurNumFields | ( | ) | const [inline] |
getCurNumField - The number of fields added to the currently parsed class.
Definition at line 62 of file CXXFieldCollector.h.
Referenced by FinishClass(), and getCurFields().
void clang::CXXFieldCollector::StartClass | ( | ) | [inline] |
StartClass - Called by Sema::ActOnStartCXXClassDef.
Definition at line 53 of file CXXFieldCollector.h.