Home
last modified time | relevance | path

Searched refs:ObjCRuntime (Results 1 – 25 of 30) sorted by relevance

12

/external/clang/lib/Basic/
DObjCRuntime.cpp19 std::string ObjCRuntime::getAsString() const { in getAsString()
28 raw_ostream &clang::operator<<(raw_ostream &out, const ObjCRuntime &value) { in operator <<()
30 case ObjCRuntime::MacOSX: out << "macosx"; break; in operator <<()
31 case ObjCRuntime::FragileMacOSX: out << "macosx-fragile"; break; in operator <<()
32 case ObjCRuntime::iOS: out << "ios"; break; in operator <<()
33 case ObjCRuntime::WatchOS: out << "watchos"; break; in operator <<()
34 case ObjCRuntime::GNUstep: out << "gnustep"; break; in operator <<()
35 case ObjCRuntime::GCC: out << "gcc"; break; in operator <<()
36 case ObjCRuntime::ObjFW: out << "objfw"; break; in operator <<()
44 bool ObjCRuntime::tryParse(StringRef input) { in tryParse()
[all …]
DCMakeLists.txt78 ObjCRuntime.cpp
/external/clang/include/clang/Basic/
DObjCRuntime.h25 class ObjCRuntime {
65 ObjCRuntime() : TheKind(MacOSX) {} in ObjCRuntime() function
67 ObjCRuntime(Kind kind, const VersionTuple &version) in ObjCRuntime() function
336 friend bool operator==(const ObjCRuntime &left, const ObjCRuntime &right) {
341 friend bool operator!=(const ObjCRuntime &left, const ObjCRuntime &right) {
346 raw_ostream &operator<<(raw_ostream &out, const ObjCRuntime &value);
DLangOptions.h93 clang::ObjCRuntime ObjCRuntime; variable
143 return ObjCRuntime.isSubscriptPointerArithmetic() && in isSubscriptPointerArithmetic()
/external/clang/lib/CodeGen/
DCGException.cpp69 getLangOpts().ObjCRuntime.hasTerminate()) in getTerminateFn()
127 switch (L.ObjCRuntime.getKind()) { in getObjCPersonality()
128 case ObjCRuntime::FragileMacOSX: in getObjCPersonality()
130 case ObjCRuntime::MacOSX: in getObjCPersonality()
131 case ObjCRuntime::iOS: in getObjCPersonality()
132 case ObjCRuntime::WatchOS: in getObjCPersonality()
134 case ObjCRuntime::GNUstep: in getObjCPersonality()
135 if (L.ObjCRuntime.getVersion() >= VersionTuple(1, 7)) in getObjCPersonality()
138 case ObjCRuntime::GCC: in getObjCPersonality()
139 case ObjCRuntime::ObjFW: in getObjCPersonality()
[all …]
DCGObjCGNU.cpp237 const ObjCRuntime &R = CGM.getLangOpts().ObjCRuntime; in MakePropertyEncodingString()
238 if ((R.getKind() == ObjCRuntime::GNUstep) && in MakePropertyEncodingString()
738 const ObjCRuntime &R = CGM.getLangOpts().ObjCRuntime; in CGObjCGNUstep()
791 assert (CGM.getLangOpts().ObjCRuntime.getVersion() >= in GetCppAtomicObjectGetFunction()
799 assert (CGM.getLangOpts().ObjCRuntime.getVersion() >= in GetCppAtomicObjectSetFunction()
812 assert (CGM.getLangOpts().ObjCRuntime.getVersion() >= in GetOptimizedPropertySetFunction()
1137 if (CGM.getLangOpts().ObjCRuntime.isNonFragile()) { in GetEHType()
2211 if (CGM.getLangOpts().ObjCRuntime.isNonFragile()) { in GenerateClass()
2226 if (CGM.getLangOpts().ObjCRuntime.isNonFragile()) { in GenerateClass()
2858 if (CGM.getLangOpts().ObjCRuntime.isNonFragile()) { in EmitIvarOffset()
[all …]
DCodeGenModule.cpp166 switch (LangOpts.ObjCRuntime.getKind()) { in createObjCRuntime()
167 case ObjCRuntime::GNUstep: in createObjCRuntime()
168 case ObjCRuntime::GCC: in createObjCRuntime()
169 case ObjCRuntime::ObjFW: in createObjCRuntime()
170 ObjCRuntime.reset(CreateGNUObjCRuntime(*this)); in createObjCRuntime()
173 case ObjCRuntime::FragileMacOSX: in createObjCRuntime()
174 case ObjCRuntime::MacOSX: in createObjCRuntime()
175 case ObjCRuntime::iOS: in createObjCRuntime()
176 case ObjCRuntime::WatchOS: in createObjCRuntime()
177 ObjCRuntime.reset(CreateMacObjCRuntime(*this)); in createObjCRuntime()
[all …]
DCodeGenModule.h288 std::unique_ptr<CGObjCRuntime> ObjCRuntime; variable
509 if (!ObjCRuntime) createObjCRuntime(); in getObjCRuntime()
510 return *ObjCRuntime; in getObjCRuntime()
514 bool hasObjCRuntime() { return !!ObjCRuntime; } in hasObjCRuntime()
DCGObjC.cpp1141 return CGM.getLangOpts().ObjCRuntime.hasOptimizedSetter(); in UseOptimizedSetter()
1806 if (!CGM.getLangOpts().ObjCRuntime.hasNativeARC()) { in createARCRuntimeFunction()
2537 CGM.getLangOpts().ObjCRuntime.hasARCUnsafeClaimAutoreleasedReturnValue()) { in EmitARCReclaimReturnedObject()
3129 if (CGM.getLangOpts().ObjCRuntime.hasNativeARC()) { in EmitObjCAutoreleasePoolStmt()
3168 !getLangOpts().ObjCRuntime.hasAtomicCopyHelper()) in GenerateObjCAtomicSetterCopyHelperFunction()
3247 !getLangOpts().ObjCRuntime.hasAtomicCopyHelper()) in GenerateObjCAtomicGetterCopyHelperFunction()
DCGObjCMac.cpp7310 switch (CGM.getLangOpts().ObjCRuntime.getKind()) { in CreateMacObjCRuntime()
7311 case ObjCRuntime::FragileMacOSX: in CreateMacObjCRuntime()
7314 case ObjCRuntime::MacOSX: in CreateMacObjCRuntime()
7315 case ObjCRuntime::iOS: in CreateMacObjCRuntime()
7316 case ObjCRuntime::WatchOS: in CreateMacObjCRuntime()
7319 case ObjCRuntime::GNUstep: in CreateMacObjCRuntime()
7320 case ObjCRuntime::GCC: in CreateMacObjCRuntime()
7321 case ObjCRuntime::ObjFW: in CreateMacObjCRuntime()
DCGDebugInfo.cpp438 RuntimeVers = LO.ObjCRuntime.isNonFragile() ? 2 : 1; in CreateCompileUnit()
1991 if (CGM.getLangOpts().ObjCRuntime.isNonFragile()) { in CreateTypeDefinition()
/external/clang/lib/Driver/
DToolChain.cpp397 ObjCRuntime ToolChain::getDefaultObjCRuntime(bool isNonFragile) const { in getDefaultObjCRuntime()
398 return ObjCRuntime(isNonFragile ? ObjCRuntime::GNUstep : ObjCRuntime::GCC, in getDefaultObjCRuntime()
DToolChains.cpp80 ObjCRuntime Darwin::getDefaultObjCRuntime(bool isNonFragile) const { in getDefaultObjCRuntime()
82 return ObjCRuntime(ObjCRuntime::WatchOS, TargetVersion); in getDefaultObjCRuntime()
84 return ObjCRuntime(ObjCRuntime::iOS, TargetVersion); in getDefaultObjCRuntime()
86 return ObjCRuntime(ObjCRuntime::MacOSX, TargetVersion); in getDefaultObjCRuntime()
87 return ObjCRuntime(ObjCRuntime::FragileMacOSX, TargetVersion); in getDefaultObjCRuntime()
268 ObjCRuntime runtime = getDefaultObjCRuntime(/*nonfragile*/ true); in AddLinkARCArgs()
DTools.h23 class ObjCRuntime; variable
92 ObjCRuntime AddObjCRuntimeArgs(const llvm::opt::ArgList &args,
DTools.cpp2617 shouldUseExceptionTablesForObjCExceptions(const ObjCRuntime &runtime, in shouldUseExceptionTablesForObjCExceptions()
2639 const ObjCRuntime &objcRuntime, in addExceptionArgs()
5517 ObjCRuntime objcRuntime = AddObjCRuntimeArgs(Args, CmdArgs, rewriteKind); in ConstructJob()
5541 objcRuntime.getKind() == ObjCRuntime::FragileMacOSX && in ConstructJob()
6062 ObjCRuntime Clang::AddObjCRuntimeArgs(const ArgList &args, in AddObjCRuntimeArgs()
6074 ObjCRuntime runtime; in AddObjCRuntimeArgs()
6142 ObjCRuntime runtime; in AddObjCRuntimeArgs()
6149 runtime = ObjCRuntime(ObjCRuntime::FragileMacOSX, VersionTuple()); in AddObjCRuntimeArgs()
6152 runtime = ObjCRuntime(ObjCRuntime::MacOSX, VersionTuple()); in AddObjCRuntimeArgs()
6164 runtime = ObjCRuntime(ObjCRuntime::MacOSX, VersionTuple()); in AddObjCRuntimeArgs()
[all …]
DToolChains.h533 ObjCRuntime getDefaultObjCRuntime(bool isNonFragile) const override;
/external/clang/include/clang/Driver/
DToolChain.h35 class ObjCRuntime; variable
353 virtual ObjCRuntime getDefaultObjCRuntime(bool isNonFragile) const;
/external/clang/lib/Frontend/
DInitPreprocessor.cpp560 if (LangOpts.ObjCRuntime.isNonFragile()) { in InitializePredefinedMacros()
570 if (LangOpts.ObjCRuntime.isNeXTFamily()) in InitializePredefinedMacros()
573 if (LangOpts.ObjCRuntime.getKind() == ObjCRuntime::ObjFW) { in InitializePredefinedMacros()
574 VersionTuple tuple = LangOpts.ObjCRuntime.getVersion(); in InitializePredefinedMacros()
DCompilerInvocation.cpp1726 if (Opts.ObjCRuntime.tryParse(value)) in ParseLangArgs()
1736 if (!Opts.ObjCRuntime.allowsARC()) in ParseLangArgs()
1747 Opts.ObjCWeakRuntime = Opts.ObjCRuntime.allowsWeak(); in ParseLangArgs()
1770 (Opts.ObjCRuntime.getKind() == ObjCRuntime::FragileMacOSX); in ParseLangArgs()
/external/clang/lib/Frontend/Rewrite/
DFrontendActions.cpp156 if (CI.getLangOpts().ObjCRuntime.isNonFragile()) in CreateASTConsumer()
/external/clang/lib/Sema/
DSemaObjCProperty.cpp1155 if (getLangOpts().ObjCRuntime.isFragile()) in ActOnPropertyImplDecl()
1160 } else if (getLangOpts().ObjCRuntime.isNonFragile() && in ActOnPropertyImplDecl()
1365 getLangOpts().ObjCRuntime.isNonFragile() && in ActOnPropertyImplDecl()
1758 if (!LangOpts.ObjCDefaultSynthProperties || LangOpts.ObjCRuntime.isFragile()) in DefaultSynthesizeProperties()
1799 S.LangOpts.ObjCRuntime.isNonFragile()) in DiagnoseUnimplementedAccessor()
DSemaDeclObjC.cpp2044 if (LangOpts.ObjCRuntime.isNonFragile()) { in CheckImplementationIvars()
2630 if (S.getLangOpts().ObjCRuntime.isNeXTFamily()) { in CheckProtocolMethodDefs()
2895 LangOpts.ObjCRuntime.isNonFragile() && in ImplMethodsVsClassMethods()
3856 if (LangOpts.ObjCRuntime.isNonFragile()) { in ActOnAtEnd()
4530 if (LangOpts.ObjCRuntime.isNonFragile()) { in ActOnDefs()
/external/clang/lib/Lex/
DPPMacroExpansion.cpp1107 .Case("objc_nonfragile_abi", LangOpts.ObjCRuntime.isNonFragile()) in HasFeature()
1111 .Case("objc_weak_class", LangOpts.ObjCRuntime.hasWeakClassImport()) in HasFeature()
1116 .Case("objc_subscripting", LangOpts.ObjCRuntime.isNonFragile()) in HasFeature()
/external/clang/lib/AST/
DDeclBase.cpp564 getASTContext().getLangOpts().ObjCRuntime.hasWeakClassImport()) { in canBeWeakImported()
/external/clang/lib/Serialization/
DASTReader.cpp235 if (ExistingLangOpts.ObjCRuntime != LangOpts.ObjCRuntime) { in checkLanguageOptions()
4705 ObjCRuntime::Kind runtimeKind = (ObjCRuntime::Kind) Record[Idx++]; in ParseLanguageOptions()
4707 LangOpts.ObjCRuntime = ObjCRuntime(runtimeKind, runtimeVersion); in ParseLanguageOptions()

12