/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 | 34 ObjCRuntime.cpp \
|
D | CMakeLists.txt | 14 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 270 friend bool operator==(const ObjCRuntime &left, const ObjCRuntime &right) { 275 friend bool operator!=(const ObjCRuntime &left, const ObjCRuntime &right) { 280 raw_ostream &operator<<(raw_ostream &out, const ObjCRuntime &value);
|
D | LangOptions.h | 66 clang::ObjCRuntime ObjCRuntime;
|
/external/clang/lib/Driver/ |
D | ToolChain.cpp | 52 ObjCRuntime ToolChain::getDefaultObjCRuntime(bool isNonFragile) const { in getDefaultObjCRuntime() 53 return ObjCRuntime(isNonFragile ? ObjCRuntime::GNUstep : ObjCRuntime::GCC, in getDefaultObjCRuntime()
|
D | ToolChains.cpp | 82 ObjCRuntime Darwin::getDefaultObjCRuntime(bool isNonFragile) const { in getDefaultObjCRuntime() 84 return ObjCRuntime(ObjCRuntime::iOS, TargetVersion); in getDefaultObjCRuntime() 86 return ObjCRuntime(ObjCRuntime::iOS, TargetSimulatorVersionFromDefines); in getDefaultObjCRuntime() 89 return ObjCRuntime(ObjCRuntime::MacOSX, TargetVersion); in getDefaultObjCRuntime() 91 return ObjCRuntime(ObjCRuntime::FragileMacOSX, TargetVersion); in getDefaultObjCRuntime()
|
D | Tools.h | 21 class ObjCRuntime; variable 51 ObjCRuntime AddObjCRuntimeArgs(const ArgList &args, ArgStringList &cmdArgs,
|
D | Tools.cpp | 1225 shouldUseExceptionTablesForObjCExceptions(const ObjCRuntime &runtime, in shouldUseExceptionTablesForObjCExceptions() 1249 const ObjCRuntime &objcRuntime, in addExceptionArgs() 2524 ObjCRuntime objcRuntime = AddObjCRuntimeArgs(Args, CmdArgs, rewriteKind); in ConstructJob() 2889 ObjCRuntime Clang::AddObjCRuntimeArgs(const ArgList &args, in AddObjCRuntimeArgs() 2901 ObjCRuntime runtime; in AddObjCRuntimeArgs() 2970 ObjCRuntime runtime; in AddObjCRuntimeArgs() 2977 runtime = ObjCRuntime(ObjCRuntime::FragileMacOSX, VersionTuple()); in AddObjCRuntimeArgs() 2980 runtime = ObjCRuntime(ObjCRuntime::MacOSX, VersionTuple()); in AddObjCRuntimeArgs() 2992 runtime = ObjCRuntime(ObjCRuntime::MacOSX, VersionTuple()); in AddObjCRuntimeArgs() 3001 runtime = ObjCRuntime(ObjCRuntime::GNUstep, VersionTuple()); in AddObjCRuntimeArgs() [all …]
|
D | ToolChains.h | 290 virtual ObjCRuntime getDefaultObjCRuntime(bool isNonFragile) const;
|
/external/clang/lib/CodeGen/ |
D | CGException.cpp | 129 CGF.getLangOpts().ObjCRuntime.hasTerminate()) in getTerminateFn() 183 switch (L.ObjCRuntime.getKind()) { in getObjCPersonality() 184 case ObjCRuntime::FragileMacOSX: in getObjCPersonality() 186 case ObjCRuntime::MacOSX: in getObjCPersonality() 187 case ObjCRuntime::iOS: in getObjCPersonality() 189 case ObjCRuntime::GNUstep: in getObjCPersonality() 190 case ObjCRuntime::GCC: in getObjCPersonality() 191 case ObjCRuntime::ObjFW: in getObjCPersonality() 207 switch (L.ObjCRuntime.getKind()) { in getObjCXXPersonality() 211 case ObjCRuntime::MacOSX: in getObjCXXPersonality() [all …]
|
D | CodeGenModule.cpp | 72 VTables(*this), ObjCRuntime(0), OpenCLRuntime(0), CUDARuntime(0), in CodeGenModule() 126 delete ObjCRuntime; in ~CodeGenModule() 140 switch (LangOpts.ObjCRuntime.getKind()) { in createObjCRuntime() 141 case ObjCRuntime::GNUstep: in createObjCRuntime() 142 case ObjCRuntime::GCC: in createObjCRuntime() 143 case ObjCRuntime::ObjFW: in createObjCRuntime() 144 ObjCRuntime = CreateGNUObjCRuntime(*this); in createObjCRuntime() 147 case ObjCRuntime::FragileMacOSX: in createObjCRuntime() 148 case ObjCRuntime::MacOSX: in createObjCRuntime() 149 case ObjCRuntime::iOS: in createObjCRuntime() [all …]
|
D | CodeGenModule.h | 233 CGObjCRuntime* ObjCRuntime; variable 371 if (!ObjCRuntime) createObjCRuntime(); in getObjCRuntime() 372 return *ObjCRuntime; in getObjCRuntime() 377 bool hasObjCRuntime() { return !!ObjCRuntime; } in hasObjCRuntime()
|
D | CGObjCGNU.cpp | 954 if (CGM.getLangOpts().ObjCRuntime.isNonFragile()) { in GetEHType() 2049 if (CGM.getContext().getLangOpts().ObjCRuntime.isNonFragile()) { in GenerateClass() 2064 if (CGM.getContext().getLangOpts().ObjCRuntime.isNonFragile()) { in GenerateClass() 2688 if (CGM.getLangOpts().ObjCRuntime.isNonFragile()) { in EmitIvarOffset() 2713 switch (CGM.getLangOpts().ObjCRuntime.getKind()) { in CreateGNUObjCRuntime() 2714 case ObjCRuntime::GNUstep: in CreateGNUObjCRuntime() 2717 case ObjCRuntime::GCC: in CreateGNUObjCRuntime() 2720 case ObjCRuntime::ObjFW: in CreateGNUObjCRuntime() 2723 case ObjCRuntime::FragileMacOSX: in CreateGNUObjCRuntime() 2724 case ObjCRuntime::MacOSX: in CreateGNUObjCRuntime() [all …]
|
D | CGRTTI.cpp | 984 LangOpts.ObjCRuntime.isGNUFamily()) in GetAddrOfRTTIDescriptor() 985 return ObjCRuntime->GetEHType(Ty); in GetAddrOfRTTIDescriptor()
|
D | CGObjC.cpp | 1709 if (!CGM.getLangOpts().ObjCRuntime.hasNativeARC()) in createARCRuntimeFunction() 2742 if (CGM.getLangOpts().ObjCRuntime.hasNativeARC()) { in EmitObjCAutoreleasePoolStmt() 2774 static bool hasAtomicCopyHelperAPI(const ObjCRuntime &runtime) { in hasAtomicCopyHelperAPI() 2788 !hasAtomicCopyHelperAPI(getLangOpts().ObjCRuntime)) in GenerateObjCAtomicSetterCopyHelperFunction() 2873 !hasAtomicCopyHelperAPI(getLangOpts().ObjCRuntime)) in GenerateObjCAtomicGetterCopyHelperFunction()
|
D | CGObjCMac.cpp | 6384 switch (CGM.getLangOpts().ObjCRuntime.getKind()) { in CreateMacObjCRuntime() 6385 case ObjCRuntime::FragileMacOSX: in CreateMacObjCRuntime() 6388 case ObjCRuntime::MacOSX: in CreateMacObjCRuntime() 6389 case ObjCRuntime::iOS: in CreateMacObjCRuntime() 6392 case ObjCRuntime::GNUstep: in CreateMacObjCRuntime() 6393 case ObjCRuntime::GCC: in CreateMacObjCRuntime() 6394 case ObjCRuntime::ObjFW: in CreateMacObjCRuntime()
|
/external/clang/include/clang/Driver/ |
D | ToolChain.h | 21 class ObjCRuntime; variable 213 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/Lex/ |
D | PPMacroExpansion.cpp | 657 .Case("objc_nonfragile_abi", LangOpts.ObjCRuntime.isNonFragile()) in HasFeature() 658 .Case("objc_weak_class", LangOpts.ObjCRuntime.hasWeakClassImport()) in HasFeature() 663 .Case("objc_subscripting", LangOpts.ObjCRuntime.isNonFragile()) in HasFeature()
|
/external/clang/lib/Sema/ |
D | SemaObjCProperty.cpp | 933 if (getLangOpts().ObjCRuntime.isFragile()) in ActOnPropertyImplDecl() 938 } else if (getLangOpts().ObjCRuntime.isNonFragile() && in ActOnPropertyImplDecl() 1112 getLangOpts().ObjCRuntime.isNonFragile() && in ActOnPropertyImplDecl() 1633 if (!LangOpts.ObjCDefaultSynthProperties || LangOpts.ObjCRuntime.isFragile()) in DefaultSynthesizeProperties() 1677 if (LangOpts.ObjCDefaultSynthProperties && LangOpts.ObjCRuntime.isNonFragile()) in DiagnoseUnimplementedProperties() 1692 if (LangOpts.ObjCDefaultSynthProperties && LangOpts.ObjCRuntime.isNonFragile()) in DiagnoseUnimplementedProperties()
|
D | SemaDeclObjC.cpp | 1093 if (LangOpts.ObjCRuntime.isNonFragile()) { in CheckImplementationIvars() 1555 if (getLangOpts().ObjCRuntime.isNeXTFamily()) { in CheckProtocolMethodDefs() 1785 LangOpts.ObjCRuntime.isNonFragile()) || in ImplMethodsVsClassMethods() 2415 if (LangOpts.ObjCRuntime.isNonFragile()) { in ActOnAtEnd() 3041 if (LangOpts.ObjCRuntime.isNonFragile()) { in ActOnDefs()
|
/external/clang/lib/Frontend/ |
D | InitPreprocessor.cpp | 368 if (LangOpts.ObjCRuntime.isNonFragile()) { in InitializePredefinedMacros() 378 if (LangOpts.ObjCRuntime.isNeXTFamily()) in InitializePredefinedMacros()
|
D | CompilerInvocation.cpp | 814 Res.push_back("-fobjc-runtime=" + Opts.ObjCRuntime.getAsString()); in LangOptsToArgs() 1971 if (Opts.ObjCRuntime.tryParse(value)) in ParseLangArgs() 1981 if (!Opts.ObjCRuntime.allowsARC()) in ParseLangArgs() 1988 Opts.ObjCARCWeak = Opts.ObjCRuntime.allowsWeak(); in ParseLangArgs()
|
/external/clang/lib/Serialization/ |
D | ASTReader.cpp | 94 if (PPLangOpts.ObjCRuntime != LangOpts.ObjCRuntime) { in ReadLanguageOptions() 3343 ObjCRuntime::Kind runtimeKind = (ObjCRuntime::Kind) Record[Idx++]; in ParseLanguageOptions() 3345 LangOpts.ObjCRuntime = ObjCRuntime(runtimeKind, runtimeVersion); in ParseLanguageOptions()
|