clang API Documentation

Public Member Functions
clang::CXXFieldCollector Class Reference

#include <CXXFieldCollector.h>

List of all members.

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.

Detailed Description

CXXFieldCollector - Used to keep track of CXXFieldDecls during parsing of C++ classes.

Definition at line 26 of file CXXFieldCollector.h.


Member Function Documentation

void clang::CXXFieldCollector::Add ( FieldDecl D) [inline]

Add - Called by Sema::ActOnCXXMemberDeclarator.

Definition at line 56 of file CXXFieldCollector.h.

FinishClass - Called by Sema::ActOnFinishCXXClassDef.

Definition at line 72 of file CXXFieldCollector.h.

References getCurNumFields().

getCurFields - Pointer to array of fields added to the currently parsed class.

Definition at line 69 of file CXXFieldCollector.h.

References getCurNumFields().

getCurNumField - The number of fields added to the currently parsed class.

Definition at line 62 of file CXXFieldCollector.h.

Referenced by FinishClass(), and getCurFields().

StartClass - Called by Sema::ActOnStartCXXClassDef.

Definition at line 53 of file CXXFieldCollector.h.


The documentation for this class was generated from the following file: