Home
last modified time | relevance | path

Searched refs:ObjCRuntime (Results 1 – 25 of 35) 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::GNUstep: out << "gnustep"; break; in operator <<()
34 case ObjCRuntime::GCC: out << "gcc"; break; in operator <<()
35 case ObjCRuntime::ObjFW: out << "objfw"; break; in operator <<()
43 bool ObjCRuntime::tryParse(StringRef input) { in tryParse()
60 kind = ObjCRuntime::MacOSX; in tryParse()
[all …]
DAndroid.mk33 ObjCRuntime.cpp \
DCMakeLists.txt69 ObjCRuntime.cpp
/external/clang/include/clang/Basic/
DObjCRuntime.h25 class ObjCRuntime {
61 ObjCRuntime() : TheKind(MacOSX) {} in ObjCRuntime() function
63 ObjCRuntime(Kind kind, const VersionTuple &version) in ObjCRuntime() function
301 friend bool operator==(const ObjCRuntime &left, const ObjCRuntime &right) {
306 friend bool operator!=(const ObjCRuntime &left, const ObjCRuntime &right) {
311 raw_ostream &operator<<(raw_ostream &out, const ObjCRuntime &value);
DLangOptions.h78 clang::ObjCRuntime ObjCRuntime; variable
117 return ObjCRuntime.isSubscriptPointerArithmetic() && in isSubscriptPointerArithmetic()
/external/clang/lib/CodeGen/
DCGException.cpp65 getLangOpts().ObjCRuntime.hasTerminate()) in getTerminateFn()
155 switch (L.ObjCRuntime.getKind()) { in getObjCPersonality()
156 case ObjCRuntime::FragileMacOSX: in getObjCPersonality()
158 case ObjCRuntime::MacOSX: in getObjCPersonality()
159 case ObjCRuntime::iOS: in getObjCPersonality()
161 case ObjCRuntime::GNUstep: in getObjCPersonality()
162 if (L.ObjCRuntime.getVersion() >= VersionTuple(1, 7)) in getObjCPersonality()
165 case ObjCRuntime::GCC: in getObjCPersonality()
166 case ObjCRuntime::ObjFW: in getObjCPersonality()
185 switch (L.ObjCRuntime.getKind()) { in getObjCXXPersonality()
[all …]
DCodeGenModule.cpp85 ObjCRuntime(nullptr), OpenCLRuntime(nullptr), OpenMPRuntime(nullptr), in CodeGenModule()
161 delete ObjCRuntime; in ~CodeGenModule()
175 switch (LangOpts.ObjCRuntime.getKind()) { in createObjCRuntime()
176 case ObjCRuntime::GNUstep: in createObjCRuntime()
177 case ObjCRuntime::GCC: in createObjCRuntime()
178 case ObjCRuntime::ObjFW: in createObjCRuntime()
179 ObjCRuntime = CreateGNUObjCRuntime(*this); in createObjCRuntime()
182 case ObjCRuntime::FragileMacOSX: in createObjCRuntime()
183 case ObjCRuntime::MacOSX: in createObjCRuntime()
184 case ObjCRuntime::iOS: in createObjCRuntime()
[all …]
DCGObjCGNU.cpp231 const ObjCRuntime &R = CGM.getLangOpts().ObjCRuntime; in MakePropertyEncodingString()
232 if ((R.getKind() == ObjCRuntime::GNUstep) && in MakePropertyEncodingString()
700 const ObjCRuntime &R = CGM.getLangOpts().ObjCRuntime; in CGObjCGNUstep()
752 assert (CGM.getLangOpts().ObjCRuntime.getVersion() >= in GetCppAtomicObjectGetFunction()
759 assert (CGM.getLangOpts().ObjCRuntime.getVersion() >= in GetCppAtomicObjectSetFunction()
771 assert (CGM.getLangOpts().ObjCRuntime.getVersion() >= in GetOptimizedPropertySetFunction()
1094 if (CGM.getLangOpts().ObjCRuntime.isNonFragile()) { in GetEHType()
2179 if (CGM.getLangOpts().ObjCRuntime.isNonFragile()) { in GenerateClass()
2194 if (CGM.getLangOpts().ObjCRuntime.isNonFragile()) { in GenerateClass()
2818 if (CGM.getLangOpts().ObjCRuntime.isNonFragile()) { in EmitIvarOffset()
[all …]
DCodeGenModule.h301 CGObjCRuntime* ObjCRuntime; variable
505 if (!ObjCRuntime) createObjCRuntime(); in getObjCRuntime()
506 return *ObjCRuntime; in getObjCRuntime()
510 bool hasObjCRuntime() { return !!ObjCRuntime; } in hasObjCRuntime()
DCGObjC.cpp1080 return CGM.getLangOpts().ObjCRuntime.hasOptimizedSetter(); in UseOptimizedSetter()
1770 if (!CGM.getLangOpts().ObjCRuntime.hasNativeARC()) { in createARCRuntimeFunction()
2822 if (CGM.getLangOpts().ObjCRuntime.hasNativeARC()) { in EmitObjCAutoreleasePoolStmt()
2861 !getLangOpts().ObjCRuntime.hasAtomicCopyHelper()) in GenerateObjCAtomicSetterCopyHelperFunction()
2938 !getLangOpts().ObjCRuntime.hasAtomicCopyHelper()) in GenerateObjCAtomicGetterCopyHelperFunction()
/external/lldb/source/Expression/
DClangExpressionParser.cpp305 m_compiler->getLangOpts().ObjCRuntime.set(ObjCRuntime::MacOSX, VersionTuple(10, 7)); in ClangExpressionParser()
307 … m_compiler->getLangOpts().ObjCRuntime.set(ObjCRuntime::FragileMacOSX, VersionTuple(10, 7)); in ClangExpressionParser()
/external/clang/lib/Driver/
DToolChain.cpp238 ObjCRuntime ToolChain::getDefaultObjCRuntime(bool isNonFragile) const { in getDefaultObjCRuntime()
239 return ObjCRuntime(isNonFragile ? ObjCRuntime::GNUstep : ObjCRuntime::GCC, in getDefaultObjCRuntime()
DToolChains.cpp93 ObjCRuntime Darwin::getDefaultObjCRuntime(bool isNonFragile) const { in getDefaultObjCRuntime()
95 return ObjCRuntime(ObjCRuntime::iOS, TargetVersion); in getDefaultObjCRuntime()
97 return ObjCRuntime(ObjCRuntime::MacOSX, TargetVersion); in getDefaultObjCRuntime()
98 return ObjCRuntime(ObjCRuntime::FragileMacOSX, TargetVersion); in getDefaultObjCRuntime()
270 ObjCRuntime runtime = getDefaultObjCRuntime(/*nonfragile*/ true); in AddLinkARCArgs()
DTools.h21 class ObjCRuntime; variable
81 ObjCRuntime AddObjCRuntimeArgs(const llvm::opt::ArgList &args,
DTools.cpp1969 shouldUseExceptionTablesForObjCExceptions(const ObjCRuntime &runtime, in shouldUseExceptionTablesForObjCExceptions()
2002 const ObjCRuntime &objcRuntime, in addExceptionArgs()
4217 ObjCRuntime objcRuntime = AddObjCRuntimeArgs(Args, CmdArgs, rewriteKind); in ConstructJob()
4241 objcRuntime.getKind() == ObjCRuntime::FragileMacOSX && in ConstructJob()
4735 ObjCRuntime Clang::AddObjCRuntimeArgs(const ArgList &args, in AddObjCRuntimeArgs()
4747 ObjCRuntime runtime; in AddObjCRuntimeArgs()
4816 ObjCRuntime runtime; in AddObjCRuntimeArgs()
4823 runtime = ObjCRuntime(ObjCRuntime::FragileMacOSX, VersionTuple()); in AddObjCRuntimeArgs()
4826 runtime = ObjCRuntime(ObjCRuntime::MacOSX, VersionTuple()); in AddObjCRuntimeArgs()
4838 runtime = ObjCRuntime(ObjCRuntime::MacOSX, VersionTuple()); in AddObjCRuntimeArgs()
[all …]
DToolChains.h439 ObjCRuntime getDefaultObjCRuntime(bool isNonFragile) const override;
/external/lldb/examples/summaries/cocoa/
DClass.py14 runtime =lldb.runtime.objc.objc_runtime.ObjCRuntime.runtime_from_isa(valobj)
Dobjc_runtime.py95 class_data = ObjCRuntime(valobj)
590 self.runtime_version = ObjCRuntime.runtime_version(process)
631 class ObjCRuntime: class
669 runtime = ObjCRuntime(isa)
/external/clang/include/clang/Driver/
DToolChain.h32 class ObjCRuntime; variable
292 virtual ObjCRuntime getDefaultObjCRuntime(bool isNonFragile) const;
/external/clang/lib/Frontend/
DInitPreprocessor.cpp515 if (LangOpts.ObjCRuntime.isNonFragile()) { in InitializePredefinedMacros()
525 if (LangOpts.ObjCRuntime.isNeXTFamily()) in InitializePredefinedMacros()
528 if (LangOpts.ObjCRuntime.getKind() == ObjCRuntime::ObjFW) { in InitializePredefinedMacros()
529 VersionTuple tuple = LangOpts.ObjCRuntime.getVersion(); in InitializePredefinedMacros()
DCompilerInvocation.cpp1384 if (Opts.ObjCRuntime.tryParse(value)) in ParseLangArgs()
1394 if (!Opts.ObjCRuntime.allowsARC()) in ParseLangArgs()
1401 Opts.ObjCARCWeak = Opts.ObjCRuntime.allowsWeak(); in ParseLangArgs()
1409 (Opts.ObjCRuntime.getKind() == ObjCRuntime::FragileMacOSX); in ParseLangArgs()
/external/clang/lib/Frontend/Rewrite/
DFrontendActions.cpp154 if (CI.getLangOpts().ObjCRuntime.isNonFragile()) in CreateASTConsumer()
/external/clang/lib/Sema/
DSemaObjCProperty.cpp1048 if (getLangOpts().ObjCRuntime.isFragile()) in ActOnPropertyImplDecl()
1053 } else if (getLangOpts().ObjCRuntime.isNonFragile() && in ActOnPropertyImplDecl()
1253 getLangOpts().ObjCRuntime.isNonFragile() && in ActOnPropertyImplDecl()
1613 if (!LangOpts.ObjCDefaultSynthProperties || LangOpts.ObjCRuntime.isFragile()) in DefaultSynthesizeProperties()
1646 S.LangOpts.ObjCRuntime.isNonFragile()) in DiagnoseUnimplementedAccessor()
DSemaDeclObjC.cpp1170 if (LangOpts.ObjCRuntime.isNonFragile()) { in CheckImplementationIvars()
1714 if (S.getLangOpts().ObjCRuntime.isNeXTFamily()) { in CheckProtocolMethodDefs()
1961 LangOpts.ObjCRuntime.isNonFragile() && in ImplMethodsVsClassMethods()
2758 if (LangOpts.ObjCRuntime.isNonFragile()) { in ActOnAtEnd()
3351 if (LangOpts.ObjCRuntime.isNonFragile()) { in ActOnDefs()
/external/clang/lib/Lex/
DPPMacroExpansion.cpp902 .Case("objc_nonfragile_abi", LangOpts.ObjCRuntime.isNonFragile()) in HasFeature()
906 .Case("objc_weak_class", LangOpts.ObjCRuntime.hasWeakClassImport()) in HasFeature()
911 .Case("objc_subscripting", LangOpts.ObjCRuntime.isNonFragile()) in HasFeature()

12