clang-tools 22.0.0git
clang::clangd::ForwardingToConstructorVisitor Class Reference
Inheritance diagram for clang::clangd::ForwardingToConstructorVisitor:
[legend]

Public Member Functions

 ForwardingToConstructorVisitor (llvm::DenseSet< const FunctionDecl * > &SeenFunctions, SmallVector< const CXXConstructorDecl *, 1 > &Output)
bool VisitCallExpr (CallExpr *E)
bool VisitCXXNewExpr (CXXNewExpr *E)

Public Attributes

llvm::DenseSet< const FunctionDecl * > & SeenFunctions
SmallVector< const CXXConstructorDecl *, 1 > & Constructors

Detailed Description

Definition at line 1063 of file AST.cpp.

Constructor & Destructor Documentation

◆ ForwardingToConstructorVisitor()

clang::clangd::ForwardingToConstructorVisitor::ForwardingToConstructorVisitor ( llvm::DenseSet< const FunctionDecl * > & SeenFunctions,
SmallVector< const CXXConstructorDecl *, 1 > & Output )
inline

Definition at line 1066 of file AST.cpp.

References Constructors, and SeenFunctions.

Referenced by VisitCallExpr().

Member Function Documentation

◆ VisitCallExpr()

bool clang::clangd::ForwardingToConstructorVisitor::VisitCallExpr ( CallExpr * E)
inline

◆ VisitCXXNewExpr()

bool clang::clangd::ForwardingToConstructorVisitor::VisitCXXNewExpr ( CXXNewExpr * E)
inline

Definition at line 1090 of file AST.cpp.

References clang::clangd::Constructor, and Constructors.

Member Data Documentation

◆ Constructors

SmallVector<const CXXConstructorDecl *, 1>& clang::clangd::ForwardingToConstructorVisitor::Constructors

Definition at line 1105 of file AST.cpp.

Referenced by ForwardingToConstructorVisitor(), VisitCallExpr(), and VisitCXXNewExpr().

◆ SeenFunctions

llvm::DenseSet<const FunctionDecl *>& clang::clangd::ForwardingToConstructorVisitor::SeenFunctions

Definition at line 1103 of file AST.cpp.

Referenced by ForwardingToConstructorVisitor(), and VisitCallExpr().


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