Home
last modified time | relevance | path

Searched refs:VersionTuple (Results 1 – 25 of 31) sorted by relevance

12

/external/clang/include/clang/Basic/
DVersionTuple.h26 class VersionTuple {
34 VersionTuple() in VersionTuple() function
37 explicit VersionTuple(unsigned Major) in VersionTuple() function
41 explicit VersionTuple(unsigned Major, unsigned Minor) in VersionTuple() function
46 explicit VersionTuple(unsigned Major, unsigned Minor, unsigned Subminor) in VersionTuple() function
74 friend bool operator==(const VersionTuple& X, const VersionTuple &Y) {
82 friend bool operator!=(const VersionTuple &X, const VersionTuple &Y) {
90 friend bool operator<(const VersionTuple &X, const VersionTuple &Y) {
99 friend bool operator>(const VersionTuple &X, const VersionTuple &Y) {
108 friend bool operator<=(const VersionTuple &X, const VersionTuple &Y) {
[all …]
DObjCRuntime.h57 VersionTuple Version;
63 ObjCRuntime(Kind kind, const VersionTuple &version) in ObjCRuntime()
66 void set(Kind kind, VersionTuple version) { in set()
72 const VersionTuple &getVersion() const { return Version; } in getVersion()
96 if (getKind() == GNUstep && getVersion() >= VersionTuple(1, 6)) { in isLegacyDispatchDefaultForArch()
103 (getVersion() >= VersionTuple(10, 0)) && in isLegacyDispatchDefaultForArch()
104 (getVersion() < VersionTuple(10, 6))) in isLegacyDispatchDefaultForArch()
154 case MacOSX: return getVersion() >= VersionTuple(10, 7); in hasNativeARC()
155 case iOS: return getVersion() >= VersionTuple(5); in hasNativeARC()
158 case GNUstep: return getVersion() >= VersionTuple(1, 6); in hasNativeARC()
[all …]
DTargetInfo.h82 mutable VersionTuple PlatformMinVersion;
752 VersionTuple getPlatformMinVersion() const { return PlatformMinVersion; } in getPlatformMinVersion()
/external/clang/lib/Basic/
DVersionTuple.cpp19 std::string VersionTuple::getAsString() const { in getAsString()
29 const VersionTuple &V) { in operator <<()
57 bool VersionTuple::tryParse(StringRef input) { in tryParse()
64 *this = VersionTuple(major); in tryParse()
74 *this = VersionTuple(major, minor); in tryParse()
86 *this = VersionTuple(major, minor, micro); in tryParse()
DObjCRuntime.cpp37 if (value.getVersion() > VersionTuple(0)) { in operator <<()
58 Version = VersionTuple(0); in tryParse()
68 Version = VersionTuple(1, 6); in tryParse()
74 Version = VersionTuple(0, 8); in tryParse()
86 if (kind == ObjCRuntime::ObjFW && Version > VersionTuple(0, 8)) in tryParse()
87 Version = VersionTuple(0, 8); in tryParse()
DAndroid.mk44 VersionTuple.cpp \
DCMakeLists.txt26 VersionTuple.cpp
DTargetInfo.cpp96 PlatformMinVersion = VersionTuple(); in TargetInfo()
DTargets.cpp90 VersionTuple &PlatformMinVersion) { in getDarwinDefines()
136 PlatformMinVersion = VersionTuple(Maj, Min, Rev); in getDarwinDefines()
171 PlatformMinVersion = VersionTuple(Maj, Min, Rev); in getDarwinDefines()
/external/clang/lib/Driver/
DToolChains.h330 mutable VersionTuple TargetVersion;
380 TargetVersion == VersionTuple(Major, Minor, Micro)) in setTarget()
386 TargetVersion = VersionTuple(Major, Minor, Micro); in setTarget()
410 VersionTuple getTargetVersion() const { in getTargetVersion()
417 return TargetVersion < VersionTuple(V0, V1, V2);
422 return TargetVersion < VersionTuple(V0, V1, V2);
DToolChain.cpp201 VersionTuple()); in getDefaultObjCRuntime()
/external/clang/lib/Sema/
DSemaDeclAttr.cpp1668 VersionTuple Introduced, in checkAvailabilityAttr()
1669 VersionTuple Deprecated, in checkAvailabilityAttr()
1670 VersionTuple Obsoleted) { in checkAvailabilityAttr()
1709 static bool versionsMatch(const VersionTuple &X, const VersionTuple &Y, in versionsMatch()
1725 VersionTuple Introduced, in mergeAvailabilityAttr()
1726 VersionTuple Deprecated, in mergeAvailabilityAttr()
1727 VersionTuple Obsoleted, in mergeAvailabilityAttr()
1732 VersionTuple MergedIntroduced = Introduced; in mergeAvailabilityAttr()
1733 VersionTuple MergedDeprecated = Deprecated; in mergeAvailabilityAttr()
1734 VersionTuple MergedObsoleted = Obsoleted; in mergeAvailabilityAttr()
[all …]
/external/lldb/source/Expression/
DClangExpressionParser.cpp305 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/ARCMigrate/
DObjCMT.cpp949 static bool versionsMatch(const VersionTuple &X, const VersionTuple &Y) { in versionsMatch()
964 VersionTuple Introduced1 = AA1->getIntroduced(); in AvailabilityAttrsMatch()
965 VersionTuple Deprecated1 = AA1->getDeprecated(); in AvailabilityAttrsMatch()
966 VersionTuple Obsoleted1 = AA1->getObsoleted(); in AvailabilityAttrsMatch()
968 VersionTuple Introduced2 = AA2->getIntroduced(); in AvailabilityAttrsMatch()
969 VersionTuple Deprecated2 = AA2->getDeprecated(); in AvailabilityAttrsMatch()
970 VersionTuple Obsoleted2 = AA2->getObsoleted(); in AvailabilityAttrsMatch()
/external/clang/include/clang/Serialization/
DASTWriter.h67 class VersionTuple; variable
677 void AddVersionTuple(const VersionTuple &Version, RecordDataImpl &Record);
DASTReader.h89 class VersionTuple; variable
1979 static VersionTuple ReadVersionTuple(const RecordData &Record, unsigned &Idx);
/external/clang/lib/Index/
DCommentToXML.cpp1040 VersionTuple IntroducedInVersion = AA->getIntroduced(); in visitFullComment()
1046 VersionTuple DeprecatedInVersion = AA->getDeprecated(); in visitFullComment()
1052 VersionTuple RemovedAfterVersion = AA->getObsoleted(); in visitFullComment()
/external/clang/lib/Parse/
DParseDecl.cpp640 VersionTuple Parser::ParseVersionTuple(SourceRange &Range) { in ParseVersionTuple()
647 return VersionTuple(); in ParseVersionTuple()
662 return VersionTuple(); in ParseVersionTuple()
676 return VersionTuple(); in ParseVersionTuple()
685 return VersionTuple(); in ParseVersionTuple()
688 return VersionTuple(Major); in ParseVersionTuple()
695 return VersionTuple(); in ParseVersionTuple()
712 return VersionTuple(); in ParseVersionTuple()
715 return VersionTuple(Major, Minor); in ParseVersionTuple()
723 return VersionTuple(); in ParseVersionTuple()
[all …]
/external/clang/lib/CodeGen/
DCGObjCGNU.cpp231 (R.getVersion() >= VersionTuple(1, 6))) { in MakePropertyEncodingString()
718 } else if (R.getVersion() >= VersionTuple(1, 7)) { in CGObjCGNUstep()
750 VersionTuple(1, 7)); in GetCppAtomicObjectGetFunction()
757 VersionTuple(1, 7)); in GetCppAtomicObjectSetFunction()
769 VersionTuple(1, 7)); in GetOptimizedPropertySetFunction()
DCGException.cpp179 if (L.ObjCRuntime.getVersion() >= VersionTuple(1, 7)) in getObjCPersonality()
/external/clang/include/clang/Sema/
DAttributeList.h40 VersionTuple Version;
/external/clang/include/clang/Parse/
DParser.h47 class VersionTuple; variable
2115 VersionTuple ParseVersionTuple(SourceRange &Range);
/external/clang/lib/Frontend/
DInitPreprocessor.cpp502 VersionTuple tuple = LangOpts.ObjCRuntime.getVersion(); in InitializePredefinedMacros()
/external/clang/lib/AST/
DDeclBase.cpp345 VersionTuple TargetMinVersion = Context.getTargetInfo().getPlatformMinVersion(); in CheckAvailability()
/external/clang/lib/Serialization/
DASTReader.cpp4563 VersionTuple runtimeVersion = ReadVersionTuple(Record, Idx); in ParseLanguageOptions()
7903 VersionTuple ASTReader::ReadVersionTuple(const RecordData &Record, in ReadVersionTuple()
7909 return VersionTuple(Major); in ReadVersionTuple()
7911 return VersionTuple(Major, Minor - 1); in ReadVersionTuple()
7912 return VersionTuple(Major, Minor - 1, Subminor - 1); in ReadVersionTuple()

12