Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DCodeCompleteConsumer.cpp502 AvailabilityResult AR = D->getAvailability(); in getDeclAvailability()
504 AR = std::max(AR, cast<Decl>(D->getDeclContext())->getAvailability()); in getDeclAvailability()
DSemaDeclObjC.cpp1250 switch (method->getAvailability()) { in WarnUndefinedMethod()
2254 if (PrevObjCMethod->getAvailability() < AR_Deprecated) in addMethodToGlobalList()
DSemaExpr.cpp68 if (D->getAvailability() == AR_Unavailable && in CanUseDecl()
69 cast<Decl>(CurContext)->getAvailability() != AR_Unavailable) in CanUseDecl()
96 AvailabilityResult Result = D->getAvailability(&Message); in DiagnoseAvailabilityOfDecl()
101 Result = TheEnumDecl->getAvailability(&Message); in DiagnoseAvailabilityOfDecl()
108 AvailabilityResult PDeclResult = PD->getAvailability(nullptr); in DiagnoseAvailabilityOfDecl()
323 if (FD->getAvailability(&Message)) in getDeletedOrUnavailableSuffix()
DSemaObjCProperty.cpp1736 Prop->getAvailability() == AR_Unavailable) in DiagnoseUnimplementedProperties()
DSemaDecl.cpp13486 AvailabilityResult R = MD->getAvailability(); in getCurContextAvailability()
13497 return D->getAvailability(); in getCurContextAvailability()
/external/clang/include/clang/AST/
DDeclBase.h575 AvailabilityResult getAvailability(std::string *Message = nullptr) const;
583 return getAvailability(Message) == AR_Deprecated;
592 return getAvailability(Message) == AR_Unavailable;
/external/clang/include/clang/Sema/
DCodeCompleteConsumer.h475 unsigned getAvailability() const { return Availability; } in getAvailability() function
/external/clang/tools/libclang/
DCIndexCodeCompletion.cpp202 return CCStr? static_cast<CXAvailabilityKind>(CCStr->getAvailability()) in clang_getCompletionAvailability()
DCIndex.cpp6067 switch (D->getAvailability()) { in getCursorAvailabilityForDecl()
/external/clang/lib/AST/
DDeclBase.cpp411 AvailabilityResult Decl::getAvailability(std::string *Message) const { in getAvailability() function in Decl