/external/clang/lib/Basic/ |
D | ObjCRuntime.cpp | 19 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 …]
|
D | Android.mk | 33 ObjCRuntime.cpp \
|
D | CMakeLists.txt | 13 ObjCRuntime.cpp
|
/external/clang/include/clang/Basic/ |
D | ObjCRuntime.h | 25 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);
|
D | LangOptions.h | 70 clang::ObjCRuntime ObjCRuntime;
|
/external/clang/lib/CodeGen/ |
D | CGException.cpp | 130 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 …]
|
D | CodeGenModule.cpp | 81 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 …]
|
D | CGObjCGNU.cpp | 228 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 …]
|
D | CodeGenModule.h | 246 CGObjCRuntime* ObjCRuntime; variable 401 if (!ObjCRuntime) createObjCRuntime(); in getObjCRuntime() 402 return *ObjCRuntime; in getObjCRuntime() 407 bool hasObjCRuntime() { return !!ObjCRuntime; } in hasObjCRuntime()
|
D | CGRTTI.cpp | 996 LangOpts.ObjCRuntime.isGNUFamily()) in GetAddrOfRTTIDescriptor() 997 return ObjCRuntime->GetEHType(Ty); in GetAddrOfRTTIDescriptor()
|
D | CGObjC.cpp | 1055 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()
|
D | CGObjCMac.cpp | 7072 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/ |
D | ToolChain.cpp | 102 ObjCRuntime ToolChain::getDefaultObjCRuntime(bool isNonFragile) const { in getDefaultObjCRuntime() 103 return ObjCRuntime(isNonFragile ? ObjCRuntime::GNUstep : ObjCRuntime::GCC, in getDefaultObjCRuntime()
|
D | ToolChains.cpp | 83 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()
|
D | Tools.h | 20 class ObjCRuntime; variable 60 ObjCRuntime AddObjCRuntimeArgs(const ArgList &args, ArgStringList &cmdArgs,
|
D | Tools.cpp | 1320 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 …]
|
D | ToolChains.h | 261 virtual ObjCRuntime getDefaultObjCRuntime(bool isNonFragile) const;
|
/external/clang/include/clang/Driver/ |
D | ToolChain.h | 22 class ObjCRuntime; variable 227 virtual ObjCRuntime getDefaultObjCRuntime(bool isNonFragile) const;
|
/external/clang/lib/Rewrite/Frontend/ |
D | FrontendActions.cpp | 158 if (CI.getLangOpts().ObjCRuntime.isNonFragile()) in CreateASTConsumer()
|
/external/clang/lib/Sema/ |
D | SemaObjCProperty.cpp | 1033 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()
|
D | SemaDeclObjC.cpp | 1106 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/ |
D | InitPreprocessor.cpp | 384 if (LangOpts.ObjCRuntime.isNonFragile()) { in InitializePredefinedMacros() 394 if (LangOpts.ObjCRuntime.isNeXTFamily()) in InitializePredefinedMacros()
|
D | CompilerInvocation.cpp | 1127 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/ |
D | PPMacroExpansion.cpp | 834 .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/ |
D | ASTReader.cpp | 105 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()
|