/external/clang/include/clang/Basic/ |
D | ObjCRuntime.h | 61 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 …]
|
D | VersionTuple.h | 26 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 …]
|
D | TargetInfo.h | 88 mutable VersionTuple PlatformMinVersion; 930 VersionTuple getPlatformMinVersion() const { return PlatformMinVersion; } in getPlatformMinVersion()
|
/external/clang/lib/Basic/ |
D | VersionTuple.cpp | 19 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()
|
D | ObjCRuntime.cpp | 38 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()
|
D | CMakeLists.txt | 89 VersionTuple.cpp
|
D | TargetInfo.cpp | 102 PlatformMinVersion = VersionTuple(); in TargetInfo()
|
/external/clang/lib/Driver/ |
D | MSVCToolChain.cpp | 473 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()
|
D | ToolChains.h | 394 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;
|
D | Tools.cpp | 3390 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 …]
|
D | ToolChain.cpp | 399 VersionTuple()); in getDefaultObjCRuntime()
|
D | Tools.h | 687 VersionTuple getMSVCVersion(const Driver *D, const ToolChain &TC,
|
/external/clang/include/clang/Driver/ |
D | ToolChain.h | 433 virtual VersionTuple getMSVCVersionFromExe() const { return VersionTuple(); } in getMSVCVersionFromExe()
|
/external/clang/include/clang/Serialization/ |
D | ASTWriter.h | 73 class VersionTuple; variable 607 void AddVersionTuple(const VersionTuple &Version, RecordDataImpl &Record); 901 void AddVersionTuple(const VersionTuple &Version) { in AddVersionTuple()
|
D | ASTReader.h | 94 class VersionTuple; variable 2037 static VersionTuple ReadVersionTuple(const RecordData &Record, unsigned &Idx);
|
/external/clang/lib/Sema/ |
D | SemaDeclAttr.cpp | 1904 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/ |
D | ObjCMT.cpp | 1081 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/ |
D | DeclBase.cpp | 405 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/ |
D | CommentToXML.cpp | 1032 VersionTuple IntroducedInVersion = AA->getIntroduced(); in visitFullComment() 1038 VersionTuple DeprecatedInVersion = AA->getDeprecated(); in visitFullComment() 1044 VersionTuple RemovedAfterVersion = AA->getObsoleted(); in visitFullComment()
|
/external/clang/lib/Parse/ |
D | ParseDecl.cpp | 722 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/ |
D | CGObjCGNU.cpp | 239 (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/ |
D | AttributeList.h | 40 VersionTuple Version;
|
/external/clang/include/clang/Parse/ |
D | Parser.h | 47 class VersionTuple; variable 2238 VersionTuple ParseVersionTuple(SourceRange &Range);
|
/external/clang/lib/Frontend/ |
D | InitPreprocessor.cpp | 574 VersionTuple tuple = LangOpts.ObjCRuntime.getVersion(); in InitializePredefinedMacros()
|
/external/clang/lib/Serialization/ |
D | ASTReader.cpp | 4706 VersionTuple runtimeVersion = ReadVersionTuple(Record, Idx); in ParseLanguageOptions() 8188 VersionTuple ASTReader::ReadVersionTuple(const RecordData &Record, in ReadVersionTuple() 8194 return VersionTuple(Major); in ReadVersionTuple() 8196 return VersionTuple(Major, Minor - 1); in ReadVersionTuple() 8197 return VersionTuple(Major, Minor - 1, Subminor - 1); in ReadVersionTuple()
|