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()
699 for (const DeclContext *DC = D->getDeclContext(); in getLVForNamespaceScopeDecl()
857 LinkageInfo EnumLV = getLVForDecl(cast<NamedDecl>(D->getDeclContext()), in getLVForNamespaceScopeDecl()
951 getLVForDecl(cast<RecordDecl>(D->getDeclContext()), classComputation); in getLVForClassMember()
1096 if (!getDeclContext()->isFunctionOrMethod() && in isPlaceholderVar()
1097 !getDeclContext()->isRecord()) in isPlaceholderVar()
1111 BD && getDeclContext()->isFunctionOrMethod()) { in isPlaceholderVar()
1141 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()
1696 if (getDeclContext()->isFunctionOrMethod()) { in printQualifiedName()
1723 const DeclContext *Ctx = getDeclContext(); in printNestedNameSpecifier()
1875 if (!this->getDeclContext()->getRedeclContext()->Equals( in declarationReplaces()
1876 OldD->getDeclContext()->getRedeclContext())) in declarationReplaces()
2213 const DeclContext *DC = D.getDeclContext(); in getDeclLanguageLinkage()
2229 const DeclContext *DC = D.getDeclContext(); in isDeclExternC()
2937 if (isa<ObjCMethodDecl>(getDeclContext())) in getSourceRange()
3213 if (auto *Parent = dyn_cast<CXXRecordDecl>(getDeclContext())) in setIsPureVirtual()
3263 dyn_cast<TranslationUnitDecl>(getDeclContext()->getRedeclContext()); in isMain()
3271 dyn_cast<TranslationUnitDecl>(getDeclContext()->getRedeclContext()); in isMSVCRTEntryPoint()
3305 if (!getDeclContext()->getRedeclContext()->isTranslationUnit()) in isReservedGlobalPlacementOperator()
3313 cast<TranslationUnitDecl>(getDeclContext()->getRedeclContext()) in isReservedGlobalPlacementOperator()
3331 if (isa<CXXRecordDecl>(getDeclContext())) in isReplaceableGlobalAllocationFunction()
3335 if (!getDeclContext()->getRedeclContext()->isTranslationUnit()) in isReplaceableGlobalAllocationFunction()
3468 for (const DeclContext *DC = getDeclContext(); in isGlobal()
4979 return isImplicit() && getDeclName() && getDeclContext()->isRecord() && in isInjectedClassName()
4980 cast<RecordDecl>(getDeclContext())->getDeclName() == getDeclName(); in isInjectedClassName()