Lines Matching refs:getDeclContext
44 return !getLexicalDeclContext()->Equals(getDeclContext()); in isOutOfLine()
301 const DeclContext *DC = D->getDeclContext(); in getOutermostFuncOrBlockContext()
571 if (const auto *SD = dyn_cast<LinkageSpecDecl>(D.getDeclContext())) in isSingleLineLanguageLinkage()
579 assert(D->getDeclContext()->getRedeclContext()->isFileContext() && in getLVForNamespaceScopeDecl()
659 for (const DeclContext *DC = D->getDeclContext(); in getLVForNamespaceScopeDecl()
802 LinkageInfo EnumLV = getLVForDecl(cast<NamedDecl>(D->getDeclContext()), in getLVForNamespaceScopeDecl()
888 getLVForDecl(cast<RecordDecl>(D->getDeclContext()), classComputation); in getLVForClassMember()
1119 DC = ContextDecl->getDeclContext()->getRedeclContext(); in getLVForClosure()
1195 LV = getLVForClosure(BD->getDeclContext()->getRedeclContext(), in getLVForLocalDecl()
1253 return getLVForDecl(cast<EnumDecl>(D->getDeclContext()), computation); in computeLVForDecl()
1302 OuterMostLambda->getDeclContext()->getRedeclContext(), in computeLVForDecl()
1311 if (D->getDeclContext()->getRedeclContext()->isFileContext()) in computeLVForDecl()
1321 if (D->getDeclContext()->isRecord()) in computeLVForDecl()
1335 if (D->getDeclContext()->isFunctionOrMethod()) in computeLVForDecl()
1408 const DeclContext *Ctx = getDeclContext(); in printQualifiedName()
1538 if (!this->getDeclContext()->getRedeclContext()->Equals( in declarationReplaces()
1539 OldD->getDeclContext()->getRedeclContext())) in declarationReplaces()
1864 const DeclContext *DC = D.getDeclContext(); in getDeclLanguageLinkage()
1880 const DeclContext *DC = D.getDeclContext(); in isDeclExternC()
2318 if (isa<ObjCMethodDecl>(getDeclContext())) in getSourceRange()
2434 if (auto *Parent = dyn_cast<CXXRecordDecl>(getDeclContext())) in setPure()
2446 dyn_cast<TranslationUnitDecl>(getDeclContext()->getRedeclContext()); in isMain()
2454 dyn_cast<TranslationUnitDecl>(getDeclContext()->getRedeclContext()); in isMSVCRTEntryPoint()
2486 if (!getDeclContext()->getRedeclContext()->isTranslationUnit()) in isReservedGlobalPlacementOperator()
2494 cast<TranslationUnitDecl>(getDeclContext()->getRedeclContext()) in isReservedGlobalPlacementOperator()
2511 if (isa<CXXRecordDecl>(getDeclContext())) in isReplaceableGlobalAllocationFunction()
2515 if (!getDeclContext()->getRedeclContext()->isTranslationUnit()) in isReplaceableGlobalAllocationFunction()
2566 for (const DeclContext *DC = getDeclContext(); in isGlobal()
2622 dyn_cast<LinkageSpecDecl>(getFirstDecl()->getDeclContext()); in getBuiltinID()
2687 DeclContext *DC = I->getDeclContext(); in setDeclsInPrototypeScope()
3622 return isImplicit() && getDeclName() && getDeclContext()->isRecord() && in isInjectedClassName()
3623 cast<RecordDecl>(getDeclContext())->getDeclName() == getDeclName(); in isInjectedClassName()