|
clang 22.0.0git
|
Public Member Functions | |
| ImmediateCallVisitor (const ASTContext &Ctx) | |
| bool | VisitCallExpr (CallExpr *E) override |
| bool | VisitCXXConstructExpr (CXXConstructExpr *E) override |
| bool | VisitSourceLocExpr (SourceLocExpr *E) override |
| bool | VisitLambdaExpr (LambdaExpr *E) override |
| bool | VisitCXXDefaultArgExpr (CXXDefaultArgExpr *E) override |
| bool | VisitCXXDefaultInitExpr (CXXDefaultInitExpr *E) override |
| Public Member Functions inherited from clang::DynamicRecursiveASTVisitorBase< false > | |
| virtual void | anchor () |
| virtual | ~DynamicRecursiveASTVisitorBase ()=default |
| virtual bool | TraverseAST (MaybeConst< ASTContext > &AST) |
| Recursively visits an entire AST, starting from the TranslationUnitDecl. | |
| virtual bool | TraverseAttr (MaybeConst< Attr > *At) |
| Recursively visit an attribute, by dispatching to Traverse*Attr() based on the argument's dynamic type. | |
| virtual bool | TraverseConstructorInitializer (MaybeConst< CXXCtorInitializer > *Init) |
| Recursively visit a constructor initializer. | |
| virtual bool | TraverseCXXBaseSpecifier (const CXXBaseSpecifier &Base) |
| Recursively visit a base specifier. | |
| virtual bool | TraverseDecl (MaybeConst< Decl > *D) |
| Recursively visit a declaration, by dispatching to Traverse*Decl() based on the argument's dynamic type. | |
| virtual bool | TraverseDeclarationNameInfo (DeclarationNameInfo NameInfo) |
| Recursively visit a name with its location information. | |
| virtual bool | TraverseLambdaCapture (MaybeConst< LambdaExpr > *LE, const LambdaCapture *C, MaybeConst< Expr > *Init) |
| Recursively visit a lambda capture. | |
| virtual bool | TraverseNestedNameSpecifier (NestedNameSpecifier NNS) |
| Recursively visit a C++ nested-name-specifier. | |
| virtual bool | TraverseNestedNameSpecifierLoc (NestedNameSpecifierLoc NNS) |
| Recursively visit a C++ nested-name-specifier with location information. | |
| virtual bool | TraverseStmt (MaybeConst< Stmt > *S) |
| Recursively visit a statement or expression, by dispatching to Traverse*() based on the argument's dynamic type. | |
| virtual bool | TraverseTemplateArgument (const TemplateArgument &Arg) |
| Recursively visit a template argument and dispatch to the appropriate method for the argument type. | |
| virtual bool | TraverseTemplateArgumentLoc (const TemplateArgumentLoc &ArgLoc) |
| Recursively visit a template argument location and dispatch to the appropriate method for the argument type. | |
| bool | TraverseTemplateArguments (ArrayRef< TemplateArgument > Args) |
| Recursively visit a set of template arguments. | |
| virtual bool | TraverseTemplateName (TemplateName Template) |
| Recursively visit a template name and dispatch to the appropriate method. | |
| virtual bool | TraverseType (QualType T, bool TraverseQualifier=true) |
| Recursively visit a type, by dispatching to Traverse*Type() based on the argument's getTypeClass() property. | |
| virtual bool | TraverseTypeLoc (TypeLoc TL, bool TraverseQualifier=true) |
| Recursively visit a type with location, by dispatching to Traverse*TypeLoc() based on the argument type's getTypeClass() property. | |
| virtual bool | TraverseObjCProtocolLoc (ObjCProtocolLoc ProtocolLoc) |
| Recursively visit an Objective-C protocol reference with location information. | |
| virtual bool | TraverseTypeConstraint (const TypeConstraint *C) |
| Traverse a concept (requirement). | |
| virtual bool | TraverseConceptRequirement (MaybeConst< concepts::Requirement > *R) |
| virtual bool | TraverseConceptTypeRequirement (MaybeConst< concepts::TypeRequirement > *R) |
| virtual bool | TraverseConceptExprRequirement (MaybeConst< concepts::ExprRequirement > *R) |
| virtual bool | TraverseConceptNestedRequirement (MaybeConst< concepts::NestedRequirement > *R) |
| virtual bool | TraverseConceptReference (MaybeConst< ConceptReference > *CR) |
| virtual bool | VisitConceptReference (MaybeConst< ConceptReference > *CR) |
| virtual bool | VisitAttr (MaybeConst< Attr > *A) |
| Visit a node. | |
| virtual bool | VisitDecl (MaybeConst< Decl > *D) |
| virtual bool | VisitStmt (MaybeConst< Stmt > *S) |
| virtual bool | VisitType (MaybeConst< Type > *T) |
| virtual bool | VisitTypeLoc (TypeLoc TL) |
| bool | WalkUpFromDecl (MaybeConst< Decl > *D) |
| Walk up from a node. | |
| bool | WalkUpFromStmt (MaybeConst< Stmt > *S) |
| bool | WalkUpFromType (MaybeConst< Type > *T) |
| bool | WalkUpFromTypeLoc (TypeLoc TL) |
| virtual bool | dataTraverseStmtPre (MaybeConst< Stmt > *S) |
| Invoked before visiting a statement or expression via data recursion. | |
| virtual bool | dataTraverseStmtPost (MaybeConst< Stmt > *S) |
| Invoked after visiting a statement or expression via data recursion. | |
| virtual bool | dataTraverseNode (MaybeConst< Stmt > *S) |
Public Attributes | |
| const ASTContext & | Context |
| bool | HasImmediateCalls = false |
| Public Attributes inherited from clang::DynamicRecursiveASTVisitorBase< false > | |
| bool | ShouldVisitTemplateInstantiations |
| Whether this visitor should recurse into template instantiations. | |
| bool | ShouldWalkTypesOfTypeLocs |
| Whether this visitor should recurse into the types of TypeLocs. | |
| bool | ShouldVisitImplicitCode |
| Whether this visitor should recurse into implicit code, e.g. | |
| bool | ShouldVisitLambdaBody |
| Whether this visitor should recurse into lambda body. | |
Additional Inherited Members | |
| Protected Types inherited from clang::DynamicRecursiveASTVisitorBase< false > | |
| using | MaybeConst |
| Protected Member Functions inherited from clang::DynamicRecursiveASTVisitorBase< false > | |
| DynamicRecursiveASTVisitorBase ()=default | |
| DynamicRecursiveASTVisitorBase (DynamicRecursiveASTVisitorBase &&)=default | |
| DynamicRecursiveASTVisitorBase (const DynamicRecursiveASTVisitorBase &)=default | |
| DynamicRecursiveASTVisitorBase & | operator= (DynamicRecursiveASTVisitorBase &&)=default |
| DynamicRecursiveASTVisitorBase & | operator= (const DynamicRecursiveASTVisitorBase &)=default |
Definition at line 5476 of file SemaExpr.cpp.
|
inline |
Definition at line 5478 of file SemaExpr.cpp.
References Context, and clang::DynamicRecursiveASTVisitorBase< false >::ShouldVisitImplicitCode.
Definition at line 5484 of file SemaExpr.cpp.
References clang::CallExpr::getDirectCallee(), HasImmediateCalls, and clang::DynamicRecursiveASTVisitorBase< false >::VisitStmt().
|
inlineoverride |
Definition at line 5490 of file SemaExpr.cpp.
References clang::CXXConstructExpr::getConstructor(), HasImmediateCalls, and clang::DynamicRecursiveASTVisitorBase< false >::VisitStmt().
|
inlineoverride |
Definition at line 5515 of file SemaExpr.cpp.
References clang::CXXDefaultArgExpr::getExpr(), and clang::DynamicRecursiveASTVisitorBase< false >::TraverseStmt().
|
inlineoverride |
Definition at line 5519 of file SemaExpr.cpp.
References clang::CXXDefaultInitExpr::getExpr(), and clang::DynamicRecursiveASTVisitorBase< false >::TraverseStmt().
|
inlineoverride |
Definition at line 5511 of file SemaExpr.cpp.
References clang::LambdaExpr::getCallOperator().
|
inlineoverride |
Definition at line 5500 of file SemaExpr.cpp.
References HasImmediateCalls, and clang::DynamicRecursiveASTVisitorBase< false >::VisitStmt().
| const ASTContext& ImmediateCallVisitor::Context |
Definition at line 5477 of file SemaExpr.cpp.
Referenced by ImmediateCallVisitor().
Definition at line 5482 of file SemaExpr.cpp.
Referenced by VisitCallExpr(), VisitCXXConstructExpr(), and VisitSourceLocExpr().