Lines Matching refs:getDeclContext
101 return !getLexicalDeclContext()->Equals(getDeclContext()); in isOutOfLine()
305 const DeclContext *DC = D->getDeclContext(); in getOutermostFuncOrBlockContext()
580 if (const auto *SD = dyn_cast<LinkageSpecDecl>(D.getDeclContext())) in isSingleLineLanguageLinkage()
612 assert(D->getDeclContext()->getRedeclContext()->isFileContext() && in getLVForNamespaceScopeDecl()
706 for (const DeclContext *DC = D->getDeclContext(); in getLVForNamespaceScopeDecl()
864 LinkageInfo EnumLV = getLVForDecl(cast<NamedDecl>(D->getDeclContext()), in getLVForNamespaceScopeDecl()
958 getLVForDecl(cast<RecordDecl>(D->getDeclContext()), classComputation); in getLVForClassMember()
1103 if (!getDeclContext()->isFunctionOrMethod() && in isPlaceholderVar()
1104 !getDeclContext()->isRecord()) in isPlaceholderVar()
1118 BD && getDeclContext()->isFunctionOrMethod()) { in isPlaceholderVar()
1148 const DeclContext *DC = getDeclContext()->getRedeclContext(); in isReserved()
1317 dyn_cast<NamedDecl>(ContextDecl->getDeclContext()->getRedeclContext()); in getLVForClosure()
1321 Owner = dyn_cast<NamedDecl>(ContextDecl->getDeclContext()); in getLVForClosure()
1413 LV = getLVForClosure(BD->getDeclContext()->getRedeclContext(), in getLVForLocalDecl()
1482 return getLVForDecl(cast<EnumDecl>(D->getDeclContext()), computation); in computeLVForDecl()
1517 Record->getDeclContext()->getRedeclContext(), in computeLVForDecl()
1535 if (D->getDeclContext()->getRedeclContext()->isFileContext()) in computeLVForDecl()
1545 if (D->getDeclContext()->isRecord()) in computeLVForDecl()
1559 if (D->getDeclContext()->isFunctionOrMethod()) in computeLVForDecl()
1681 if (getDeclContext()->isFunctionOrMethod()) { in printQualifiedName()
1708 const DeclContext *Ctx = getDeclContext(); in printNestedNameSpecifier()
1860 if (!this->getDeclContext()->getRedeclContext()->Equals( in declarationReplaces()
1861 OldD->getDeclContext()->getRedeclContext())) in declarationReplaces()
2198 const DeclContext *DC = D.getDeclContext(); in getDeclLanguageLinkage()
2214 const DeclContext *DC = D.getDeclContext(); in isDeclExternC()
2939 if (isa<ObjCMethodDecl>(getDeclContext())) in getSourceRange()
3250 if (auto *Parent = dyn_cast<CXXRecordDecl>(getDeclContext())) in setIsPureVirtual()
3300 dyn_cast<TranslationUnitDecl>(getDeclContext()->getRedeclContext()); in isMain()
3308 dyn_cast<TranslationUnitDecl>(getDeclContext()->getRedeclContext()); in isMSVCRTEntryPoint()
3342 if (!getDeclContext()->getRedeclContext()->isTranslationUnit()) in isReservedGlobalPlacementOperator()
3350 cast<TranslationUnitDecl>(getDeclContext()->getRedeclContext()) in isReservedGlobalPlacementOperator()
3368 if (isa<CXXRecordDecl>(getDeclContext())) in isReplaceableGlobalAllocationFunction()
3372 if (!getDeclContext()->getRedeclContext()->isTranslationUnit()) in isReplaceableGlobalAllocationFunction()
3505 for (const DeclContext *DC = getDeclContext(); in isGlobal()
5028 return isImplicit() && getDeclName() && getDeclContext()->isRecord() && in isInjectedClassName()
5029 cast<RecordDecl>(getDeclContext())->getDeclName() == getDeclName(); in isInjectedClassName()