Lines Matching refs:LinkageInfo

239 LinkageInfo LinkageComputer::getLVForType(const Type &T,  in getLVForType()
242 return LinkageInfo(T.getLinkage(), DefaultVisibility, true); in getLVForType()
249 LinkageInfo LinkageComputer::getLVForTemplateParameterList( in getLVForTemplateParameterList()
251 LinkageInfo LV; in getLVForTemplateParameterList()
318 LinkageInfo
321 LinkageInfo LV; in getLVForTemplateArgumentList()
362 LinkageInfo
388 LinkageInfo &LV, const FunctionDecl *fn, in mergeTemplateLV()
396 LinkageInfo tempLV = in mergeTemplateLV()
402 LinkageInfo argsLV = getLVForTemplateArgumentList(templateArgs, computation); in mergeTemplateLV()
456 LinkageInfo &LV, const ClassTemplateSpecializationDecl *spec, in mergeTemplateLV()
464 LinkageInfo tempLV = in mergeTemplateLV()
473 LinkageInfo argsLV = getLVForTemplateArgumentList(templateArgs, computation); in mergeTemplateLV()
507 void LinkageComputer::mergeTemplateLV(LinkageInfo &LV, in mergeTemplateLV()
516 LinkageInfo tempLV = in mergeTemplateLV()
525 LinkageInfo argsLV = getLVForTemplateArgumentList(templateArgs, computation); in mergeTemplateLV()
591 static LinkageInfo getInternalLinkageFor(const NamedDecl *D) { in getInternalLinkageFor()
597 return LinkageInfo(ModuleInternalLinkage, DefaultVisibility, false); in getInternalLinkageFor()
599 return LinkageInfo::internal(); in getInternalLinkageFor()
602 static LinkageInfo getExternalLinkageFor(const NamedDecl *D) { in getExternalLinkageFor()
609 return LinkageInfo(ModuleLinkage, DefaultVisibility, false); in getExternalLinkageFor()
611 return LinkageInfo::external(); in getExternalLinkageFor()
626 LinkageInfo
709 LinkageInfo LV = getExternalLinkageFor(D); in getLVForNamespaceScopeDecl()
785 LinkageInfo TypeLV = getLVForType(*Var->getType(), computation); in getLVForNamespaceScopeDecl()
787 return LinkageInfo::uniqueExternal(); in getLVForNamespaceScopeDecl()
831 return LinkageInfo::uniqueExternal(); in getLVForNamespaceScopeDecl()
851 return LinkageInfo::none(); in getLVForNamespaceScopeDecl()
863 LinkageInfo EnumLV = getLVForDecl(cast<NamedDecl>(D->getDeclContext()), in getLVForNamespaceScopeDecl()
866 return LinkageInfo::none(); in getLVForNamespaceScopeDecl()
872 LinkageInfo tempLV = in getLVForNamespaceScopeDecl()
893 return LinkageInfo::none(); in getLVForNamespaceScopeDecl()
901 return LinkageInfo::none(); in getLVForNamespaceScopeDecl()
907 return LinkageInfo(LV.getLinkage(), DefaultVisibility, false); in getLVForNamespaceScopeDecl()
916 LinkageInfo
936 return LinkageInfo::none(); in getLVForClassMember()
938 LinkageInfo LV; in getLVForClassMember()
960 LinkageInfo classLV = in getLVForClassMember()
982 return LinkageInfo::uniqueExternal(); in getLVForClassMember()
1021 LinkageInfo typeLV = getLVForType(*VD->getType(), computation); in getLVForClassMember()
1039 LinkageInfo tempLV = in getLVForClassMember()
1102 LinkageInfo NamedDecl::getLinkageAndVisibility() const { in getLinkageAndVisibility()
1190 LinkageInfo LinkageComputer::getLVForClosure(const DeclContext *DC, in getLVForClosure()
1204 return LinkageInfo::none(); in getLVForClosure()
1211 LinkageInfo OwnerLV = in getLVForClosure()
1219 return LinkageInfo::none(); in getLVForClosure()
1220 return LinkageInfo(VisibleNoLinkage, OwnerLV.getVisibility(), in getLVForClosure()
1224 LinkageInfo LinkageComputer::getLVForLocalDecl(const NamedDecl *D, in getLVForLocalDecl()
1235 LinkageInfo LV; in getLVForLocalDecl()
1254 LinkageInfo LV; in getLVForLocalDecl()
1263 LinkageInfo PrevLV = getLVForDecl(Prev, computation); in getLVForLocalDecl()
1273 return LinkageInfo::none(); in getLVForLocalDecl()
1278 return LinkageInfo::none(); in getLVForLocalDecl()
1282 return LinkageInfo::none(); in getLVForLocalDecl()
1284 LinkageInfo LV; in getLVForLocalDecl()
1287 return LinkageInfo::none(); in getLVForLocalDecl()
1295 return LinkageInfo::none(); in getLVForLocalDecl()
1315 return LinkageInfo(VisibleNoLinkage, globalVisibility, in getLVForLocalDecl()
1321 return LinkageInfo::none(); in getLVForLocalDecl()
1322 return LinkageInfo(VisibleNoLinkage, LV.getVisibility(), in getLVForLocalDecl()
1326 LinkageInfo LinkageComputer::computeLVForDecl(const NamedDecl *D, in computeLVForDecl()
1352 return LinkageInfo::none(); in computeLVForDecl()
1358 return LinkageInfo::visible_none(); in computeLVForDecl()
1366 return LinkageInfo::none(); in computeLVForDecl()
1403 LinkageInfo LV = getLVForType(*TPO->getType(), computation); in computeLVForDecl()
1439 return LinkageInfo::none(); in computeLVForDecl()
1443 LinkageInfo LinkageComputer::getLVForDecl(const NamedDecl *D, in getLVForDecl()
1450 return LinkageInfo(D->getCachedLinkage(), DefaultVisibility, false); in getLVForDecl()
1452 if (llvm::Optional<LinkageInfo> LI = lookup(D, computation)) in getLVForDecl()
1455 LinkageInfo LV = computeLVForDecl(D, computation); in getLVForDecl()
1489 LinkageInfo LinkageComputer::getDeclLinkageAndVisibility(const NamedDecl *D) { in getDeclLinkageAndVisibility()