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