clang 20.0.0git
|
CXXFieldCollector - Used to keep track of CXXFieldDecls during parsing of C++ classes. More...
#include "clang/Sema/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 () |
getCurFields - Pointer to array of fields added to the currently parsed class. | |
void | FinishClass () |
FinishClass - Called by Sema::ActOnFinishCXXClassDef. | |
CXXFieldCollector - Used to keep track of CXXFieldDecls during parsing of C++ classes.
Definition at line 25 of file CXXFieldCollector.h.
|
inline |
Add - Called by Sema::ActOnCXXMemberDeclarator.
Definition at line 55 of file CXXFieldCollector.h.
References D.
|
inline |
FinishClass - Called by Sema::ActOnFinishCXXClassDef.
Definition at line 71 of file CXXFieldCollector.h.
References getCurNumFields().
|
inline |
getCurFields - Pointer to array of fields added to the currently parsed class.
Definition at line 68 of file CXXFieldCollector.h.
References getCurNumFields().
|
inline |
getCurNumField - The number of fields added to the currently parsed class.
Definition at line 61 of file CXXFieldCollector.h.
Referenced by FinishClass(), and getCurFields().
|
inline |
StartClass - Called by Sema::ActOnStartCXXClassDef.
Definition at line 52 of file CXXFieldCollector.h.