Home
last modified time | relevance | path

Searched refs:DerivedDecl (Results 1 – 4 of 4) sorted by relevance

/external/llvm-project/clang-tools-extra/clang-tidy/cppcoreguidelines/
DSlicingCheck.cpp76 const Expr &Call, const CXXRecordDecl &DerivedDecl, in DiagnoseSlicedOverriddenMethods() argument
78 if (DerivedDecl.getCanonicalDecl() == BaseDecl.getCanonicalDecl()) in DiagnoseSlicedOverriddenMethods()
80 for (const auto *Method : DerivedDecl.methods()) { in DiagnoseSlicedOverriddenMethods()
88 << &DerivedDecl << &BaseDecl << Method; in DiagnoseSlicedOverriddenMethods()
92 for (const auto &Base : DerivedDecl.bases()) { in DiagnoseSlicedOverriddenMethods()
103 const auto *DerivedDecl = in check() local
107 assert(DerivedDecl != nullptr); in check()
119 DiagnoseSlicedOverriddenMethods(*Call, *DerivedDecl, *BaseDecl); in check()
125 DerivedDecl->getASTContext().getASTRecordLayout(DerivedDecl); in check()
131 << DerivedDecl << BaseDecl << static_cast<int>(StateSize.getQuantity()); in check()
DSlicingCheck.h36 const CXXRecordDecl &DerivedDecl,
/external/clang/lib/AST/
DExprConstant.cpp1974 const CXXRecordDecl *DerivedDecl, in HandleLValueBase() argument
1979 return HandleLValueDirectBase(Info, E, Obj, DerivedDecl, BaseDecl); in HandleLValueBase()
1986 DerivedDecl = D.MostDerivedType->getAsCXXRecordDecl(); in HandleLValueBase()
1987 if (!CastToDerivedClass(Info, E, Obj, DerivedDecl, D.MostDerivedPathLength)) in HandleLValueBase()
1991 if (DerivedDecl->isInvalidDecl()) return false; in HandleLValueBase()
1992 const ASTRecordLayout &Layout = Info.Ctx.getASTRecordLayout(DerivedDecl); in HandleLValueBase()
/external/llvm-project/clang/lib/AST/
DExprConstant.cpp3062 const CXXRecordDecl *DerivedDecl, in HandleLValueBase() argument
3067 return HandleLValueDirectBase(Info, E, Obj, DerivedDecl, BaseDecl); in HandleLValueBase()
3074 DerivedDecl = D.MostDerivedType->getAsCXXRecordDecl(); in HandleLValueBase()
3075 if (!CastToDerivedClass(Info, E, Obj, DerivedDecl, D.MostDerivedPathLength)) in HandleLValueBase()
3079 if (DerivedDecl->isInvalidDecl()) return false; in HandleLValueBase()
3080 const ASTRecordLayout &Layout = Info.Ctx.getASTRecordLayout(DerivedDecl); in HandleLValueBase()