Lines Matching refs:getDeclContext
100 return !getLexicalDeclContext()->Equals(getDeclContext()); in isOutOfLine()
304 const DeclContext *DC = D->getDeclContext(); in getOutermostFuncOrBlockContext()
565 if (const auto *SD = dyn_cast<LinkageSpecDecl>(D.getDeclContext())) in isSingleLineLanguageLinkage()
615 assert(D->getDeclContext()->getRedeclContext()->isFileContext() && in getLVForNamespaceScopeDecl()
704 for (const DeclContext *DC = D->getDeclContext(); in getLVForNamespaceScopeDecl()
839 LinkageInfo EnumLV = getLVForDecl(cast<NamedDecl>(D->getDeclContext()), in getLVForNamespaceScopeDecl()
929 getLVForDecl(cast<RecordDecl>(D->getDeclContext()), classComputation); in getLVForClassMember()
1167 dyn_cast<NamedDecl>(ContextDecl->getDeclContext()->getRedeclContext()); in getLVForClosure()
1257 LV = getLVForClosure(BD->getDeclContext()->getRedeclContext(), in getLVForLocalDecl()
1337 return getLVForDecl(cast<EnumDecl>(D->getDeclContext()), computation); in computeLVForDecl()
1386 OuterMostLambda->getDeclContext()->getRedeclContext(), in computeLVForDecl()
1395 if (D->getDeclContext()->getRedeclContext()->isFileContext()) in computeLVForDecl()
1405 if (D->getDeclContext()->isRecord()) in computeLVForDecl()
1419 if (D->getDeclContext()->isFunctionOrMethod()) in computeLVForDecl()
1533 const DeclContext *Ctx = getDeclContext(); in printQualifiedName()
1668 if (!this->getDeclContext()->getRedeclContext()->Equals( in declarationReplaces()
1669 OldD->getDeclContext()->getRedeclContext())) in declarationReplaces()
1985 const DeclContext *DC = D.getDeclContext(); in getDeclLanguageLinkage()
2001 const DeclContext *DC = D.getDeclContext(); in isDeclExternC()
2567 if (isa<ObjCMethodDecl>(getDeclContext())) in getSourceRange()
2750 if (auto *Parent = dyn_cast<CXXRecordDecl>(getDeclContext())) in setPure()
2762 dyn_cast<TranslationUnitDecl>(getDeclContext()->getRedeclContext()); in isMain()
2770 dyn_cast<TranslationUnitDecl>(getDeclContext()->getRedeclContext()); in isMSVCRTEntryPoint()
2802 if (!getDeclContext()->getRedeclContext()->isTranslationUnit()) in isReservedGlobalPlacementOperator()
2810 cast<TranslationUnitDecl>(getDeclContext()->getRedeclContext()) in isReservedGlobalPlacementOperator()
2827 if (isa<CXXRecordDecl>(getDeclContext())) in isReplaceableGlobalAllocationFunction()
2831 if (!getDeclContext()->getRedeclContext()->isTranslationUnit()) in isReplaceableGlobalAllocationFunction()
2921 for (const DeclContext *DC = getDeclContext(); in isGlobal()
3005 dyn_cast<LinkageSpecDecl>(getFirstDecl()->getDeclContext()); in getBuiltinID()
4127 return isImplicit() && getDeclName() && getDeclContext()->isRecord() && in isInjectedClassName()
4128 cast<RecordDecl>(getDeclContext())->getDeclName() == getDeclName(); in isInjectedClassName()