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()
630 assert(D->getDeclContext()->getRedeclContext()->isFileContext() && in getLVForNamespaceScopeDecl()
717 for (const DeclContext *DC = D->getDeclContext(); in getLVForNamespaceScopeDecl()
863 LinkageInfo EnumLV = getLVForDecl(cast<NamedDecl>(D->getDeclContext()), in getLVForNamespaceScopeDecl()
961 getLVForDecl(cast<RecordDecl>(D->getDeclContext()), classComputation); in getLVForClassMember()
1095 const DeclContext *DC = getDeclContext()->getRedeclContext(); in isReserved()
1221 dyn_cast<NamedDecl>(ContextDecl->getDeclContext()->getRedeclContext()); in getLVForClosure()
1311 LV = getLVForClosure(BD->getDeclContext()->getRedeclContext(), in getLVForLocalDecl()
1380 return getLVForDecl(cast<EnumDecl>(D->getDeclContext()), computation); in computeLVForDecl()
1415 Record->getDeclContext()->getRedeclContext(), in computeLVForDecl()
1433 if (D->getDeclContext()->getRedeclContext()->isFileContext()) in computeLVForDecl()
1443 if (D->getDeclContext()->isRecord()) in computeLVForDecl()
1457 if (D->getDeclContext()->isFunctionOrMethod()) in computeLVForDecl()
1579 if (getDeclContext()->isFunctionOrMethod()) { in printQualifiedName()
1606 const DeclContext *Ctx = getDeclContext(); in printNestedNameSpecifier()
1758 if (!this->getDeclContext()->getRedeclContext()->Equals( in declarationReplaces()
1759 OldD->getDeclContext()->getRedeclContext())) in declarationReplaces()
2084 const DeclContext *DC = D.getDeclContext(); in getDeclLanguageLinkage()
2100 const DeclContext *DC = D.getDeclContext(); in isDeclExternC()
2750 if (isa<ObjCMethodDecl>(getDeclContext())) in getSourceRange()
3018 if (auto *Parent = dyn_cast<CXXRecordDecl>(getDeclContext())) in setPure()
3030 dyn_cast<TranslationUnitDecl>(getDeclContext()->getRedeclContext()); in isMain()
3038 dyn_cast<TranslationUnitDecl>(getDeclContext()->getRedeclContext()); in isMSVCRTEntryPoint()
3070 if (!getDeclContext()->getRedeclContext()->isTranslationUnit()) in isReservedGlobalPlacementOperator()
3078 cast<TranslationUnitDecl>(getDeclContext()->getRedeclContext()) in isReservedGlobalPlacementOperator()
3096 if (isa<CXXRecordDecl>(getDeclContext())) in isReplaceableGlobalAllocationFunction()
3100 if (!getDeclContext()->getRedeclContext()->isTranslationUnit()) in isReplaceableGlobalAllocationFunction()
3202 for (const DeclContext *DC = getDeclContext(); in isGlobal()
4531 return isImplicit() && getDeclName() && getDeclContext()->isRecord() && in isInjectedClassName()
4532 cast<RecordDecl>(getDeclContext())->getDeclName() == getDeclName(); in isInjectedClassName()