/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 | 69 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 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);
|
D | LangOptions.h | 78 clang::ObjCRuntime ObjCRuntime; variable 117 return ObjCRuntime.isSubscriptPointerArithmetic() && in isSubscriptPointerArithmetic()
|
/external/clang/lib/CodeGen/ |
D | CGException.cpp | 65 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 …]
|
D | CodeGenModule.cpp | 85 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 …]
|
D | CGObjCGNU.cpp | 231 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 …]
|
D | CodeGenModule.h | 301 CGObjCRuntime* ObjCRuntime; variable 505 if (!ObjCRuntime) createObjCRuntime(); in getObjCRuntime() 506 return *ObjCRuntime; in getObjCRuntime() 510 bool hasObjCRuntime() { return !!ObjCRuntime; } in hasObjCRuntime()
|
D | CGObjC.cpp | 1080 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/ |
D | ClangExpressionParser.cpp | 305 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/ |
D | ToolChain.cpp | 238 ObjCRuntime ToolChain::getDefaultObjCRuntime(bool isNonFragile) const { in getDefaultObjCRuntime() 239 return ObjCRuntime(isNonFragile ? ObjCRuntime::GNUstep : ObjCRuntime::GCC, in getDefaultObjCRuntime()
|
D | ToolChains.cpp | 93 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()
|
D | Tools.h | 21 class ObjCRuntime; variable 81 ObjCRuntime AddObjCRuntimeArgs(const llvm::opt::ArgList &args,
|
D | Tools.cpp | 1969 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 …]
|
D | ToolChains.h | 439 ObjCRuntime getDefaultObjCRuntime(bool isNonFragile) const override;
|
/external/lldb/examples/summaries/cocoa/ |
D | Class.py | 14 runtime =lldb.runtime.objc.objc_runtime.ObjCRuntime.runtime_from_isa(valobj)
|
D | objc_runtime.py | 95 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/ |
D | ToolChain.h | 32 class ObjCRuntime; variable 292 virtual ObjCRuntime getDefaultObjCRuntime(bool isNonFragile) const;
|
/external/clang/lib/Frontend/ |
D | InitPreprocessor.cpp | 515 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()
|
D | CompilerInvocation.cpp | 1384 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/ |
D | FrontendActions.cpp | 154 if (CI.getLangOpts().ObjCRuntime.isNonFragile()) in CreateASTConsumer()
|
/external/clang/lib/Sema/ |
D | SemaObjCProperty.cpp | 1048 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()
|
D | SemaDeclObjC.cpp | 1170 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/ |
D | PPMacroExpansion.cpp | 902 .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()
|