Home
last modified time | relevance | path

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

/external/llvm-project/clang/lib/Sema/
DSemaAvailability.cpp66 AvailabilityResult Result = D->getAvailability(Message); in ShouldDiagnoseAvailabilityOfDecl()
74 Result = D->getAvailability(Message); in ShouldDiagnoseAvailabilityOfDecl()
85 Result = D->getAvailability(Message); in ShouldDiagnoseAvailabilityOfDecl()
93 Result = TheEnumDecl->getAvailability(Message); in ShouldDiagnoseAvailabilityOfDecl()
106 Result = Init->getAvailability(Message); in ShouldDiagnoseAvailabilityOfDecl()
956 AvailabilityResult PDeclResult = PD->getAvailability(nullptr); in DiagnoseAvailabilityOfDecl()
DCodeCompleteConsumer.cpp662 AvailabilityResult AR = D->getAvailability(); in getDeclAvailability()
664 AR = std::max(AR, cast<Decl>(D->getDeclContext())->getAvailability()); in getDeclAvailability()
DSemaDeclObjC.cpp288 AvailabilityResult Availability = ND->getAvailability( in DiagnoseObjCImplementedDeprecations()
2221 if (method->getAvailability() == AR_Unavailable) in WarnUndefinedMethod()
3356 List->getMethod()->getAvailability() < AR_Deprecated) in addMethodToGlobalList()
3383 if (PrevObjCMethod->getAvailability() < AR_Deprecated) in addMethodToGlobalList()
DSemaObjCProperty.cpp2136 Prop->getAvailability() == AR_Unavailable) in DiagnoseUnimplementedProperties()
DSemaStmt.cpp1239 switch (EI->second->getAvailability()) { in ActOnFinishSwitchStmt()
DSemaExpr.cpp81 if (TreatUnavailableAsInvalid && D->getAvailability() == AR_Unavailable && in CanUseDecl()
82 cast<Decl>(CurContext)->getAvailability() != AR_Unavailable) in CanUseDecl()
/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/llvm-project/clang/include/clang/AST/
DDeclBase.h668 getAvailability(std::string *Message = nullptr,
686 return getAvailability(Message) == AR_Deprecated;
695 return getAvailability(Message) == AR_Unavailable;
/external/clang/include/clang/Sema/
DCodeCompleteConsumer.h478 unsigned getAvailability() const { return Availability; } in getAvailability() function
/external/llvm-project/clang/include/clang/Sema/
DCodeCompleteConsumer.h613 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/llvm-project/clang/lib/AST/
DDeclBase.cpp622 AvailabilityResult Decl::getAvailability(std::string *Message, in getAvailability() function in Decl
626 return FTD->getTemplatedDecl()->getAvailability(Message, EnclosingVersion, 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()
/external/llvm-project/clang/tools/libclang/
DCIndexCodeCompletion.cpp200 return CCStr? static_cast<CXAvailabilityKind>(CCStr->getAvailability()) in clang_getCompletionAvailability()
DCIndex.cpp7893 switch (D->getAvailability()) { in getCursorAvailabilityForDecl()
/external/llvm-project/clang-tools-extra/clangd/index/
DSymbolCollector.cpp675 if (ND.getAvailability() == AR_Deprecated) in addDeclaration()