Searched refs:VisibilityAttr (Results 1 – 8 of 8) sorted by relevance
/external/clang/lib/Sema/ |
D | SemaAttr.cpp | 413 VisibilityAttr::VisibilityType type in AddPushedVisibilityAttribute() 414 = (VisibilityAttr::VisibilityType) rawType; in AddPushedVisibilityAttribute() 417 D->addAttr(VisibilityAttr::CreateImplicit(Context, type, loc)); in AddPushedVisibilityAttribute() 439 VisibilityAttr::VisibilityType T; in ActOnPragmaVisibility() 440 if (!VisibilityAttr::ConvertStrToVisibilityType(VisType->getName(), T)) { in ActOnPragmaVisibility() 464 void Sema::PushNamespaceVisibilityAttr(const VisibilityAttr *Attr, in PushNamespaceVisibilityAttr()
|
D | SemaDeclAttr.cpp | 2258 VisibilityAttr *Sema::mergeVisibilityAttr(Decl *D, SourceRange Range, in mergeVisibilityAttr() 2259 VisibilityAttr::VisibilityType Vis, in mergeVisibilityAttr() 2261 return ::mergeVisibilityAttr<VisibilityAttr>(*this, D, Range, Vis, in mergeVisibilityAttr() 2297 VisibilityAttr::VisibilityType type; in handleVisibilityAttr() 2298 if (!VisibilityAttr::ConvertStrToVisibilityType(TypeStr, type)) { in handleVisibilityAttr() 2306 if (type == VisibilityAttr::Protected && in handleVisibilityAttr() 2309 type = VisibilityAttr::Default; in handleVisibilityAttr()
|
D | SemaExprCXX.cpp | 2439 Alloc->addAttr(VisibilityAttr::CreateImplicit(Context, in DeclareGlobalAllocationFunction() 2440 VisibilityAttr::Default)); in DeclareGlobalAllocationFunction()
|
D | SemaDeclCXX.cpp | 7415 if (const VisibilityAttr *Attr = Namespc->getAttr<VisibilityAttr>()) in ActOnStartNamespaceDef() 7491 if (Namespc->hasAttr<VisibilityAttr>()) in ActOnFinishNamespaceDef()
|
D | SemaDecl.cpp | 2259 else if (const auto *VA = dyn_cast<VisibilityAttr>(Attr)) in mergeDeclAttribute()
|
/external/clang/lib/AST/ |
D | Decl.cpp | 217 if (const auto *A = D->getAttr<VisibilityAttr>()) { in getVisibilityOf() 374 return !fn->hasAttr<VisibilityAttr>(); in shouldConsiderTemplateVisibility() 415 if (D->hasAttr<VisibilityAttr>()) in hasDirectVisibilityAttribute()
|
/external/clang/tools/libclang/ |
D | CIndex.cpp | 4263 const VisibilityAttr *AA = cast<VisibilityAttr>(cxcursor::getCursorAttr(C)); in clang_getCursorSpelling() 4265 case VisibilityAttr::VisibilityType::Default: in clang_getCursorSpelling() 4267 case VisibilityAttr::VisibilityType::Hidden: in clang_getCursorSpelling() 4269 case VisibilityAttr::VisibilityType::Protected: in clang_getCursorSpelling()
|
/external/clang/include/clang/Sema/ |
D | Sema.h | 187 class VisibilityAttr; variable 2177 VisibilityAttr *mergeVisibilityAttr(Decl *D, SourceRange Range, 2178 VisibilityAttr::VisibilityType Vis, 7836 void PushNamespaceVisibilityAttr(const VisibilityAttr *Attr,
|