/external/clang/include/clang/Basic/ |
D | VersionTuple.h | 26 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 …]
|
D | ObjCRuntime.h | 57 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 …]
|
D | TargetInfo.h | 82 mutable VersionTuple PlatformMinVersion; 752 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 <<() 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()
|
D | ObjCRuntime.cpp | 37 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()
|
D | Android.mk | 44 VersionTuple.cpp \
|
D | CMakeLists.txt | 26 VersionTuple.cpp
|
D | TargetInfo.cpp | 96 PlatformMinVersion = VersionTuple(); in TargetInfo()
|
D | Targets.cpp | 90 VersionTuple &PlatformMinVersion) { in getDarwinDefines() 136 PlatformMinVersion = VersionTuple(Maj, Min, Rev); in getDarwinDefines() 171 PlatformMinVersion = VersionTuple(Maj, Min, Rev); in getDarwinDefines()
|
/external/clang/lib/Driver/ |
D | ToolChains.h | 330 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);
|
D | ToolChain.cpp | 201 VersionTuple()); in getDefaultObjCRuntime()
|
/external/clang/lib/Sema/ |
D | SemaDeclAttr.cpp | 1668 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/ |
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/ARCMigrate/ |
D | ObjCMT.cpp | 949 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/ |
D | ASTWriter.h | 67 class VersionTuple; variable 677 void AddVersionTuple(const VersionTuple &Version, RecordDataImpl &Record);
|
D | ASTReader.h | 89 class VersionTuple; variable 1979 static VersionTuple ReadVersionTuple(const RecordData &Record, unsigned &Idx);
|
/external/clang/lib/Index/ |
D | CommentToXML.cpp | 1040 VersionTuple IntroducedInVersion = AA->getIntroduced(); in visitFullComment() 1046 VersionTuple DeprecatedInVersion = AA->getDeprecated(); in visitFullComment() 1052 VersionTuple RemovedAfterVersion = AA->getObsoleted(); in visitFullComment()
|
/external/clang/lib/Parse/ |
D | ParseDecl.cpp | 640 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/ |
D | CGObjCGNU.cpp | 231 (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()
|
D | CGException.cpp | 179 if (L.ObjCRuntime.getVersion() >= VersionTuple(1, 7)) in getObjCPersonality()
|
/external/clang/include/clang/Sema/ |
D | AttributeList.h | 40 VersionTuple Version;
|
/external/clang/include/clang/Parse/ |
D | Parser.h | 47 class VersionTuple; variable 2115 VersionTuple ParseVersionTuple(SourceRange &Range);
|
/external/clang/lib/Frontend/ |
D | InitPreprocessor.cpp | 502 VersionTuple tuple = LangOpts.ObjCRuntime.getVersion(); in InitializePredefinedMacros()
|
/external/clang/lib/AST/ |
D | DeclBase.cpp | 345 VersionTuple TargetMinVersion = Context.getTargetInfo().getPlatformMinVersion(); in CheckAvailability()
|
/external/clang/lib/Serialization/ |
D | ASTReader.cpp | 4563 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()
|