• Home
  • Raw
  • Download

Lines Matching refs:LV

245   LinkageInfo LV;  in getLVForTemplateParameterList()  local
260 LV.merge(getLVForType(*NTTP->getType(), computation)); in getLVForTemplateParameterList()
269 LV.merge(type->getLinkageAndVisibility()); in getLVForTemplateParameterList()
280 LV.merge(getLVForTemplateParameterList(TTP->getTemplateParameters(), in getLVForTemplateParameterList()
288 LV.merge(getLVForTemplateParameterList( in getLVForTemplateParameterList()
293 return LV; in getLVForTemplateParameterList()
318 LinkageInfo LV; in getLVForTemplateArgumentList() local
328 LV.merge(getLVForType(*Arg.getAsType(), computation)); in getLVForTemplateArgumentList()
334 LV.merge(getLVForDecl(ND, computation)); in getLVForTemplateArgumentList()
339 LV.merge(Arg.getNullPtrType()->getLinkageAndVisibility()); in getLVForTemplateArgumentList()
346 LV.merge(getLVForDecl(Template, computation)); in getLVForTemplateArgumentList()
350 LV.merge(getLVForTemplateArgumentList(Arg.getPackAsArray(), computation)); in getLVForTemplateArgumentList()
356 return LV; in getLVForTemplateArgumentList()
385 mergeTemplateLV(LinkageInfo &LV, const FunctionDecl *fn, in mergeTemplateLV() argument
395 LV.mergeMaybeWithVisibility(tempLV, considerVisibility); in mergeTemplateLV()
400 LV.mergeMaybeWithVisibility(argsLV, considerVisibility); in mergeTemplateLV()
462 static void mergeTemplateLV(LinkageInfo &LV, in mergeTemplateLV() argument
473 LV.mergeMaybeWithVisibility(tempLV, in mergeTemplateLV()
482 LV.mergeVisibility(argsLV); in mergeTemplateLV()
483 LV.mergeExternalVisibility(argsLV); in mergeTemplateLV()
514 static void mergeTemplateLV(LinkageInfo &LV, in mergeTemplateLV() argument
525 LV.mergeMaybeWithVisibility(tempLV, in mergeTemplateLV()
534 LV.mergeVisibility(argsLV); in mergeTemplateLV()
535 LV.mergeExternalVisibility(argsLV); in mergeTemplateLV()
654 LinkageInfo LV; in getLVForNamespaceScopeDecl() local
658 LV.mergeVisibility(*Vis, true); in getLVForNamespaceScopeDecl()
668 LV.mergeVisibility(*Vis, true); in getLVForNamespaceScopeDecl()
675 if (!LV.isVisibilityExplicit()) { in getLVForNamespaceScopeDecl()
684 LV.mergeVisibility(globalVisibility, /*explicit*/ false); in getLVForNamespaceScopeDecl()
689 LV.mergeVisibility(HiddenVisibility, true); in getLVForNamespaceScopeDecl()
725 if (!LV.isVisibilityExplicit()) in getLVForNamespaceScopeDecl()
726 LV.mergeVisibility(TypeLV); in getLVForNamespaceScopeDecl()
730 LV.mergeVisibility(HiddenVisibility, true); in getLVForNamespaceScopeDecl()
740 mergeTemplateLV(LV, spec, computation); in getLVForNamespaceScopeDecl()
751 LV.mergeVisibility(HiddenVisibility, true); in getLVForNamespaceScopeDecl()
782 mergeTemplateLV(LV, Function, specInfo, computation); in getLVForNamespaceScopeDecl()
800 mergeTemplateLV(LV, spec, computation); in getLVForNamespaceScopeDecl()
809 LV.merge(EnumLV); in getLVForNamespaceScopeDecl()
817 LV.mergeMaybeWithVisibility(tempLV, considerVisibility); in getLVForNamespaceScopeDecl()
822 return LV; in getLVForNamespaceScopeDecl()
842 if (LV.getLinkage() != ExternalLinkage) in getLVForNamespaceScopeDecl()
843 return LinkageInfo(LV.getLinkage(), DefaultVisibility, false); in getLVForNamespaceScopeDecl()
845 return LV; in getLVForNamespaceScopeDecl()
868 LinkageInfo LV; in getLVForClassMember() local
873 LV.mergeVisibility(*Vis, true); in getLVForClassMember()
879 if (!LV.isVisibilityExplicit() && useInlineVisibilityHidden(D)) in getLVForClassMember()
880 LV.mergeVisibility(HiddenVisibility, true); in getLVForClassMember()
887 if (LV.isVisibilityExplicit()) in getLVForClassMember()
927 mergeTemplateLV(LV, MD, spec, computation); in getLVForClassMember()
939 mergeTemplateLV(LV, spec, computation); in getLVForClassMember()
955 mergeTemplateLV(LV, spec, computation); in getLVForClassMember()
960 if (!LV.isVisibilityExplicit() && !classLV.isVisibilityExplicit()) in getLVForClassMember()
961 LV.mergeVisibility(typeLV); in getLVForClassMember()
962 LV.mergeExternalVisibility(typeLV); in getLVForClassMember()
971 (!LV.isVisibilityExplicit() && in getLVForClassMember()
976 LV.mergeMaybeWithVisibility(tempLV, considerVisibility); in getLVForClassMember()
993 LV.isVisibilityExplicit() && in getLVForClassMember()
1000 LV.mergeMaybeWithVisibility(classLV, considerClassVisibility); in getLVForClassMember()
1001 return LV; in getLVForClassMember()
1144 LinkageInfo LV; in getLVForLocalDecl() local
1148 LV.mergeVisibility(*Vis, true); in getLVForLocalDecl()
1155 return LV; in getLVForLocalDecl()
1163 LinkageInfo LV; in getLVForLocalDecl() local
1165 LV.mergeVisibility(HiddenVisibility, true); in getLVForLocalDecl()
1168 LV.mergeVisibility(*Vis, true); in getLVForLocalDecl()
1174 LV.setLinkage(PrevLV.getLinkage()); in getLVForLocalDecl()
1175 LV.mergeVisibility(PrevLV); in getLVForLocalDecl()
1178 return LV; in getLVForLocalDecl()
1193 LinkageInfo LV; in getLVForLocalDecl() local
1198 LV = getLVForClosure(BD->getDeclContext()->getRedeclContext(), in getLVForLocalDecl()
1206 LV = getLVForDecl(FD, computation); in getLVForLocalDecl()
1208 if (!isExternallyVisible(LV.getLinkage())) in getLVForLocalDecl()
1210 return LinkageInfo(VisibleNoLinkage, LV.getVisibility(), in getLVForLocalDecl()
1211 LV.isVisibilityExplicit()); in getLVForLocalDecl()
1358 LinkageInfo LV = computeLVForDecl(D, computation); in getLVForDecl() local
1360 assert(D->getCachedLinkage() == LV.getLinkage()); in getLVForDecl()
1362 D->setCachedLinkage(LV.getLinkage()); in getLVForDecl()
1370 return LV; in getLVForDecl()
1388 return LV; in getLVForDecl()