clang-tools 20.0.0git
Public Member Functions | List of all members
CollectEntitiesVisitor Class Reference
Inheritance diagram for CollectEntitiesVisitor:
Inheritance graph
[legend]

Public Member Functions

 CollectEntitiesVisitor (SourceManager &SM, EntityMap &Entities, Preprocessor &PP, PreprocessorTracker &PPTracker, int &HadErrors)
 
bool TraverseStmt (Stmt *S)
 
bool TraverseType (QualType T)
 
bool TraverseTypeLoc (TypeLoc TL)
 
bool TraverseNestedNameSpecifier (NestedNameSpecifier *NNS)
 
bool TraverseNestedNameSpecifierLoc (NestedNameSpecifierLoc NNS)
 
bool TraverseDeclarationNameInfo (DeclarationNameInfo NameInfo)
 
bool TraverseTemplateName (TemplateName Template)
 
bool TraverseTemplateArgument (const TemplateArgument &Arg)
 
bool TraverseTemplateArgumentLoc (const TemplateArgumentLoc &ArgLoc)
 
bool TraverseTemplateArguments (ArrayRef< TemplateArgument >)
 
bool TraverseConstructorInitializer (CXXCtorInitializer *Init)
 
bool TraverseLambdaCapture (LambdaExpr *LE, const LambdaCapture *C, Expr *Init)
 
bool VisitLinkageSpecDecl (LinkageSpecDecl *D)
 
bool VisitNamespaceDecl (const NamespaceDecl *D)
 
bool VisitNamedDecl (NamedDecl *ND)
 

Detailed Description

Definition at line 535 of file Modularize.cpp.

Constructor & Destructor Documentation

◆ CollectEntitiesVisitor()

CollectEntitiesVisitor::CollectEntitiesVisitor ( SourceManager &  SM,
EntityMap Entities,
Preprocessor &  PP,
PreprocessorTracker PPTracker,
int &  HadErrors 
)
inline

Definition at line 538 of file Modularize.cpp.

Member Function Documentation

◆ TraverseConstructorInitializer()

bool CollectEntitiesVisitor::TraverseConstructorInitializer ( CXXCtorInitializer *  Init)
inline

Definition at line 560 of file Modularize.cpp.

◆ TraverseDeclarationNameInfo()

bool CollectEntitiesVisitor::TraverseDeclarationNameInfo ( DeclarationNameInfo  NameInfo)
inline

Definition at line 551 of file Modularize.cpp.

◆ TraverseLambdaCapture()

bool CollectEntitiesVisitor::TraverseLambdaCapture ( LambdaExpr *  LE,
const LambdaCapture *  C,
Expr *  Init 
)
inline

Definition at line 561 of file Modularize.cpp.

◆ TraverseNestedNameSpecifier()

bool CollectEntitiesVisitor::TraverseNestedNameSpecifier ( NestedNameSpecifier *  NNS)
inline

Definition at line 547 of file Modularize.cpp.

◆ TraverseNestedNameSpecifierLoc()

bool CollectEntitiesVisitor::TraverseNestedNameSpecifierLoc ( NestedNameSpecifierLoc  NNS)
inline

Definition at line 548 of file Modularize.cpp.

◆ TraverseStmt()

bool CollectEntitiesVisitor::TraverseStmt ( Stmt *  S)
inline

Definition at line 544 of file Modularize.cpp.

◆ TraverseTemplateArgument()

bool CollectEntitiesVisitor::TraverseTemplateArgument ( const TemplateArgument &  Arg)
inline

Definition at line 555 of file Modularize.cpp.

◆ TraverseTemplateArgumentLoc()

bool CollectEntitiesVisitor::TraverseTemplateArgumentLoc ( const TemplateArgumentLoc &  ArgLoc)
inline

Definition at line 556 of file Modularize.cpp.

◆ TraverseTemplateArguments()

bool CollectEntitiesVisitor::TraverseTemplateArguments ( ArrayRef< TemplateArgument >  )
inline

Definition at line 559 of file Modularize.cpp.

◆ TraverseTemplateName()

bool CollectEntitiesVisitor::TraverseTemplateName ( TemplateName  Template)
inline

Definition at line 554 of file Modularize.cpp.

◆ TraverseType()

bool CollectEntitiesVisitor::TraverseType ( QualType  T)
inline

Definition at line 545 of file Modularize.cpp.

◆ TraverseTypeLoc()

bool CollectEntitiesVisitor::TraverseTypeLoc ( TypeLoc  TL)
inline

Definition at line 546 of file Modularize.cpp.

◆ VisitLinkageSpecDecl()

bool CollectEntitiesVisitor::VisitLinkageSpecDecl ( LinkageSpecDecl *  D)
inline

◆ VisitNamedDecl()

bool CollectEntitiesVisitor::VisitNamedDecl ( NamedDecl *  ND)
inline

Definition at line 600 of file Modularize.cpp.

References EntityMap::add(), Entry::EK_Tag, Entry::EK_Value, Loc, Name, and OS.

◆ VisitNamespaceDecl()

bool CollectEntitiesVisitor::VisitNamespaceDecl ( const NamespaceDecl *  D)
inline

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