Lines Matching refs:LinkageInfo
67 typedef NamedDecl::LinkageInfo LinkageInfo;
95 static LinkageInfo getLVForType(QualType T) {
97 return LinkageInfo(P.first, P.second, T->isVisibilityExplicit());
102 static LinkageInfo
104 LinkageInfo LV(ExternalLinkage, DefaultVisibility, false);
134 static LinkageInfo getLVForDecl(const NamedDecl *D, LVFlags F);
138 static LinkageInfo getLVForTemplateArgumentList(const TemplateArgument *Args,
141 LinkageInfo LV(ExternalLinkage, DefaultVisibility, false);
181 static LinkageInfo
197 static LinkageInfo getLVForNamespaceScopeDecl(const NamedDecl *D, LVFlags F) {
211 return LinkageInfo::internal();
229 return LinkageInfo::internal();
252 return LinkageInfo(InternalLinkage, DefaultVisibility, false);
256 return LinkageInfo::internal();
264 return LinkageInfo::uniqueExternal();
273 LinkageInfo LV;
325 LinkageInfo TypeLV = getLVForType(Var->getType());
327 return LinkageInfo::uniqueExternal();
348 LinkageInfo PrevLV = getLVForDecl(PrevVar, F);
383 LinkageInfo PrevLV = getLVForDecl(PrevFunc, F);
396 return LinkageInfo::uniqueExternal();
419 return LinkageInfo::none();
438 LinkageInfo EnumLV = getLVForDecl(cast<NamedDecl>(D->getDeclContext()), F);
440 return LinkageInfo::none();
461 return LinkageInfo::none();
467 return LinkageInfo(LV.linkage(), DefaultVisibility, false);
472 static LinkageInfo getLVForClassMember(const NamedDecl *D, LVFlags F) {
482 return LinkageInfo::none();
484 LinkageInfo LV;
533 return LinkageInfo::none();
537 return LinkageInfo::uniqueExternal();
543 return LinkageInfo::uniqueExternal();
579 LinkageInfo TypeLV = getLVForType(VD->getType());
649 LinkageInfo NamedDecl::getLinkageAndVisibility() const {
650 LinkageInfo LI = getLVForDecl(this, LVFlags());
706 static LinkageInfo getLVForDecl(const NamedDecl *D, LVFlags Flags) {
713 return LinkageInfo::none();
725 return LinkageInfo::external();
732 return LinkageInfo::internal();
747 return LinkageInfo::external();
783 return LinkageInfo::uniqueExternal();
785 LinkageInfo LV;
792 LinkageInfo PrevLV = getLVForDecl(Prev, Flags);
805 return LinkageInfo::uniqueExternal();
807 LinkageInfo LV;
816 LinkageInfo PrevLV = getLVForDecl(Prev, Flags);
827 return LinkageInfo::none();