reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/include/clang/AST/ASTLambda.h
   48   return C ? C->getParent()->isLambda() : false;
tools/clang/lib/AST/CXXInheritance.cpp
  755               OP.Method->getParent()->isVirtuallyDerivedFrom(
tools/clang/lib/AST/DeclBase.cpp
  977         MD->getParent()->isLambda())
  978       return getNonClosureContext(MD->getParent()->getParent());
tools/clang/lib/AST/DeclCXX.cpp
 1992   if (this->getParent()->getCanonicalDecl() == RD->getCanonicalDecl())
tools/clang/lib/AST/Expr.cpp
 3165         CE->getConstructor()->getParent()->hasTrivialDestructor()) {
tools/clang/lib/AST/ExprConstant.cpp
 4935         << CD->getInheritedConstructor().getConstructor()->getParent();
tools/clang/lib/AST/Interp/Interp.cpp
  361           << CD->getInheritedConstructor().getConstructor()->getParent();
tools/clang/lib/AST/ItaniumMangle.cpp
 1427       InheritedFrom = Inherited.getConstructor()->getParent();
tools/clang/lib/AST/TypePrinter.cpp
 1243         IsLambdaAutoParam = D->isImplicit() && M->getParent()->isLambda();
tools/clang/lib/AST/VTableBuilder.cpp
  195       const CXXRecordDecl *OverriderRD = Method.Method->getParent();
tools/clang/lib/Analysis/ThreadSafety.cpp
 2125   return CXXConstructExpr::Create(Ctx, Ctx.getRecordType(CD->getParent()), Loc,
tools/clang/lib/CodeGen/CGExprCXX.cpp
 1137       if (!CCE->requiresZeroInitialization() || Ctor->getParent()->isEmpty())
tools/clang/lib/Parse/ParseCXXInlineMethods.cpp
  417     Sema::CXXThisScopeRAII ThisScope(Actions, Method->getParent(),
tools/clang/lib/Sema/SemaAccess.cpp
 1571   AccessTarget entity(Context, AccessTarget::Member, decl->getParent(),
 1598   CXXRecordDecl *NamingClass = Dtor->getParent();
 1662   CXXRecordDecl *NamingClass = Constructor->getParent();
 1675     ObjectClass = cast<CXXConstructorDecl>(CurContext)->getParent();
tools/clang/lib/Sema/SemaCUDA.cpp
  273   bool InClass = MemberDecl->getLexicalParent() == MemberDecl->getParent();
  425   if (CD->getParent()->isDynamicClass())
  461   const CXXRecordDecl *ClassDecl = DD->getParent();
tools/clang/lib/Sema/SemaCXXScopeSpec.cpp
  285         RD = MD->getParent();
tools/clang/lib/Sema/SemaCast.cpp
 1547                       Self.Context.getTypeDeclType(M->getParent()).getTypePtr());
tools/clang/lib/Sema/SemaCodeComplete.cpp
 5251           Constructor->getParent(), SS, TemplateTypeTy, II))
 5590   CXXRecordDecl *ClassDecl = Constructor->getParent();
tools/clang/lib/Sema/SemaDecl.cpp
 7927           CXXRecordDecl *Parent = MD->getParent();
 7991                                 MD ? MD->getParent() : nullptr);
10436       CXXRecordDecl *Record = Destructor->getParent();
10470         if (AddOverriddenMethods(Method->getParent(), Method)) {
13437   CXXRecordDecl *const LambdaClass = CallOperator->getParent();
13833         MarkVTableUsed(FD->getLocation(), Constructor->getParent());
13835         MarkVTableUsed(FD->getLocation(), Destructor->getParent());
13903           (KeyFunction = Context.getCurrentKeyFunction(MD->getParent())) &&
13912           KeyFunction = Context.getCurrentKeyFunction(MD->getParent());
13915             MarkVTableUsed(Definition->getLocation(), MD->getParent(), true);
13918           MarkVTableUsed(FD->getLocation(), MD->getParent(), true);
14004       if (!Destructor->getParent()->isDependentType())
14008                                              Destructor->getParent());
16701                     << (const NamedDecl *)M->first << OM->Method->getParent();
tools/clang/lib/Sema/SemaDeclCXX.cpp
  516         if (MD && MD->getParent()->getDescribedClassTemplate()) {
 2973       (MD->getParent()->hasAnyDependentBases() ||
 4075   CXXRecordDecl *ClassDecl = Constructor->getParent();
 4714       << SemaRef.Context.getTagDeclType(Constructor->getParent())
 4724       << SemaRef.Context.getTagDeclType(Constructor->getParent())
 4931   if (CXXDestructorDecl *Dtor = LookupDestructor(Constructor->getParent())) {
 4968   CXXRecordDecl *ClassDecl = Constructor->getParent()->getDefinition();
 5113                                            Constructor->getParent());
 6854   CXXRecordDecl *RD = MD->getParent();
 7273     CXXRecordDecl *RD = MD->getParent();
 7313   bool inUnion() const { return MD->getParent()->isUnion(); }
 7347     objectTy = S.Context.getTypeDeclType(MD->getParent());
 7352     objectTy = S.Context.getTypeDeclType(target->getParent());
 7391         << getEffectiveCSM() << MD->getParent() << /*IsField*/true
 7397           << getEffectiveCSM() << MD->getParent() << /*IsField*/ false
 7494           << getEffectiveCSM() << MD->getParent() << /*IsField*/ false
 7519           << !!ICI << MD->getParent() << FD << FieldType << /*Reference*/0;
 7531           << !!ICI << MD->getParent() << FD << FD->getType() << /*Const*/1;
 7543           << MD->getParent() << FD << FieldType;
 7551           << isMove() << MD->getParent() << FD << FieldType << /*Reference*/0;
 7559           << isMove() << MD->getParent() << FD << FD->getType() << /*Const*/1;
 7593             << !!ICI << MD->getParent() << /*anonymous union*/1;
 7618     for (auto *F : MD->getParent()->fields())
 7624       S.Diag(MD->getParent()->getLocation(),
 7626         << !!ICI << MD->getParent() << /*not anonymous union*/0;
 7640   CXXRecordDecl *RD = MD->getParent();
 7724     if (FindDeallocationFunction(MD->getLocation(), MD->getParent(), Name,
 8050   CXXRecordDecl *RD = MD->getParent();
 8154   if (CSM != CXXDestructor && MD->getParent()->isDynamicClass()) {
 8277   CXXRecordDecl *DC = MD->getParent();
 8728   CXXRecordDecl *RD = Destructor->getParent();
11315   CXXRecordDecl *ClassDecl = MD->getParent();
11502   CXXRecordDecl *ClassDecl = Constructor->getParent();
11632   CXXRecordDecl *ClassDecl = Constructor->getParent();
11786   CXXRecordDecl *ClassDecl = Destructor->getParent();
11801                                          Destructor->getParent());
11845       if (M->getParent()->getTemplateSpecializationKind() !=
12404   CXXRecordDecl *RD = CopyOp->getParent();
12454   CXXRecordDecl *ClassDecl = CopyAssignOperator->getParent();
12819   CXXRecordDecl *ClassDecl = MoveAssignOperator->getParent();
13119   CXXRecordDecl *ClassDecl = CopyConstructor->getParent();
13251   CXXRecordDecl *ClassDecl = MoveConstructor->getParent();
13292   CXXRecordDecl *Lambda = Conv->getParent();
13348   assert(!Conv->getParent()->isGenericLambda());
13491              Constructor->getParent(),
13814                 SemaRef.Context.getRecordType(MD->getParent())))
13827   if (MD && !MD->getParent()->isDependentContext() &&
15471   if (Method->isVirtual() || Method->getParent()->isDependentContext()) {
tools/clang/lib/Sema/SemaExpr.cpp
  258             << Ctor->getParent()
  259             << Ctor->getInheritedConstructor().getConstructor()->getParent();
  278     if (MD->getParent()->isLambda() &&
 1958                           DC == CurMethod->getParent() && !isDefaultArgument;
 2130     RD = MD->getParent();
12394       if (MD->getParent()->getName().empty())
12399         StringRef Qual = (MD->getParent()->getName() + "::").toStringRef(Str);
12411         op->getType(), Context.getTypeDeclType(MD->getParent()).getTypePtr());
15515           MarkVTableUsed(Loc, Destructor->getParent());
15527                    MethodDecl->getParent()->isLambda()) {
15535           MarkVTableUsed(Loc, MethodDecl->getParent());
tools/clang/lib/Sema/SemaExprCXX.cpp
 3586   const CXXRecordDecl *PointeeRD = dtor->getParent();
 7193   if (Method->getParent()->isLambda() &&
tools/clang/lib/Sema/SemaExprMember.cpp
  164     contextClass = MD->getParent()->getCanonicalDecl();
  209   CXXRecordDecl *ContextClass = Method ? Method->getParent() : nullptr;
tools/clang/lib/Sema/SemaInit.cpp
  533     CXXRecordDecl *R = CtorDecl->getParent();
 4125     if (!CtorDecl->getParent()->allowConstDefaultInit()) {
 6379     assert(Constructor->getParent() && "No parent class for constructor.");
 9023               << S.Context.getTypeDeclType(Constructor->getParent())
 9036               << S.Context.getTypeDeclType(Constructor->getParent())
 9102         << S.Context.getTypeDeclType(Constructor->getParent())
tools/clang/lib/Sema/SemaLambda.cpp
  490   CXXRecordDecl *LambdaClass = CallOperator->getParent();
 1864   CXXRecordDecl *Lambda = Conv->getParent();
tools/clang/lib/Sema/SemaLookup.cpp
 5258             CurMD ? CurMD->getParent()->getCanonicalDecl() : nullptr;
 5259         CXXRecordDecl *RD = MD->getParent()->getCanonicalDecl();
tools/clang/lib/Sema/SemaOpenMP.cpp
 5026           Context.getTypeDeclType(Method->getParent()).getTypePtr();
tools/clang/lib/Sema/SemaOverload.cpp
 1687           = S.Context.getTypeDeclType(Method->getParent()).getTypePtr();
 3593   if (Conv1->getParent()->isLambda() && Conv2->getParent()->isLambda()) {
 3593   if (Conv1->getParent()->isLambda() && Conv2->getParent()->isLambda()) {
 5323       Method->getParent());
 6103       AddMethodCandidate(Method, FoundDecl, Method->getParent(), QualType(),
 6163     QualType ClassType = Context.getTypeDeclType(Constructor->getParent());
 6184       QualType C = Context.getRecordType(Constructor->getParent());
 6602                            cast<CXXMethodDecl>(FD)->getParent(), ObjectType,
10517     CXXRecordDecl *ParentClass = Meth->getParent();
13103           << Context.getRecordType(Method->getParent())
tools/clang/lib/Sema/SemaTemplateDeduction.cpp
 3083       ThisContext = Method->getParent();
 3465                S.Context.getTypeDeclType(Method->getParent()).getTypePtr());
 4638     CXXRecordDecl *Lambda = cast<CXXMethodDecl>(FD)->getParent();
 4702   QualType ArgTy = Context.getTypeDeclType(Method->getParent());
tools/clang/lib/Sema/SemaTemplateInstantiate.cpp
  681           << CSM << Context.getTagDeclType(MD->getParent());
tools/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
 4980                                                      New->getParent(),
 5015                                        New->getParent(), EllipsisLoc);
tools/clang/lib/Sema/TreeTransform.h
 7239     if (!MD || !MD->getParent()->isGenericLambda()) {
tools/clang/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp
  250         svalBuilder.getCXXThis(CCE->getConstructor()->getParent(), calleeCtx);
tools/clang/tools/extra/clang-tidy/zircon/TemporaryObjectsCheck.cpp
   50         << D->getConstructor()->getParent();
tools/clang/unittests/Tooling/RecursiveASTVisitorTests/ImplicitCtor.cpp
   23       if (const CXXRecordDecl* Class = Ctor->getParent()) {
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionDeclMap.cpp
  890         clang::CXXRecordDecl *class_decl = method_decl->getParent();
tools/lldb/source/Symbol/ClangASTContext.cpp
  204   if (decl->getParent()->lookupInBases(find_overridden_methods, paths)) {
tools/lldb/tools/lldb-instr/Instrument.cpp
  207     CXXRecordDecl *Record = Decl->getParent();