clang 22.0.0git
clang::InheritedConstructor Class Reference

Description of a constructor that was inherited from a base class. More...

#include "clang/AST/DeclCXX.h"

Public Member Functions

 InheritedConstructor ()=default
 InheritedConstructor (ConstructorUsingShadowDecl *Shadow, CXXConstructorDecl *BaseCtor)
 operator bool () const
ConstructorUsingShadowDeclgetShadowDecl () const
CXXConstructorDeclgetConstructor () const

Detailed Description

Description of a constructor that was inherited from a base class.

Definition at line 2575 of file DeclCXX.h.

Constructor & Destructor Documentation

◆ InheritedConstructor() [1/2]

clang::InheritedConstructor::InheritedConstructor ( )
default

◆ InheritedConstructor() [2/2]

clang::InheritedConstructor::InheritedConstructor ( ConstructorUsingShadowDecl * Shadow,
CXXConstructorDecl * BaseCtor )
inline

Definition at line 2581 of file DeclCXX.h.

Member Function Documentation

◆ getConstructor()

CXXConstructorDecl * clang::InheritedConstructor::getConstructor ( ) const
inline

Definition at line 2588 of file DeclCXX.h.

Referenced by clang::ASTNodeImporter::ImportInheritedConstructor().

◆ getShadowDecl()

◆ operator bool()

clang::InheritedConstructor::operator bool ( ) const
inlineexplicit

Definition at line 2585 of file DeclCXX.h.


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