Home
last modified time | relevance | path

Searched refs:VisibilityAttr (Results 1 – 10 of 10) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaAttr.cpp1228 VisibilityAttr::VisibilityType type in AddPushedVisibilityAttribute()
1229 = (VisibilityAttr::VisibilityType) rawType; in AddPushedVisibilityAttribute()
1232 D->addAttr(VisibilityAttr::CreateImplicit(Context, type, loc)); in AddPushedVisibilityAttribute()
1253 VisibilityAttr::VisibilityType T; in ActOnPragmaVisibility()
1254 if (!VisibilityAttr::ConvertStrToVisibilityType(VisType->getName(), T)) { in ActOnPragmaVisibility()
1364 void Sema::PushNamespaceVisibilityAttr(const VisibilityAttr *Attr, in PushNamespaceVisibilityAttr()
H A DSemaDeclAttr.cpp2543 VisibilityAttr *Sema::mergeVisibilityAttr(Decl *D, in mergeVisibilityAttr()
2545 VisibilityAttr::VisibilityType Vis) { in mergeVisibilityAttr()
2546 return ::mergeVisibilityAttr<VisibilityAttr>(*this, D, CI, Vis); in mergeVisibilityAttr()
2577 VisibilityAttr::VisibilityType type; in handleVisibilityAttr()
2578 if (!VisibilityAttr::ConvertStrToVisibilityType(TypeStr, type)) { in handleVisibilityAttr()
2586 if (type == VisibilityAttr::Protected && in handleVisibilityAttr()
2589 type = VisibilityAttr::Default; in handleVisibilityAttr()
H A DSemaExprCXX.cpp3222 Alloc->addAttr(VisibilityAttr::CreateImplicit( in DeclareGlobalAllocationFunction()
3224 ? VisibilityAttr::Hidden in DeclareGlobalAllocationFunction()
3226 ? VisibilityAttr::Protected in DeclareGlobalAllocationFunction()
3227 : VisibilityAttr::Default)); in DeclareGlobalAllocationFunction()
H A DSemaDeclCXX.cpp11629 if (const VisibilityAttr *Attr = Namespc->getAttr<VisibilityAttr>()) in ActOnStartNamespaceDef()
11703 if (Namespc->hasAttr<VisibilityAttr>()) in ActOnFinishNamespaceDef()
H A DSemaDecl.cpp2804 else if (const auto *VA = dyn_cast<VisibilityAttr>(Attr)) in mergeDeclAttribute()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DJSONNodeDumper.h219 void VisitVisibilityAttr(const VisibilityAttr *VA);
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCAsmPrinter.cpp2265 MCSymbolAttr VisibilityAttr = MCSA_Invalid; in emitLinkage() local
2275 VisibilityAttr = MAI->getExportedVisibilityAttr(); in emitLinkage()
2278 VisibilityAttr = MAI->getHiddenVisibilityAttr(); in emitLinkage()
2281 VisibilityAttr = MAI->getProtectedVisibilityAttr(); in emitLinkage()
2292 VisibilityAttr); in emitLinkage()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DJSONNodeDumper.cpp594 void JSONNodeDumper::VisitVisibilityAttr(const VisibilityAttr *VA) { in VisitVisibilityAttr()
595 JOS.attribute("visibility", VisibilityAttr::ConvertVisibilityTypeToStr( in VisitVisibilityAttr()
H A DDecl.cpp233 if (const auto *A = D->getAttr<VisibilityAttr>()) { in getVisibilityOf()
382 return !fn->hasAttr<VisibilityAttr>(); in shouldConsiderTemplateVisibility()
425 D->hasAttr<VisibilityAttr>(); in hasDirectVisibilityAttribute()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h226 class VisibilityAttr; variable
2046 void PushNamespaceVisibilityAttr(const VisibilityAttr *Attr,
4515 VisibilityAttr *mergeVisibilityAttr(Decl *D, const AttributeCommonInfo &CI,
4516 VisibilityAttr::VisibilityType Vis);