Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DCodeCompleteConsumer.cpp527 AvailabilityResult AR = D->getAvailability(); in getDeclAvailability()
529 AR = std::max(AR, cast<Decl>(D->getDeclContext())->getAvailability()); in getDeclAvailability()
DSemaDeclObjC.cpp2118 switch (method->getAvailability()) { in WarnUndefinedMethod()
3251 List->getMethod()->getAvailability() < AR_Deprecated) in addMethodToGlobalList()
3278 if (PrevObjCMethod->getAvailability() < AR_Deprecated) in addMethodToGlobalList()
DSemaExpr.cpp70 if (TreatUnavailableAsInvalid && D->getAvailability() == AR_Unavailable && in CanUseDecl()
71 cast<Decl>(CurContext)->getAvailability() != AR_Unavailable) in CanUseDecl()
112 AvailabilityResult Result = D->getAvailability(&Message); in DiagnoseAvailabilityOfDecl()
120 Result = D->getAvailability(&Message); in DiagnoseAvailabilityOfDecl()
131 Result = D->getAvailability(&Message); in DiagnoseAvailabilityOfDecl()
139 Result = TheEnumDecl->getAvailability(&Message); in DiagnoseAvailabilityOfDecl()
147 AvailabilityResult PDeclResult = PD->getAvailability(nullptr); in DiagnoseAvailabilityOfDecl()
398 if (FD->getAvailability(&Message)) in getDeletedOrUnavailableSuffix()
DSemaObjCProperty.cpp1901 Prop->getAvailability() == AR_Unavailable) in DiagnoseUnimplementedProperties()
DSemaDecl.cpp15250 AvailabilityResult R = MD->getAvailability(); in getCurContextAvailability()
15262 return D ? D->getAvailability() : AR_Available; in getCurContextAvailability()
/external/clang/include/clang/AST/
DDeclBase.h606 AvailabilityResult getAvailability(std::string *Message = nullptr) const;
614 return getAvailability(Message) == AR_Deprecated;
623 return getAvailability(Message) == AR_Unavailable;
/external/clang/include/clang/Sema/
DCodeCompleteConsumer.h478 unsigned getAvailability() const { return Availability; } in getAvailability() function
/external/clang/lib/AST/
DDeclBase.cpp497 AvailabilityResult Decl::getAvailability(std::string *Message) const { in getAvailability() function in Decl
499 return FTD->getTemplatedDecl()->getAvailability(Message); in getAvailability()
/external/clang/tools/libclang/
DCIndexCodeCompletion.cpp202 return CCStr? static_cast<CXAvailabilityKind>(CCStr->getAvailability()) in clang_getCompletionAvailability()
DCIndex.cpp6964 switch (D->getAvailability()) { in getCursorAvailabilityForDecl()