• Home
  • Raw
  • Download

Lines Matching refs:getDeclContext

45   return !getLexicalDeclContext()->Equals(getDeclContext());  in isOutOfLine()
302 const DeclContext *DC = D->getDeclContext(); in getOutermostFuncOrBlockContext()
572 if (const auto *SD = dyn_cast<LinkageSpecDecl>(D.getDeclContext())) in isSingleLineLanguageLinkage()
580 assert(D->getDeclContext()->getRedeclContext()->isFileContext() && in getLVForNamespaceScopeDecl()
662 for (const DeclContext *DC = D->getDeclContext(); in getLVForNamespaceScopeDecl()
805 LinkageInfo EnumLV = getLVForDecl(cast<NamedDecl>(D->getDeclContext()), in getLVForNamespaceScopeDecl()
891 getLVForDecl(cast<RecordDecl>(D->getDeclContext()), classComputation); in getLVForClassMember()
1122 DC = ContextDecl->getDeclContext()->getRedeclContext(); in getLVForClosure()
1198 LV = getLVForClosure(BD->getDeclContext()->getRedeclContext(), in getLVForLocalDecl()
1256 return getLVForDecl(cast<EnumDecl>(D->getDeclContext()), computation); in computeLVForDecl()
1305 OuterMostLambda->getDeclContext()->getRedeclContext(), in computeLVForDecl()
1314 if (D->getDeclContext()->getRedeclContext()->isFileContext()) in computeLVForDecl()
1324 if (D->getDeclContext()->isRecord()) in computeLVForDecl()
1338 if (D->getDeclContext()->isFunctionOrMethod()) in computeLVForDecl()
1411 const DeclContext *Ctx = getDeclContext(); in printQualifiedName()
1538 if (!this->getDeclContext()->getRedeclContext()->Equals( in declarationReplaces()
1539 OldD->getDeclContext()->getRedeclContext())) in declarationReplaces()
1867 const DeclContext *DC = D.getDeclContext(); in getDeclLanguageLinkage()
1883 const DeclContext *DC = D.getDeclContext(); in isDeclExternC()
2360 if (isa<ObjCMethodDecl>(getDeclContext())) in getSourceRange()
2510 if (auto *Parent = dyn_cast<CXXRecordDecl>(getDeclContext())) in setPure()
2522 dyn_cast<TranslationUnitDecl>(getDeclContext()->getRedeclContext()); in isMain()
2530 dyn_cast<TranslationUnitDecl>(getDeclContext()->getRedeclContext()); in isMSVCRTEntryPoint()
2562 if (!getDeclContext()->getRedeclContext()->isTranslationUnit()) in isReservedGlobalPlacementOperator()
2570 cast<TranslationUnitDecl>(getDeclContext()->getRedeclContext()) in isReservedGlobalPlacementOperator()
2587 if (isa<CXXRecordDecl>(getDeclContext())) in isReplaceableGlobalAllocationFunction()
2591 if (!getDeclContext()->getRedeclContext()->isTranslationUnit()) in isReplaceableGlobalAllocationFunction()
2642 for (const DeclContext *DC = getDeclContext(); in isGlobal()
2698 dyn_cast<LinkageSpecDecl>(getFirstDecl()->getDeclContext()); in getBuiltinID()
2768 DeclContext *DC = I->getDeclContext(); in setDeclsInPrototypeScope()
3748 return isImplicit() && getDeclName() && getDeclContext()->isRecord() && in isInjectedClassName()
3749 cast<RecordDecl>(getDeclContext())->getDeclName() == getDeclName(); in isInjectedClassName()