Home
last modified time | relevance | path

Searched refs:ObjCRuntime (Results 1 – 25 of 33) 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.txt13 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
297 friend bool operator==(const ObjCRuntime &left, const ObjCRuntime &right) {
302 friend bool operator!=(const ObjCRuntime &left, const ObjCRuntime &right) {
307 raw_ostream &operator<<(raw_ostream &out, const ObjCRuntime &value);
DLangOptions.h70 clang::ObjCRuntime ObjCRuntime;
/external/clang/lib/CodeGen/
DCGException.cpp130 CGM.getLangOpts().ObjCRuntime.hasTerminate()) in getTerminateFn()
187 switch (L.ObjCRuntime.getKind()) { in getObjCPersonality()
188 case ObjCRuntime::FragileMacOSX: in getObjCPersonality()
190 case ObjCRuntime::MacOSX: in getObjCPersonality()
191 case ObjCRuntime::iOS: in getObjCPersonality()
193 case ObjCRuntime::GNUstep: in getObjCPersonality()
194 if (L.ObjCRuntime.getVersion() >= VersionTuple(1, 7)) in getObjCPersonality()
197 case ObjCRuntime::GCC: in getObjCPersonality()
198 case ObjCRuntime::ObjFW: in getObjCPersonality()
214 switch (L.ObjCRuntime.getKind()) { in getObjCXXPersonality()
[all …]
DCodeGenModule.cpp81 VTables(*this), ObjCRuntime(0), OpenCLRuntime(0), CUDARuntime(0), in CodeGenModule()
140 delete ObjCRuntime; in ~CodeGenModule()
154 switch (LangOpts.ObjCRuntime.getKind()) { in createObjCRuntime()
155 case ObjCRuntime::GNUstep: in createObjCRuntime()
156 case ObjCRuntime::GCC: in createObjCRuntime()
157 case ObjCRuntime::ObjFW: in createObjCRuntime()
158 ObjCRuntime = CreateGNUObjCRuntime(*this); in createObjCRuntime()
161 case ObjCRuntime::FragileMacOSX: in createObjCRuntime()
162 case ObjCRuntime::MacOSX: in createObjCRuntime()
163 case ObjCRuntime::iOS: in createObjCRuntime()
[all …]
DCGObjCGNU.cpp228 const ObjCRuntime &R = CGM.getLangOpts().ObjCRuntime; in MakePropertyEncodingString()
229 if ((R.getKind() == ObjCRuntime::GNUstep) && in MakePropertyEncodingString()
708 const ObjCRuntime &R = CGM.getLangOpts().ObjCRuntime; in CGObjCGNUstep()
760 assert (CGM.getLangOpts().ObjCRuntime.getVersion() >= in GetCppAtomicObjectGetFunction()
767 assert (CGM.getLangOpts().ObjCRuntime.getVersion() >= in GetCppAtomicObjectSetFunction()
779 assert (CGM.getLangOpts().ObjCRuntime.getVersion() >= in GetOptimizedPropertySetFunction()
1089 if (CGM.getLangOpts().ObjCRuntime.isNonFragile()) { in GetEHType()
2184 if (CGM.getLangOpts().ObjCRuntime.isNonFragile()) { in GenerateClass()
2199 if (CGM.getLangOpts().ObjCRuntime.isNonFragile()) { in GenerateClass()
2830 if (CGM.getLangOpts().ObjCRuntime.isNonFragile()) { in EmitIvarOffset()
[all …]
DCodeGenModule.h246 CGObjCRuntime* ObjCRuntime; variable
401 if (!ObjCRuntime) createObjCRuntime(); in getObjCRuntime()
402 return *ObjCRuntime; in getObjCRuntime()
407 bool hasObjCRuntime() { return !!ObjCRuntime; } in hasObjCRuntime()
DCGRTTI.cpp996 LangOpts.ObjCRuntime.isGNUFamily()) in GetAddrOfRTTIDescriptor()
997 return ObjCRuntime->GetEHType(Ty); in GetAddrOfRTTIDescriptor()
DCGObjC.cpp1055 return CGM.getLangOpts().ObjCRuntime.hasOptimizedSetter(); in UseOptimizedSetter()
1720 if (!CGM.getLangOpts().ObjCRuntime.hasNativeARC()) { in createARCRuntimeFunction()
2772 if (CGM.getLangOpts().ObjCRuntime.hasNativeARC()) { in EmitObjCAutoreleasePoolStmt()
2812 !getLangOpts().ObjCRuntime.hasAtomicCopyHelper()) in GenerateObjCAtomicSetterCopyHelperFunction()
2895 !getLangOpts().ObjCRuntime.hasAtomicCopyHelper()) in GenerateObjCAtomicGetterCopyHelperFunction()
DCGObjCMac.cpp7072 switch (CGM.getLangOpts().ObjCRuntime.getKind()) { in CreateMacObjCRuntime()
7073 case ObjCRuntime::FragileMacOSX: in CreateMacObjCRuntime()
7076 case ObjCRuntime::MacOSX: in CreateMacObjCRuntime()
7077 case ObjCRuntime::iOS: in CreateMacObjCRuntime()
7080 case ObjCRuntime::GNUstep: in CreateMacObjCRuntime()
7081 case ObjCRuntime::GCC: in CreateMacObjCRuntime()
7082 case ObjCRuntime::ObjFW: in CreateMacObjCRuntime()
/external/clang/lib/Driver/
DToolChain.cpp102 ObjCRuntime ToolChain::getDefaultObjCRuntime(bool isNonFragile) const { in getDefaultObjCRuntime()
103 return ObjCRuntime(isNonFragile ? ObjCRuntime::GNUstep : ObjCRuntime::GCC, in getDefaultObjCRuntime()
DToolChains.cpp83 ObjCRuntime Darwin::getDefaultObjCRuntime(bool isNonFragile) const { in getDefaultObjCRuntime()
85 return ObjCRuntime(ObjCRuntime::iOS, TargetVersion); in getDefaultObjCRuntime()
87 return ObjCRuntime(ObjCRuntime::MacOSX, TargetVersion); in getDefaultObjCRuntime()
88 return ObjCRuntime(ObjCRuntime::FragileMacOSX, TargetVersion); in getDefaultObjCRuntime()
DTools.h20 class ObjCRuntime; variable
60 ObjCRuntime AddObjCRuntimeArgs(const ArgList &args, ArgStringList &cmdArgs,
DTools.cpp1320 shouldUseExceptionTablesForObjCExceptions(const ObjCRuntime &runtime, in shouldUseExceptionTablesForObjCExceptions()
1344 const ObjCRuntime &objcRuntime, in addExceptionArgs()
2929 ObjCRuntime objcRuntime = AddObjCRuntimeArgs(Args, CmdArgs, rewriteKind); in ConstructJob()
3350 ObjCRuntime Clang::AddObjCRuntimeArgs(const ArgList &args, in AddObjCRuntimeArgs()
3362 ObjCRuntime runtime; in AddObjCRuntimeArgs()
3431 ObjCRuntime runtime; in AddObjCRuntimeArgs()
3438 runtime = ObjCRuntime(ObjCRuntime::FragileMacOSX, VersionTuple()); in AddObjCRuntimeArgs()
3441 runtime = ObjCRuntime(ObjCRuntime::MacOSX, VersionTuple()); in AddObjCRuntimeArgs()
3453 runtime = ObjCRuntime(ObjCRuntime::MacOSX, VersionTuple()); in AddObjCRuntimeArgs()
3462 runtime = ObjCRuntime(ObjCRuntime::GNUstep, VersionTuple(1,6)); in AddObjCRuntimeArgs()
[all …]
DToolChains.h261 virtual ObjCRuntime getDefaultObjCRuntime(bool isNonFragile) const;
/external/clang/include/clang/Driver/
DToolChain.h22 class ObjCRuntime; variable
227 virtual ObjCRuntime getDefaultObjCRuntime(bool isNonFragile) const;
/external/clang/lib/Rewrite/Frontend/
DFrontendActions.cpp158 if (CI.getLangOpts().ObjCRuntime.isNonFragile()) in CreateASTConsumer()
/external/clang/lib/Sema/
DSemaObjCProperty.cpp1033 if (getLangOpts().ObjCRuntime.isFragile()) in ActOnPropertyImplDecl()
1038 } else if (getLangOpts().ObjCRuntime.isNonFragile() && in ActOnPropertyImplDecl()
1218 getLangOpts().ObjCRuntime.isNonFragile() && in ActOnPropertyImplDecl()
1649 if (!LangOpts.ObjCDefaultSynthProperties || LangOpts.ObjCRuntime.isFragile()) in DefaultSynthesizeProperties()
1707 if (LangOpts.ObjCDefaultSynthProperties && LangOpts.ObjCRuntime.isNonFragile()) in DiagnoseUnimplementedProperties()
1722 if (LangOpts.ObjCDefaultSynthProperties && LangOpts.ObjCRuntime.isNonFragile()) in DiagnoseUnimplementedProperties()
DSemaDeclObjC.cpp1106 if (LangOpts.ObjCRuntime.isNonFragile()) { in CheckImplementationIvars()
1577 if (getLangOpts().ObjCRuntime.isNeXTFamily()) { in CheckProtocolMethodDefs()
1827 LangOpts.ObjCRuntime.isNonFragile()) || in ImplMethodsVsClassMethods()
2477 if (LangOpts.ObjCRuntime.isNonFragile()) { in ActOnAtEnd()
3101 if (LangOpts.ObjCRuntime.isNonFragile()) { in ActOnDefs()
/external/clang/lib/Frontend/
DInitPreprocessor.cpp384 if (LangOpts.ObjCRuntime.isNonFragile()) { in InitializePredefinedMacros()
394 if (LangOpts.ObjCRuntime.isNeXTFamily()) in InitializePredefinedMacros()
DCompilerInvocation.cpp1127 if (Opts.ObjCRuntime.tryParse(value)) in ParseLangArgs()
1137 if (!Opts.ObjCRuntime.allowsARC()) in ParseLangArgs()
1144 Opts.ObjCARCWeak = Opts.ObjCRuntime.allowsWeak(); in ParseLangArgs()
/external/clang/lib/Lex/
DPPMacroExpansion.cpp834 .Case("objc_nonfragile_abi", LangOpts.ObjCRuntime.isNonFragile()) in HasFeature()
836 .Case("objc_weak_class", LangOpts.ObjCRuntime.hasWeakClassImport()) in HasFeature()
841 .Case("objc_subscripting", LangOpts.ObjCRuntime.isNonFragile()) in HasFeature()
/external/clang/lib/Serialization/
DASTReader.cpp105 if (ExistingLangOpts.ObjCRuntime != LangOpts.ObjCRuntime) { in checkLanguageOptions()
3702 ObjCRuntime::Kind runtimeKind = (ObjCRuntime::Kind) Record[Idx++]; in ParseLanguageOptions()
3704 LangOpts.ObjCRuntime = ObjCRuntime(runtimeKind, runtimeVersion); in ParseLanguageOptions()

12