Home
last modified time | relevance | path

Searched refs:ObjC (Results 1 – 25 of 122) sorted by relevance

12345

/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseObjc.cpp137 Actions.ObjC().popObjCTypeParamList(S, Params); in leave()
184 return Actions.ObjC().ActOnForwardClassDeclaration( in ParseObjCAtClassDeclaration()
191 SemaObjC::ObjCContainerKind ock = Actions.ObjC().getObjCContainerKind(); in CheckNestedObjCContexts()
195 Decl *Decl = Actions.ObjC().getObjCDeclContext(); in CheckNestedObjCContexts()
199 Actions.ObjC().ActOnAtEnd(getCurScope(), AtLoc); in CheckNestedObjCContexts()
290 else if (!getLangOpts().ObjC) { in ParseObjCAtInterfaceDeclaration()
310 ObjCCategoryDecl *CategoryType = Actions.ObjC().ActOnStartCategoryInterface( in ParseObjCAtInterfaceDeclaration()
366 Actions.ObjC().FindProtocolDeclaration(/*WarnOnDeclarations=*/true, in ParseObjCAtInterfaceDeclaration()
378 Actions.ObjC().ActOnTypedefedProtocols(protocols, protocolLocs, in ParseObjCAtInterfaceDeclaration()
382 ObjCInterfaceDecl *ClsType = Actions.ObjC().ActOnStartClassInterface( in ParseObjCAtInterfaceDeclaration()
[all …]
H A DParseInit.cpp256 if (getLangOpts().ObjC && getLangOpts().CPlusPlus) { in ParseInitializerWithPotentialDesignator()
289 } else if (getLangOpts().ObjC && Tok.is(tok::identifier)) { in ParseInitializerWithPotentialDesignator()
296 switch (Actions.ObjC().getObjCMessageKind( in ParseInitializerWithPotentialDesignator()
359 if (getLangOpts().ObjC && Tok.isNot(tok::ellipsis) && in ParseInitializerWithPotentialDesignator()
H A DParseExpr.cpp484 if (getLangOpts().ObjC && getLangOpts().CPlusPlus && in ParseRHSOfBinaryExpression()
1245 if (getLangOpts().ObjC && Tok.is(tok::period) && in ParseCastExpression()
1266 Res = Actions.ObjC().ActOnClassPropertyRefExpr(II, PropertyName, ILoc, in ParseCastExpression()
1275 if (getLangOpts().ObjC && &II == Ident_super && !InMessageExpression && in ParseCastExpression()
1290 if (getLangOpts().ObjC && in ParseCastExpression()
1869 if (getLangOpts().ObjC) { in ParseCastExpression()
1888 if (getLangOpts().ObjC) { in ParseCastExpression()
2005 if (getLangOpts().ObjC && !InMessageExpression && in ParsePostfixExpressionSuffix()
2023 if (getLangOpts().ObjC && Tok.isAtStartOfLine() && in ParsePostfixExpressionSuffix()
2344 if (getLangOpts().ObjC && OpKind == tok::period && in ParsePostfixExpressionSuffix()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DFeatures.def128 FEATURE(objc_default_synthesize_properties, LangOpts.ObjC)
129 FEATURE(objc_fixed_enum, LangOpts.ObjC)
130 FEATURE(objc_instancetype, LangOpts.ObjC)
131 FEATURE(objc_kindof, LangOpts.ObjC)
132 FEATURE(objc_modules, LangOpts.ObjC && LangOpts.Modules)
142 FEATURE(objc_array_literals, LangOpts.ObjC)
143 FEATURE(objc_dictionary_literals, LangOpts.ObjC)
144 FEATURE(objc_boxed_expressions, LangOpts.ObjC)
145 FEATURE(objc_boxed_nsvalue_expressions, LangOpts.ObjC)
149 FEATURE(objc_generics, LangOpts.ObjC)
[all …]
H A DLangStandard.h37 ObjC, enumerator
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaPseudoObject.cpp562 S.ObjC().isSelfExpr(const_cast<Expr *>(PRE->getBase()))) { in LookupMethodInReceiverType()
567 return S.ObjC().LookupMethodInObjectType( in LookupMethodInReceiverType()
572 return S.ObjC().LookupMethodInObjectType(sel, PT->getPointeeType(), true); in LookupMethodInReceiverType()
578 return S.ObjC().LookupMethodInObjectType(sel, PT->getPointeeType(), true); in LookupMethodInReceiverType()
580 return S.ObjC().LookupMethodInObjectType(sel, PRE->getSuperReceiverType(), in LookupMethodInReceiverType()
586 return S.ObjC().LookupMethodInObjectType(sel, IT, false); in LookupMethodInReceiverType()
747 msg = S.ObjC().BuildInstanceMessageImplicit( in buildGet()
751 msg = S.ObjC().BuildClassMessageImplicit( in buildGet()
807 msg = S.ObjC().BuildInstanceMessageImplicit(InstanceReceiver, receiverType, in buildSet()
811 msg = S.ObjC().BuildClassMessageImplicit( in buildSet()
[all …]
H A DSemaAvailability.cpp135 if (S.ObjC().NSAPIObj && ClassReceiver) { in ShouldDiagnoseAvailabilityOfDecl()
137 S.ObjC().NSAPIObj->getInitSelector()); in ShouldDiagnoseAvailabilityOfDecl()
139 MD->getSelector() == S.ObjC().NSAPIObj->getNewSelector() && in ShouldDiagnoseAvailabilityOfDecl()
830 << (!SemaRef.getLangOpts().ObjC); in VisitObjCAvailabilityCheckExpr()
897 << (SemaRef.getLangOpts().ObjC ? /*@available*/ 0 in DiagnoseDeclAvailability()
942 FixItOS << "if (" << (SemaRef.getLangOpts().ObjC ? "@available" in DiagnoseDeclAvailability()
H A DSemaSwift.cpp113 if (ID->getIdentifier() == S.ObjC().getNSErrorIdent()) in isErrorParameter()
119 if (S.ObjC().isCFError(RT->getDecl())) in isErrorParameter()
252 if (ID->getIdentifier() == S.ObjC().getNSErrorIdent()) { in checkSwiftAsyncErrorBlock()
261 if (S.ObjC().isCFError(RT->getDecl())) { in checkSwiftAsyncErrorBlock()
H A DSemaDeclAttr.cpp81 ObjC enumerator
3343 bool NotNSStringTy = !S.ObjC().isNSStringType(Ty); in handleFormatArgAttr()
3344 if (NotNSStringTy && !S.ObjC().isCFStringType(Ty) && in handleFormatArgAttr()
3359 if (!S.ObjC().isNSStringType(Ty, /*AllowNSAttributedString=*/true) && in handleFormatArgAttr()
3360 !S.ObjC().isCFStringType(Ty) && in handleFormatArgAttr()
3555 if (!S.ObjC().isNSStringType(Ty, true) && !S.ObjC().isCFStringType(Ty) && in handleFormatAttr()
6424 S.ObjC().handleIBOutlet(D, AL); in ProcessDeclAttribute()
6427 S.ObjC().handleIBOutletCollection(D, AL); in ProcessDeclAttribute()
6604 S.ObjC().handleOwnershipAttr(D, AL); in ProcessDeclAttribute()
6607 S.ObjC().handlePreciseLifetimeAttr(D, AL); in ProcessDeclAttribute()
[all …]
/freebsd/contrib/llvm-project/lld/docs/MachO/
H A Dld64-vs-lld.rst28 ObjC Symbols Treatment
30 There are differences in how LLD and ld64 handle ObjC symbols loaded from
34 1. Duplicate ObjC symbols from the same archives will not raise an error.
36 2. Duplicate ObjC symbols from different archives will raise a "duplicate
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DFrontendOptions.cpp23 .Case("m", Language::ObjC) in getInputKindForExtension()
24 .Case("mi", InputKind(Language::ObjC).getPreprocessed()) in getInputKindForExtension()
/freebsd/lib/clang/liblldb/
H A DMakefile430 SRCS+= Plugins/Language/ObjC/CF.cpp
431 SRCS+= Plugins/Language/ObjC/CFBasicHash.cpp
432 SRCS+= Plugins/Language/ObjC/Cocoa.cpp
433 SRCS+= Plugins/Language/ObjC/CoreMedia.cpp
434 SRCS+= Plugins/Language/ObjC/NSArray.cpp
435 SRCS+= Plugins/Language/ObjC/NSDictionary.cpp
436 SRCS+= Plugins/Language/ObjC/NSError.cpp
437 SRCS+= Plugins/Language/ObjC/NSException.cpp
438 SRCS+= Plugins/Language/ObjC/NSIndexPath.cpp
439 SRCS+= Plugins/Language/ObjC/NSSet.cpp
[all …]
/freebsd/contrib/llvm-project/clang/lib/Index/
H A DIndexSymbol.cpp193 Info.Lang = SymbolLanguage::ObjC; in getSymbolInfo()
203 Info.Lang = SymbolLanguage::ObjC; in getSymbolInfo()
208 Info.Lang = SymbolLanguage::ObjC; in getSymbolInfo()
227 Info.Lang = SymbolLanguage::ObjC; in getSymbolInfo()
236 Info.Lang = SymbolLanguage::ObjC; in getSymbolInfo()
245 Info.Lang = SymbolLanguage::ObjC; in getSymbolInfo()
563 case SymbolLanguage::ObjC: return "ObjC"; in getSymbolLanguageString()
/freebsd/contrib/llvm-project/clang/lib/Basic/
H A DLangStandards.cpp30 case Language::ObjC: in languageToString()
109 case Language::ObjC: in getDefaultLanguageStandard()
H A DLangOptions.cpp102 } else if (Lang == Language::ObjC || Lang == Language::ObjCXX) { in setLangDefaults()
103 Opts.ObjC = 1; in setLangDefaults()
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/
H A DRetainSummaryManager.h41 ObjC, enumerator
190 return RetEffect(OwnedWhenTrackedReceiver, ObjKind::ObjC); in MakeOwnedWhenTrackedReceiver()
630 ObjCAllocRetE(ARCEnabled ? RetEffect::MakeNotOwned(ObjKind::ObjC)
631 : RetEffect::MakeOwned(ObjKind::ObjC)),
632 ObjCInitRetE(ARCEnabled ? RetEffect::MakeNotOwned(ObjKind::ObjC)
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DOperationKinds.def56 /// block pointer or ObjC pointer type is a bitcast only if the
121 /// CK_NullToPointer - Null pointer constant to pointer, ObjC
165 /// reinterpreting conversion. Applies to normal, ObjC, and block
172 /// reinterpreting conversion. Applies to normal, ObjC, and block
178 /// against null. Applies to normal, ObjC, and block pointers.
256 /// ObjC pointer.
/freebsd/contrib/llvm-project/llvm/include/llvm/DWARFLinker/
H A DDWARFLinkerCompileUnit.h
/freebsd/contrib/llvm-project/llvm/include/llvm/DWARFLinker/Classic/
H A DDWARFLinkerCompileUnit.h262 const std::vector<AccelInfo> &getObjC() const { return ObjC; } in getObjC()
318 std::vector<AccelInfo> ObjC; variable
/freebsd/contrib/llvm-project/clang/include/clang/InstallAPI/
H A DContext.h38 Language LangMode = Language::ObjC;
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/
H A DRetainCountChecker.cpp190 K = ObjKind::ObjC; in checkPostStmt()
238 ArgEffect(MayEscape, ObjKind::ObjC), hasErr, C); in processObjCLiterals()
252 RefVal::makeNotOwned(ObjKind::ObjC, ResultTy)); in processObjCLiterals()
278 RefVal::makeNotOwned(ObjKind::ObjC, ResultTy)); in checkPostStmt()
301 Kind = ObjKind::ObjC; in checkPostStmt()
716 if (AE.getObjKind() == ObjKind::ObjC && IgnoreRetainMsg) { in updateSymbol()
1356 (TrackNSCFStartParam && (K == ObjKind::ObjC || K == ObjKind::CF))) { in checkBeginFunction()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/PDB/
H A DPDBSymbolCompiland.cpp105 .Case(".m", Lang == PDB_Lang::ObjC) in getSourceFileFullPath()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DNSAPI.cpp492 if (!Ctx.getLangOpts().ObjC || T.isNull()) in GetNSIntegralKind()
544 if (!Ctx.getLangOpts().ObjC) in isObjCTypedef()
563 if (!Ctx.getLangOpts().ObjC) in isObjCEnumerator()
/freebsd/contrib/llvm-project/clang/include/clang/Index/
H A DIndexSymbol.h66 ObjC, enumerator
/freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangExpressionParser.cpp498 lang_opts.ObjC = true; in ClangExpressionParser()
533 lang_opts.ObjC = in ClangExpressionParser()
539 lang_opts.ObjC = true; in ClangExpressionParser()
574 lang_opts.ObjC = true; in ClangExpressionParser()
590 if (process_sp && lang_opts.ObjC) { in ClangExpressionParser()

12345