/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::WatchOS: out << "watchos"; break; in operator <<() 34 case ObjCRuntime::GNUstep: out << "gnustep"; break; in operator <<() 35 case ObjCRuntime::GCC: out << "gcc"; break; in operator <<() 36 case ObjCRuntime::ObjFW: out << "objfw"; break; in operator <<() 44 bool ObjCRuntime::tryParse(StringRef input) { in tryParse() [all …]
|
D | CMakeLists.txt | 78 ObjCRuntime.cpp
|
/external/llvm-project/clang/lib/Basic/ |
D | ObjCRuntime.cpp | 23 std::string ObjCRuntime::getAsString() const { in getAsString() 32 raw_ostream &clang::operator<<(raw_ostream &out, const ObjCRuntime &value) { in operator <<() 34 case ObjCRuntime::MacOSX: out << "macosx"; break; in operator <<() 35 case ObjCRuntime::FragileMacOSX: out << "macosx-fragile"; break; in operator <<() 36 case ObjCRuntime::iOS: out << "ios"; break; in operator <<() 37 case ObjCRuntime::WatchOS: out << "watchos"; break; in operator <<() 38 case ObjCRuntime::GNUstep: out << "gnustep"; break; in operator <<() 39 case ObjCRuntime::GCC: out << "gcc"; break; in operator <<() 40 case ObjCRuntime::ObjFW: out << "objfw"; break; in operator <<() 48 bool ObjCRuntime::tryParse(StringRef input) { in tryParse() [all …]
|
D | CMakeLists.txt | 58 ObjCRuntime.cpp
|
/external/clang/include/clang/Basic/ |
D | ObjCRuntime.h | 25 class ObjCRuntime { 65 ObjCRuntime() : TheKind(MacOSX) {} in ObjCRuntime() function 67 ObjCRuntime(Kind kind, const VersionTuple &version) in ObjCRuntime() function 336 friend bool operator==(const ObjCRuntime &left, const ObjCRuntime &right) { 341 friend bool operator!=(const ObjCRuntime &left, const ObjCRuntime &right) { 346 raw_ostream &operator<<(raw_ostream &out, const ObjCRuntime &value);
|
D | LangOptions.h | 93 clang::ObjCRuntime ObjCRuntime; variable 143 return ObjCRuntime.isSubscriptPointerArithmetic() && in isSubscriptPointerArithmetic()
|
/external/llvm-project/clang/include/clang/Basic/ |
D | ObjCRuntime.h | 27 class ObjCRuntime { 67 ObjCRuntime() = default; 68 ObjCRuntime(Kind kind, const VersionTuple &version) in ObjCRuntime() function 471 friend bool operator==(const ObjCRuntime &left, const ObjCRuntime &right) { 476 friend bool operator!=(const ObjCRuntime &left, const ObjCRuntime &right) { 480 friend llvm::hash_code hash_value(const ObjCRuntime &OCR) { in hash_value() 485 raw_ostream &operator<<(raw_ostream &out, const ObjCRuntime &value);
|
D | LangOptions.h | 271 clang::ObjCRuntime ObjCRuntime; variable 341 return ObjCRuntime.isSubscriptPointerArithmetic() && in isSubscriptPointerArithmetic()
|
D | Features.def | 105 FEATURE(objc_nonfragile_abi, LangOpts.ObjCRuntime.isNonFragile()) 108 FEATURE(objc_weak_class, LangOpts.ObjCRuntime.hasWeakClassImport()) 113 FEATURE(objc_subscripting, LangOpts.ObjCRuntime.isNonFragile())
|
/external/clang/lib/CodeGen/ |
D | CGException.cpp | 69 getLangOpts().ObjCRuntime.hasTerminate()) in getTerminateFn() 127 switch (L.ObjCRuntime.getKind()) { in getObjCPersonality() 128 case ObjCRuntime::FragileMacOSX: in getObjCPersonality() 130 case ObjCRuntime::MacOSX: in getObjCPersonality() 131 case ObjCRuntime::iOS: in getObjCPersonality() 132 case ObjCRuntime::WatchOS: in getObjCPersonality() 134 case ObjCRuntime::GNUstep: in getObjCPersonality() 135 if (L.ObjCRuntime.getVersion() >= VersionTuple(1, 7)) in getObjCPersonality() 138 case ObjCRuntime::GCC: in getObjCPersonality() 139 case ObjCRuntime::ObjFW: in getObjCPersonality() [all …]
|
D | CGObjCGNU.cpp | 237 const ObjCRuntime &R = CGM.getLangOpts().ObjCRuntime; in MakePropertyEncodingString() 238 if ((R.getKind() == ObjCRuntime::GNUstep) && in MakePropertyEncodingString() 738 const ObjCRuntime &R = CGM.getLangOpts().ObjCRuntime; in CGObjCGNUstep() 791 assert (CGM.getLangOpts().ObjCRuntime.getVersion() >= in GetCppAtomicObjectGetFunction() 799 assert (CGM.getLangOpts().ObjCRuntime.getVersion() >= in GetCppAtomicObjectSetFunction() 812 assert (CGM.getLangOpts().ObjCRuntime.getVersion() >= in GetOptimizedPropertySetFunction() 1137 if (CGM.getLangOpts().ObjCRuntime.isNonFragile()) { in GetEHType() 2211 if (CGM.getLangOpts().ObjCRuntime.isNonFragile()) { in GenerateClass() 2226 if (CGM.getLangOpts().ObjCRuntime.isNonFragile()) { in GenerateClass() 2858 if (CGM.getLangOpts().ObjCRuntime.isNonFragile()) { in EmitIvarOffset() [all …]
|
D | CodeGenModule.cpp | 166 switch (LangOpts.ObjCRuntime.getKind()) { in createObjCRuntime() 167 case ObjCRuntime::GNUstep: in createObjCRuntime() 168 case ObjCRuntime::GCC: in createObjCRuntime() 169 case ObjCRuntime::ObjFW: in createObjCRuntime() 170 ObjCRuntime.reset(CreateGNUObjCRuntime(*this)); in createObjCRuntime() 173 case ObjCRuntime::FragileMacOSX: in createObjCRuntime() 174 case ObjCRuntime::MacOSX: in createObjCRuntime() 175 case ObjCRuntime::iOS: in createObjCRuntime() 176 case ObjCRuntime::WatchOS: in createObjCRuntime() 177 ObjCRuntime.reset(CreateMacObjCRuntime(*this)); in createObjCRuntime() [all …]
|
D | CodeGenModule.h | 288 std::unique_ptr<CGObjCRuntime> ObjCRuntime; variable 509 if (!ObjCRuntime) createObjCRuntime(); in getObjCRuntime() 510 return *ObjCRuntime; in getObjCRuntime() 514 bool hasObjCRuntime() { return !!ObjCRuntime; } in hasObjCRuntime()
|
/external/llvm-project/clang/lib/CodeGen/ |
D | CGException.cpp | 70 getLangOpts().ObjCRuntime.hasTerminate()) in getTerminateFn() 139 switch (L.ObjCRuntime.getKind()) { in getObjCPersonality() 140 case ObjCRuntime::FragileMacOSX: in getObjCPersonality() 142 case ObjCRuntime::MacOSX: in getObjCPersonality() 143 case ObjCRuntime::iOS: in getObjCPersonality() 144 case ObjCRuntime::WatchOS: in getObjCPersonality() 146 case ObjCRuntime::GNUstep: in getObjCPersonality() 147 if (L.ObjCRuntime.getVersion() >= VersionTuple(1, 7)) in getObjCPersonality() 150 case ObjCRuntime::GCC: in getObjCPersonality() 151 case ObjCRuntime::ObjFW: in getObjCPersonality() [all …]
|
D | CGObjCGNU.cpp | 173 bool isRuntime(ObjCRuntime::Kind kind, unsigned major, unsigned minor=0) { in isRuntime() 174 const ObjCRuntime &R = CGM.getLangOpts().ObjCRuntime; in isRuntime() 227 assert(!isRuntime(ObjCRuntime::GNUstep, 2)); in MakePropertyEncodingString() 228 if (isRuntime(ObjCRuntime::GNUstep, 1, 6)) { in MakePropertyEncodingString() 278 if (isRuntime(ObjCRuntime::GNUstep, 2)) { in PushPropertyListHeader() 810 const ObjCRuntime &R = CGM.getLangOpts().ObjCRuntime; in CGObjCGNUstep() 866 assert (CGM.getLangOpts().ObjCRuntime.getVersion() >= in GetCppAtomicObjectGetFunction() 874 assert (CGM.getLangOpts().ObjCRuntime.getVersion() >= in GetCppAtomicObjectSetFunction() 887 assert (CGM.getLangOpts().ObjCRuntime.getVersion() >= in GetOptimizedPropertySetFunction() 2377 if (CGM.getLangOpts().ObjCRuntime.isNonFragile()) { in GetEHType() [all …]
|
/external/llvm-project/lldb/examples/summaries/cocoa/ |
D | Class.py | 15 runtime = lldb.runtime.objc.objc_runtime.ObjCRuntime.runtime_from_isa(
|
D | objc_runtime.py | 100 class_data = ObjCRuntime(valobj) 679 self.runtime_version = ObjCRuntime.runtime_version(process) 730 class ObjCRuntime: class 768 runtime = ObjCRuntime(isa)
|
/external/llvm-project/clang/lib/Frontend/ |
D | InitPreprocessor.cpp | 677 if (LangOpts.ObjCRuntime.isNonFragile()) { in InitializePredefinedMacros() 687 if (LangOpts.ObjCRuntime.isNeXTFamily()) in InitializePredefinedMacros() 690 if (LangOpts.ObjCRuntime.getKind() == ObjCRuntime::GNUstep) { in InitializePredefinedMacros() 691 auto version = LangOpts.ObjCRuntime.getVersion(); in InitializePredefinedMacros() 703 if (LangOpts.ObjCRuntime.getKind() == ObjCRuntime::ObjFW) { in InitializePredefinedMacros() 704 VersionTuple tuple = LangOpts.ObjCRuntime.getVersion(); in InitializePredefinedMacros()
|
/external/llvm-project/clang/lib/Driver/ToolChains/ |
D | Clang.h | 22 class ObjCRuntime; variable 81 ObjCRuntime AddObjCRuntimeArgs(const llvm::opt::ArgList &args,
|
D | Darwin.cpp | 823 ObjCRuntime Darwin::getDefaultObjCRuntime(bool isNonFragile) const { in getDefaultObjCRuntime() 825 return ObjCRuntime(ObjCRuntime::WatchOS, TargetVersion); in getDefaultObjCRuntime() 827 return ObjCRuntime(ObjCRuntime::iOS, TargetVersion); in getDefaultObjCRuntime() 829 return ObjCRuntime(ObjCRuntime::MacOSX, TargetVersion); in getDefaultObjCRuntime() 830 return ObjCRuntime(ObjCRuntime::FragileMacOSX, TargetVersion); in getDefaultObjCRuntime() 1022 ObjCRuntime runtime = getDefaultObjCRuntime(/*nonfragile*/ true); in AddLinkARCArgs()
|
/external/clang/lib/Driver/ |
D | ToolChain.cpp | 397 ObjCRuntime ToolChain::getDefaultObjCRuntime(bool isNonFragile) const { in getDefaultObjCRuntime() 398 return ObjCRuntime(isNonFragile ? ObjCRuntime::GNUstep : ObjCRuntime::GCC, in getDefaultObjCRuntime()
|
/external/clang/include/clang/Driver/ |
D | ToolChain.h | 35 class ObjCRuntime; variable 353 virtual ObjCRuntime getDefaultObjCRuntime(bool isNonFragile) const;
|
/external/clang/lib/Frontend/ |
D | InitPreprocessor.cpp | 560 if (LangOpts.ObjCRuntime.isNonFragile()) { in InitializePredefinedMacros() 570 if (LangOpts.ObjCRuntime.isNeXTFamily()) in InitializePredefinedMacros() 573 if (LangOpts.ObjCRuntime.getKind() == ObjCRuntime::ObjFW) { in InitializePredefinedMacros() 574 VersionTuple tuple = LangOpts.ObjCRuntime.getVersion(); in InitializePredefinedMacros()
|
/external/llvm-project/llvm/utils/gn/secondary/clang/lib/Basic/ |
D | BUILD.gn | 63 "ObjCRuntime.cpp",
|
/external/clang/lib/Frontend/Rewrite/ |
D | FrontendActions.cpp | 156 if (CI.getLangOpts().ObjCRuntime.isNonFragile()) in CreateASTConsumer()
|