Lines Matching refs:LinkageInfo
232 static LinkageInfo
235 return LinkageInfo(T.getLinkage(), DefaultVisibility, true); in getLVForType()
242 static LinkageInfo
245 LinkageInfo LV; in getLVForTemplateParameterList()
297 static LinkageInfo getLVForDecl(const NamedDecl *D,
316 static LinkageInfo getLVForTemplateArgumentList(ArrayRef<TemplateArgument> Args, in getLVForTemplateArgumentList()
318 LinkageInfo LV; in getLVForTemplateArgumentList()
359 static LinkageInfo
385 mergeTemplateLV(LinkageInfo &LV, const FunctionDecl *fn, in mergeTemplateLV()
393 LinkageInfo tempLV = in mergeTemplateLV()
399 LinkageInfo argsLV = getLVForTemplateArgumentList(templateArgs, computation); in mergeTemplateLV()
462 static void mergeTemplateLV(LinkageInfo &LV, in mergeTemplateLV()
471 LinkageInfo tempLV = in mergeTemplateLV()
480 LinkageInfo argsLV = getLVForTemplateArgumentList(templateArgs, computation); in mergeTemplateLV()
514 static void mergeTemplateLV(LinkageInfo &LV, in mergeTemplateLV()
523 LinkageInfo tempLV = in mergeTemplateLV()
532 LinkageInfo argsLV = getLVForTemplateArgumentList(templateArgs, computation); in mergeTemplateLV()
578 static LinkageInfo getLVForNamespaceScopeDecl(const NamedDecl *D, in getLVForNamespaceScopeDecl()
593 return LinkageInfo::internal(); in getLVForNamespaceScopeDecl()
610 return LinkageInfo::internal(); in getLVForNamespaceScopeDecl()
620 return LinkageInfo::internal(); in getLVForNamespaceScopeDecl()
629 return LinkageInfo(InternalLinkage, DefaultVisibility, false); in getLVForNamespaceScopeDecl()
645 return LinkageInfo::uniqueExternal(); in getLVForNamespaceScopeDecl()
654 LinkageInfo LV; in getLVForNamespaceScopeDecl()
722 LinkageInfo TypeLV = getLVForType(*Var->getType(), computation); in getLVForNamespaceScopeDecl()
724 return LinkageInfo::uniqueExternal(); in getLVForNamespaceScopeDecl()
774 return LinkageInfo::uniqueExternal(); in getLVForNamespaceScopeDecl()
794 return LinkageInfo::none(); in getLVForNamespaceScopeDecl()
805 LinkageInfo EnumLV = getLVForDecl(cast<NamedDecl>(D->getDeclContext()), in getLVForNamespaceScopeDecl()
808 return LinkageInfo::none(); in getLVForNamespaceScopeDecl()
815 LinkageInfo tempLV = in getLVForNamespaceScopeDecl()
833 return LinkageInfo::none(); in getLVForNamespaceScopeDecl()
837 return LinkageInfo::none(); in getLVForNamespaceScopeDecl()
843 return LinkageInfo(LV.getLinkage(), DefaultVisibility, false); in getLVForNamespaceScopeDecl()
848 static LinkageInfo getLVForClassMember(const NamedDecl *D, in getLVForClassMember()
866 return LinkageInfo::none(); in getLVForClassMember()
868 LinkageInfo LV; in getLVForClassMember()
890 LinkageInfo classLV = in getLVForClassMember()
894 return LinkageInfo::uniqueExternal(); in getLVForClassMember()
897 return LinkageInfo::none(); in getLVForClassMember()
921 return LinkageInfo::uniqueExternal(); in getLVForClassMember()
959 LinkageInfo typeLV = getLVForType(*VD->getType(), computation); in getLVForClassMember()
974 LinkageInfo tempLV = in getLVForClassMember()
1006 static LinkageInfo computeLVForDecl(const NamedDecl *D,
1036 LinkageInfo NamedDecl::getLinkageAndVisibility() const { in getLinkageAndVisibility()
1117 static LinkageInfo getLVForClosure(const DeclContext *DC, Decl *ContextDecl, in getLVForClosure()
1130 return LinkageInfo::external(); in getLVForClosure()
1133 static LinkageInfo getLVForLocalDecl(const NamedDecl *D, in getLVForLocalDecl()
1138 return LinkageInfo::uniqueExternal(); in getLVForLocalDecl()
1142 return LinkageInfo::internal(); in getLVForLocalDecl()
1144 LinkageInfo LV; in getLVForLocalDecl()
1161 return LinkageInfo::uniqueExternal(); in getLVForLocalDecl()
1163 LinkageInfo LV; in getLVForLocalDecl()
1172 LinkageInfo PrevLV = getLVForDecl(Prev, computation); in getLVForLocalDecl()
1182 return LinkageInfo::none(); in getLVForLocalDecl()
1187 return LinkageInfo::none(); in getLVForLocalDecl()
1191 return LinkageInfo::none(); in getLVForLocalDecl()
1193 LinkageInfo LV; in getLVForLocalDecl()
1196 return LinkageInfo::none(); in getLVForLocalDecl()
1204 return LinkageInfo::none(); in getLVForLocalDecl()
1209 return LinkageInfo::none(); in getLVForLocalDecl()
1210 return LinkageInfo(VisibleNoLinkage, LV.getVisibility(), in getLVForLocalDecl()
1227 static LinkageInfo computeLVForDecl(const NamedDecl *D, in computeLVForDecl()
1231 return LinkageInfo::internal(); in computeLVForDecl()
1252 return LinkageInfo::none(); in computeLVForDecl()
1265 return LinkageInfo::none(); in computeLVForDecl()
1279 return LinkageInfo::external(); in computeLVForDecl()
1286 return LinkageInfo::internal(); in computeLVForDecl()
1302 return LinkageInfo::internal(); in computeLVForDecl()
1343 return LinkageInfo::none(); in computeLVForDecl()
1349 static LinkageInfo getLVForDecl(const NamedDecl *D, in getLVForDecl()
1353 return LinkageInfo::internal(); in getLVForDecl()
1356 return LinkageInfo(D->getCachedLinkage(), DefaultVisibility, false); in getLVForDecl()
1358 LinkageInfo LV = computeLVForDecl(D, computation); in getLVForDecl()
1393 static LinkageInfo getLVForDecl(const NamedDecl *D, in getLVForDecl()