clang  6.0.0svn
Public Member Functions | List of all members
clang::Sema::InheritedConstructorInfo Class Reference

Public Member Functions

 InheritedConstructorInfo (Sema &S, SourceLocation UseLoc, ConstructorUsingShadowDecl *Shadow)
 
std::pair< CXXConstructorDecl *, boolfindConstructorForBase (CXXRecordDecl *Base, CXXConstructorDecl *Ctor) const
 Find the constructor to use for inherited construction of a base class, and whether that base class constructor inherits the constructor from a virtual base class (in which case it won't actually invoke it). More...
 

Detailed Description

Definition at line 5983 of file SemaDeclCXX.cpp.

Constructor & Destructor Documentation

◆ InheritedConstructorInfo()

clang::Sema::InheritedConstructorInfo::InheritedConstructorInfo ( Sema S,
SourceLocation  UseLoc,
ConstructorUsingShadowDecl Shadow 
)
inline

Member Function Documentation

◆ findConstructorForBase()

std::pair<CXXConstructorDecl *, bool> clang::Sema::InheritedConstructorInfo::findConstructorForBase ( CXXRecordDecl Base,
CXXConstructorDecl Ctor 
) const
inline

Find the constructor to use for inherited construction of a base class, and whether that base class constructor inherits the constructor from a virtual base class (in which case it won't actually invoke it).

Definition at line 6048 of file SemaDeclCXX.cpp.

References clang::Sema::findInheritingConstructor(), and clang::CXXRecordDecl::getCanonicalDecl().

Referenced by clang::Sema::DefineInheritingConstructor().


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