Lines Matching refs:getDeclContext
44 return !getLexicalDeclContext()->Equals(getDeclContext()); in isOutOfLine()
296 const DeclContext *DC = D->getDeclContext(); in getOutermostFuncOrBlockContext()
566 if (const LinkageSpecDecl *SD = dyn_cast<LinkageSpecDecl>(D.getDeclContext())) in isSingleLineLanguageLinkage()
574 assert(D->getDeclContext()->getRedeclContext()->isFileContext() && in getLVForNamespaceScopeDecl()
652 for (const DeclContext *DC = D->getDeclContext(); in getLVForNamespaceScopeDecl()
797 LinkageInfo EnumLV = getLVForDecl(cast<NamedDecl>(D->getDeclContext()), in getLVForNamespaceScopeDecl()
879 getLVForDecl(cast<RecordDecl>(D->getDeclContext()), classComputation); in getLVForClassMember()
1114 DC = ContextDecl->getDeclContext()->getRedeclContext(); in getLVForClosure()
1190 LV = getLVForClosure(BD->getDeclContext()->getRedeclContext(), in getLVForLocalDecl()
1265 OuterMostLambda->getDeclContext()->getRedeclContext(), in computeLVForDecl()
1274 if (D->getDeclContext()->getRedeclContext()->isFileContext()) in computeLVForDecl()
1284 if (D->getDeclContext()->isRecord()) in computeLVForDecl()
1298 if (D->getDeclContext()->isFunctionOrMethod()) in computeLVForDecl()
1367 const DeclContext *Ctx = getDeclContext(); in printQualifiedName()
1503 if (!this->getDeclContext()->getRedeclContext()->Equals( in declarationReplaces()
1504 OldD->getDeclContext()->getRedeclContext())) in declarationReplaces()
1837 const DeclContext *DC = D.getDeclContext(); in getDeclLanguageLinkage()
1853 const DeclContext *DC = D.getDeclContext(); in isDeclExternC()
2289 if (isa<ObjCMethodDecl>(getDeclContext())) in getSourceRange()
2405 if (CXXRecordDecl *Parent = dyn_cast<CXXRecordDecl>(getDeclContext())) in setPure()
2417 dyn_cast<TranslationUnitDecl>(getDeclContext()->getRedeclContext()); in isMain()
2425 dyn_cast<TranslationUnitDecl>(getDeclContext()->getRedeclContext()); in isMSVCRTEntryPoint()
2457 if (!getDeclContext()->getRedeclContext()->isTranslationUnit()) in isReservedGlobalPlacementOperator()
2465 cast<TranslationUnitDecl>(getDeclContext()->getRedeclContext()) in isReservedGlobalPlacementOperator()
2482 if (isa<CXXRecordDecl>(getDeclContext())) in isReplaceableGlobalAllocationFunction()
2486 if (!getDeclContext()->getRedeclContext()->isTranslationUnit()) in isReplaceableGlobalAllocationFunction()
2537 for (const DeclContext *DC = getDeclContext(); in isGlobal()
2597 getFirstDecl()->getDeclContext()); in getBuiltinID()
2662 DeclContext *DC = I->getDeclContext(); in setDeclsInPrototypeScope()
3596 return isImplicit() && getDeclName() && getDeclContext()->isRecord() && in isInjectedClassName()
3597 cast<RecordDecl>(getDeclContext())->getDeclName() == getDeclName(); in isInjectedClassName()