15 #ifndef LLVM_CLANG_SEMA_CXXFIELDCOLLECTOR_H 16 #define LLVM_CLANG_SEMA_CXXFIELDCOLLECTOR_H 19 #include "llvm/ADT/SmallVector.h" 63 assert(!FieldCount.empty() &&
"no currently-parsed class");
64 return FieldCount.back();
74 FieldCount.pop_back();
void FinishClass()
FinishClass - Called by Sema::ActOnFinishCXXClassDef.
CXXFieldCollector - Used to keep track of CXXFieldDecls during parsing of C++ classes.
size_t getCurNumFields() const
getCurNumField - The number of fields added to the currently parsed class.
void StartClass()
StartClass - Called by Sema::ActOnStartCXXClassDef.
Represents a member of a struct/union/class.
Forward-declares and imports various common LLVM datatypes that clang wants to use unqualified...
void Add(FieldDecl *D)
Add - Called by Sema::ActOnCXXMemberDeclarator.
Dataflow Directional Tag Classes.
FieldDecl ** getCurFields()
getCurFields - Pointer to array of fields added to the currently parsed class.