clang-tools  14.0.0git
Public Member Functions | List of all members
CollectEntitiesVisitor Class Reference
Inheritance diagram for CollectEntitiesVisitor:
Inheritance graph
[legend]
Collaboration diagram for CollectEntitiesVisitor:
Collaboration 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 (const TemplateArgument *Args, unsigned NumArgs)
 
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 541 of file Modularize.cpp.

Constructor & Destructor Documentation

◆ CollectEntitiesVisitor()

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

Definition at line 544 of file Modularize.cpp.

Member Function Documentation

◆ TraverseConstructorInitializer()

bool CollectEntitiesVisitor::TraverseConstructorInitializer ( CXXCtorInitializer *  Init)
inline

Definition at line 569 of file Modularize.cpp.

◆ TraverseDeclarationNameInfo()

bool CollectEntitiesVisitor::TraverseDeclarationNameInfo ( DeclarationNameInfo  NameInfo)
inline

Definition at line 557 of file Modularize.cpp.

◆ TraverseLambdaCapture()

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

Definition at line 570 of file Modularize.cpp.

◆ TraverseNestedNameSpecifier()

bool CollectEntitiesVisitor::TraverseNestedNameSpecifier ( NestedNameSpecifier *  NNS)
inline

Definition at line 553 of file Modularize.cpp.

◆ TraverseNestedNameSpecifierLoc()

bool CollectEntitiesVisitor::TraverseNestedNameSpecifierLoc ( NestedNameSpecifierLoc  NNS)
inline

Definition at line 554 of file Modularize.cpp.

◆ TraverseStmt()

bool CollectEntitiesVisitor::TraverseStmt ( Stmt *  S)
inline

Definition at line 550 of file Modularize.cpp.

◆ TraverseTemplateArgument()

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

Definition at line 561 of file Modularize.cpp.

◆ TraverseTemplateArgumentLoc()

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

Definition at line 562 of file Modularize.cpp.

◆ TraverseTemplateArguments()

bool CollectEntitiesVisitor::TraverseTemplateArguments ( const TemplateArgument *  Args,
unsigned  NumArgs 
)
inline

Definition at line 565 of file Modularize.cpp.

◆ TraverseTemplateName()

bool CollectEntitiesVisitor::TraverseTemplateName ( TemplateName  Template)
inline

Definition at line 560 of file Modularize.cpp.

◆ TraverseType()

bool CollectEntitiesVisitor::TraverseType ( QualType  T)
inline

Definition at line 551 of file Modularize.cpp.

◆ TraverseTypeLoc()

bool CollectEntitiesVisitor::TraverseTypeLoc ( TypeLoc  TL)
inline

Definition at line 552 of file Modularize.cpp.

◆ VisitLinkageSpecDecl()

bool CollectEntitiesVisitor::VisitLinkageSpecDecl ( LinkageSpecDecl *  D)
inline

Definition at line 576 of file Modularize.cpp.

References ns1::ns2::D.

◆ VisitNamedDecl()

bool CollectEntitiesVisitor::VisitNamedDecl ( NamedDecl *  ND)
inline

Definition at line 609 of file Modularize.cpp.

References Entry::EK_Tag, Entry::EK_Value, Loc, Name, OS, and SM.

◆ VisitNamespaceDecl()

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

Definition at line 597 of file Modularize.cpp.

References ns1::ns2::D, and Label.


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