Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaAttr.cpp317 VisibilityAttr::VisibilityType type in AddPushedVisibilityAttribute()
318 = (VisibilityAttr::VisibilityType) rawType; in AddPushedVisibilityAttribute()
321 D->addAttr(::new (Context) VisibilityAttr(loc, Context, type)); in AddPushedVisibilityAttribute()
343 VisibilityAttr::VisibilityType type; in ActOnPragmaVisibility()
345 type = VisibilityAttr::Default; in ActOnPragmaVisibility()
347 type = VisibilityAttr::Hidden; in ActOnPragmaVisibility()
349 type = VisibilityAttr::Hidden; // FIXME in ActOnPragmaVisibility()
351 type = VisibilityAttr::Protected; in ActOnPragmaVisibility()
377 void Sema::PushNamespaceVisibilityAttr(const VisibilityAttr *Attr) { in PushNamespaceVisibilityAttr()
DSemaDeclAttr.cpp1172 VisibilityAttr::VisibilityType type; in handleVisibilityAttr()
1175 type = VisibilityAttr::Default; in handleVisibilityAttr()
1177 type = VisibilityAttr::Hidden; in handleVisibilityAttr()
1179 type = VisibilityAttr::Hidden; // FIXME in handleVisibilityAttr()
1181 type = VisibilityAttr::Protected; in handleVisibilityAttr()
1187 D->addAttr(::new (S.Context) VisibilityAttr(Attr.getLoc(), S.Context, type)); in handleVisibilityAttr()
DSemaDeclCXX.cpp4628 if (const VisibilityAttr *Attr = Namespc->getAttr<VisibilityAttr>()) in ActOnStartNamespaceDef()
4808 if (Namespc->hasAttr<VisibilityAttr>()) in ActOnFinishNamespaceDef()
/external/clang/lib/AST/
DDecl.cpp39 if (const VisibilityAttr *A = D->getAttr<VisibilityAttr>()) { in getVisibilityOf()
41 case VisibilityAttr::Default: in getVisibilityOf()
43 case VisibilityAttr::Hidden: in getVisibilityOf()
45 case VisibilityAttr::Protected: in getVisibilityOf()
203 fn->hasAttr<VisibilityAttr>()); in shouldConsiderTemplateLV()
207 return !(d->isExplicitSpecialization() && d->hasAttr<VisibilityAttr>()); in shouldConsiderTemplateLV()
/external/clang/include/clang/Sema/
DSema.h152 class VisibilityAttr; variable
5265 void PushNamespaceVisibilityAttr(const VisibilityAttr *Attr);