Lines Matching refs:getDeclContext

102   return !getLexicalDeclContext()->Equals(getDeclContext());  in isOutOfLine()
306 const DeclContext *DC = D->getDeclContext(); in getOutermostFuncOrBlockContext()
577 if (const auto *SD = dyn_cast<LinkageSpecDecl>(D.getDeclContext())) in isSingleLineLanguageLinkage()
650 assert(D->getDeclContext()->getRedeclContext()->isFileContext() && in getLVForNamespaceScopeDecl()
737 for (const DeclContext *DC = D->getDeclContext(); in getLVForNamespaceScopeDecl()
884 LinkageInfo EnumLV = getLVForDecl(cast<NamedDecl>(D->getDeclContext()), in getLVForNamespaceScopeDecl()
978 getLVForDecl(cast<RecordDecl>(D->getDeclContext()), classComputation); in getLVForClassMember()
1121 const DeclContext *DC = getDeclContext()->getRedeclContext(); in isReserved()
1254 dyn_cast<NamedDecl>(ContextDecl->getDeclContext()->getRedeclContext()); in getLVForClosure()
1344 LV = getLVForClosure(BD->getDeclContext()->getRedeclContext(), in getLVForLocalDecl()
1413 return getLVForDecl(cast<EnumDecl>(D->getDeclContext()), computation); in computeLVForDecl()
1448 Record->getDeclContext()->getRedeclContext(), in computeLVForDecl()
1466 if (D->getDeclContext()->getRedeclContext()->isFileContext()) in computeLVForDecl()
1476 if (D->getDeclContext()->isRecord()) in computeLVForDecl()
1490 if (D->getDeclContext()->isFunctionOrMethod()) in computeLVForDecl()
1621 if (getDeclContext()->isFunctionOrMethod()) { in printQualifiedName()
1648 const DeclContext *Ctx = getDeclContext(); in printNestedNameSpecifier()
1799 if (!this->getDeclContext()->getRedeclContext()->Equals( in declarationReplaces()
1800 OldD->getDeclContext()->getRedeclContext())) in declarationReplaces()
2124 const DeclContext *DC = D.getDeclContext(); in getDeclLanguageLinkage()
2140 const DeclContext *DC = D.getDeclContext(); in isDeclExternC()
2845 if (isa<ObjCMethodDecl>(getDeclContext())) in getSourceRange()
3119 if (auto *Parent = dyn_cast<CXXRecordDecl>(getDeclContext())) in setPure()
3131 dyn_cast<TranslationUnitDecl>(getDeclContext()->getRedeclContext()); in isMain()
3139 dyn_cast<TranslationUnitDecl>(getDeclContext()->getRedeclContext()); in isMSVCRTEntryPoint()
3171 if (!getDeclContext()->getRedeclContext()->isTranslationUnit()) in isReservedGlobalPlacementOperator()
3179 cast<TranslationUnitDecl>(getDeclContext()->getRedeclContext()) in isReservedGlobalPlacementOperator()
3197 if (isa<CXXRecordDecl>(getDeclContext())) in isReplaceableGlobalAllocationFunction()
3201 if (!getDeclContext()->getRedeclContext()->isTranslationUnit()) in isReplaceableGlobalAllocationFunction()
3305 for (const DeclContext *DC = getDeclContext(); in isGlobal()
4670 return isImplicit() && getDeclName() && getDeclContext()->isRecord() && in isInjectedClassName()
4671 cast<RecordDecl>(getDeclContext())->getDeclName() == getDeclName(); in isInjectedClassName()