Home
last modified time | relevance | path

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

12

/external/clang/include/clang/Basic/
DObjCRuntime.h61 VersionTuple Version;
67 ObjCRuntime(Kind kind, const VersionTuple &version) in ObjCRuntime()
70 void set(Kind kind, VersionTuple version) { in set()
76 const VersionTuple &getVersion() const { return Version; } in getVersion()
101 if (getKind() == GNUstep && getVersion() >= VersionTuple(1, 6)) { in isLegacyDispatchDefaultForArch()
108 (getVersion() >= VersionTuple(10, 0)) && in isLegacyDispatchDefaultForArch()
109 (getVersion() < VersionTuple(10, 6))) in isLegacyDispatchDefaultForArch()
144 return getVersion() >= VersionTuple(10, 7); in allowsARC()
162 case FragileMacOSX: return getVersion() >= VersionTuple(10, 7); in hasNativeARC()
163 case MacOSX: return getVersion() >= VersionTuple(10, 7); in hasNativeARC()
[all …]
DVersionTuple.h26 class VersionTuple {
41 VersionTuple() in VersionTuple() function
45 explicit VersionTuple(unsigned Major) in VersionTuple() function
49 explicit VersionTuple(unsigned Major, unsigned Minor,
55 explicit VersionTuple(unsigned Major, unsigned Minor, unsigned Subminor,
61 explicit VersionTuple(unsigned Major, unsigned Minor, unsigned Subminor,
107 friend bool operator==(const VersionTuple& X, const VersionTuple &Y) {
116 friend bool operator!=(const VersionTuple &X, const VersionTuple &Y) {
124 friend bool operator<(const VersionTuple &X, const VersionTuple &Y) {
133 friend bool operator>(const VersionTuple &X, const VersionTuple &Y) {
[all …]
DTargetInfo.h88 mutable VersionTuple PlatformMinVersion;
930 VersionTuple getPlatformMinVersion() const { return PlatformMinVersion; } in getPlatformMinVersion()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/
DVersionTuple.h27 class VersionTuple {
40 VersionTuple() in VersionTuple() function
44 explicit VersionTuple(unsigned Major) in VersionTuple() function
48 explicit VersionTuple(unsigned Major, unsigned Minor) in VersionTuple() function
52 explicit VersionTuple(unsigned Major, unsigned Minor, unsigned Subminor) in VersionTuple() function
56 explicit VersionTuple(unsigned Major, unsigned Minor, unsigned Subminor, in VersionTuple() function
93 friend bool operator==(const VersionTuple &X, const VersionTuple &Y) {
102 friend bool operator!=(const VersionTuple &X, const VersionTuple &Y) {
110 friend bool operator<(const VersionTuple &X, const VersionTuple &Y) {
119 friend bool operator>(const VersionTuple &X, const VersionTuple &Y) {
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/
DVersionTupleTest.cpp15 TEST(VersionTuple, getAsString) { in TEST() argument
16 EXPECT_EQ("0", VersionTuple().getAsString()); in TEST()
17 EXPECT_EQ("1", VersionTuple(1).getAsString()); in TEST()
18 EXPECT_EQ("1.2", VersionTuple(1, 2).getAsString()); in TEST()
19 EXPECT_EQ("1.2.3", VersionTuple(1, 2, 3).getAsString()); in TEST()
20 EXPECT_EQ("1.2.3.4", VersionTuple(1, 2, 3, 4).getAsString()); in TEST()
23 TEST(VersionTuple, tryParse) { in TEST() argument
24 VersionTuple VT; in TEST()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
DVersionTuple.cpp19 std::string VersionTuple::getAsString() const { in getAsString()
28 raw_ostream &llvm::operator<<(raw_ostream &Out, const VersionTuple &V) { in operator <<()
61 bool VersionTuple::tryParse(StringRef input) { in tryParse()
69 *this = VersionTuple(major); in tryParse()
81 *this = VersionTuple(major, minor); in tryParse()
93 *this = VersionTuple(major, minor, micro); in tryParse()
108 *this = VersionTuple(major, minor, micro, build); in tryParse()
DCMakeLists.txt128 VersionTuple.cpp
/external/clang/lib/Basic/
DVersionTuple.cpp19 std::string VersionTuple::getAsString() const { in getAsString()
29 const VersionTuple &V) { in operator <<()
59 bool VersionTuple::tryParse(StringRef input) { in tryParse()
66 *this = VersionTuple(major); in tryParse()
76 *this = VersionTuple(major, minor); in tryParse()
86 *this = VersionTuple(major, minor, micro); in tryParse()
98 *this = VersionTuple(major, minor, micro, build); in tryParse()
DObjCRuntime.cpp38 if (value.getVersion() > VersionTuple(0)) { in operator <<()
59 Version = VersionTuple(0); in tryParse()
71 Version = VersionTuple(1, 6); in tryParse()
77 Version = VersionTuple(0, 8); in tryParse()
89 if (kind == ObjCRuntime::ObjFW && Version > VersionTuple(0, 8)) in tryParse()
90 Version = VersionTuple(0, 8); in tryParse()
DCMakeLists.txt89 VersionTuple.cpp
DTargetInfo.cpp102 PlatformMinVersion = VersionTuple(); in TargetInfo()
/external/clang/lib/Driver/
DMSVCToolChain.cpp473 VersionTuple MSVCToolChain::getMSVCVersionFromExe() const { in getMSVCVersionFromExe()
474 VersionTuple Version; in getMSVCVersionFromExe()
507 Version = VersionTuple(Major, Minor, Micro); in getMSVCVersionFromExe()
672 VersionTuple MSVT = in ComputeEffectiveClangTriple()
678 MSVT = VersionTuple(MSVT.getMajor(), MSVT.getMinor().getValueOr(0), in ComputeEffectiveClangTriple()
DToolChains.h394 mutable VersionTuple TargetVersion;
436 TargetVersion == VersionTuple(Major, Minor, Micro)) in setTarget()
442 TargetVersion = VersionTuple(Major, Minor, Micro); in setTarget()
498 VersionTuple getTargetVersion() const { in getTargetVersion()
506 return TargetVersion < VersionTuple(V0, V1, V2);
511 return TargetVersion < VersionTuple(V0, V1, V2);
1061 VersionTuple getMSVCVersionFromExe() const override;
DTools.cpp3390 static VersionTuple getMSCompatibilityVersion(unsigned Version) { in getMSCompatibilityVersion()
3392 return VersionTuple(Version); in getMSCompatibilityVersion()
3395 return VersionTuple(Version / 100, Version % 100); in getMSCompatibilityVersion()
3400 return VersionTuple(Version / 100, Version % 100, Build); in getMSCompatibilityVersion()
3446 VersionTuple visualstudio::getMSVCVersion(const Driver *D, const ToolChain &TC, in getMSVCVersion()
3463 return VersionTuple(); in getMSVCVersion()
3467 VersionTuple MSVT; in getMSVCVersion()
3486 return VersionTuple(Major, Minor, Micro); in getMSVCVersion()
3489 VersionTuple MSVT = TC.getMSVCVersionFromExe(); in getMSVCVersion()
3494 return VersionTuple(18); in getMSVCVersion()
[all …]
DToolChain.cpp399 VersionTuple()); in getDefaultObjCRuntime()
/external/clang/include/clang/Driver/
DToolChain.h433 virtual VersionTuple getMSVCVersionFromExe() const { return VersionTuple(); } in getMSVCVersionFromExe()
/external/clang/include/clang/Serialization/
DASTWriter.h73 class VersionTuple; variable
607 void AddVersionTuple(const VersionTuple &Version, RecordDataImpl &Record);
901 void AddVersionTuple(const VersionTuple &Version) { in AddVersionTuple()
DASTReader.h94 class VersionTuple; variable
2037 static VersionTuple ReadVersionTuple(const RecordData &Record, unsigned &Idx);
/external/clang/lib/Sema/
DSemaDeclAttr.cpp1904 VersionTuple Introduced, in checkAvailabilityAttr()
1905 VersionTuple Deprecated, in checkAvailabilityAttr()
1906 VersionTuple Obsoleted) { in checkAvailabilityAttr()
1945 static bool versionsMatch(const VersionTuple &X, const VersionTuple &Y, in versionsMatch()
1962 VersionTuple Introduced, in mergeAvailabilityAttr()
1963 VersionTuple Deprecated, in mergeAvailabilityAttr()
1964 VersionTuple Obsoleted, in mergeAvailabilityAttr()
1971 VersionTuple MergedIntroduced = Introduced; in mergeAvailabilityAttr()
1972 VersionTuple MergedDeprecated = Deprecated; in mergeAvailabilityAttr()
1973 VersionTuple MergedObsoleted = Obsoleted; in mergeAvailabilityAttr()
[all …]
/external/clang/lib/ARCMigrate/
DObjCMT.cpp1081 static bool versionsMatch(const VersionTuple &X, const VersionTuple &Y) { in versionsMatch()
1096 VersionTuple Introduced1 = AA1->getIntroduced(); in AvailabilityAttrsMatch()
1097 VersionTuple Deprecated1 = AA1->getDeprecated(); in AvailabilityAttrsMatch()
1098 VersionTuple Obsoleted1 = AA1->getObsoleted(); in AvailabilityAttrsMatch()
1100 VersionTuple Introduced2 = AA2->getIntroduced(); in AvailabilityAttrsMatch()
1101 VersionTuple Deprecated2 = AA2->getDeprecated(); in AvailabilityAttrsMatch()
1102 VersionTuple Obsoleted2 = AA2->getObsoleted(); in AvailabilityAttrsMatch()
/external/clang/lib/AST/
DDeclBase.cpp405 VersionTuple TargetMinVersion = in CheckAvailability()
457 VersionTuple VTI(A->getIntroduced()); in CheckAvailability()
471 VersionTuple VTO(A->getObsoleted()); in CheckAvailability()
485 VersionTuple VTD(A->getDeprecated()); in CheckAvailability()
/external/clang/lib/Index/
DCommentToXML.cpp1032 VersionTuple IntroducedInVersion = AA->getIntroduced(); in visitFullComment()
1038 VersionTuple DeprecatedInVersion = AA->getDeprecated(); in visitFullComment()
1044 VersionTuple RemovedAfterVersion = AA->getObsoleted(); in visitFullComment()
/external/clang/lib/Parse/
DParseDecl.cpp722 VersionTuple Parser::ParseVersionTuple(SourceRange &Range) { in ParseVersionTuple()
729 return VersionTuple(); in ParseVersionTuple()
744 return VersionTuple(); in ParseVersionTuple()
758 return VersionTuple(); in ParseVersionTuple()
767 return VersionTuple(); in ParseVersionTuple()
770 return VersionTuple(Major); in ParseVersionTuple()
779 return VersionTuple(); in ParseVersionTuple()
796 return VersionTuple(); in ParseVersionTuple()
799 return VersionTuple(Major, Minor, (AfterMajorSeparator == '_')); in ParseVersionTuple()
808 return VersionTuple(); in ParseVersionTuple()
[all …]
/external/clang/lib/CodeGen/
DCGObjCGNU.cpp239 (R.getVersion() >= VersionTuple(1, 6))) { in MakePropertyEncodingString()
759 } else if (R.getVersion() >= VersionTuple(1, 7)) { in CGObjCGNUstep()
792 VersionTuple(1, 7)); in GetCppAtomicObjectGetFunction()
800 VersionTuple(1, 7)); in GetCppAtomicObjectSetFunction()
813 VersionTuple(1, 7)); in GetOptimizedPropertySetFunction()
/external/clang/include/clang/Sema/
DAttributeList.h40 VersionTuple Version;

12