Lines Matching defs:NSAPI

1 //===--- NSAPI.cpp - NSFoundation APIs ------------------------------------===//
9 #include "clang/AST/NSAPI.h"
18 NSAPI::NSAPI(ASTContext &ctx)
23 IdentifierInfo *NSAPI::getNSClassId(NSClassIdKindKind K) const {
43 Selector NSAPI::getNSStringSelector(NSStringMethodKind MK) const {
77 Selector NSAPI::getNSArraySelector(NSArrayMethodKind MK) const {
137 std::optional<NSAPI::NSArrayMethodKind>
138 NSAPI::getNSArrayMethodKind(Selector Sel) {
148 Selector NSAPI::getNSDictionarySelector(
225 std::optional<NSAPI::NSDictionaryMethodKind>
226 NSAPI::getNSDictionaryMethodKind(Selector Sel) {
236 Selector NSAPI::getNSSetSelector(NSSetMethodKind MK) const {
275 std::optional<NSAPI::NSSetMethodKind> NSAPI::getNSSetMethodKind(Selector Sel) {
285 Selector NSAPI::getNSNumberLiteralSelector(NSNumberLiteralMethodKind MK,
337 std::optional<NSAPI::NSNumberLiteralMethodKind>
338 NSAPI::getNSNumberLiteralMethodKind(Selector Sel) const {
348 std::optional<NSAPI::NSNumberLiteralMethodKind>
349 NSAPI::getNSNumberFactoryMethodKind(QualType T) const {
358 return NSAPI::NSNumberWithBool;
360 return NSAPI::NSNumberWithInteger;
362 return NSAPI::NSNumberWithUnsignedInteger;
368 return NSAPI::NSNumberWithChar;
371 return NSAPI::NSNumberWithUnsignedChar;
373 return NSAPI::NSNumberWithShort;
375 return NSAPI::NSNumberWithUnsignedShort;
377 return NSAPI::NSNumberWithInt;
379 return NSAPI::NSNumberWithUnsignedInt;
381 return NSAPI::NSNumberWithLong;
383 return NSAPI::NSNumberWithUnsignedLong;
385 return NSAPI::NSNumberWithLongLong;
387 return NSAPI::NSNumberWithUnsignedLongLong;
389 return NSAPI::NSNumberWithFloat;
391 return NSAPI::NSNumberWithDouble;
393 return NSAPI::NSNumberWithBool;
481 bool NSAPI::isObjCBOOLType(QualType T) const {
485 bool NSAPI::isObjCNSIntegerType(QualType T) const {
489 bool NSAPI::isObjCNSUIntegerType(QualType T) const {
493 StringRef NSAPI::GetNSIntegralKind(QualType T) const {
519 bool NSAPI::isMacroDefined(StringRef Id) const {
524 bool NSAPI::isSubclassOfNSClass(ObjCInterfaceDecl *InterfaceDecl,
544 bool NSAPI::isObjCTypedef(QualType T,
563 bool NSAPI::isObjCEnumerator(const Expr *E,
581 Selector NSAPI::getOrInitSelector(ArrayRef<StringRef> Ids,
593 Selector NSAPI::getOrInitNullarySelector(StringRef Id, Selector &Sel) const {