Searched refs:VersionTuple (Results 1 - 25 of 30) sorted by relevance

12

/external/clang/include/clang/Basic/
H A DVersionTuple.h1 //===- VersionTuple.h - Version Number Handling -----------------*- C++ -*-===//
11 /// \brief Defines the clang::VersionTuple class, which represents a version in
26 class VersionTuple { class in namespace:clang
37 VersionTuple() function in class:clang::VersionTuple
41 explicit VersionTuple(unsigned Major) function in class:clang::VersionTuple
45 explicit VersionTuple(unsigned Major, unsigned Minor, function in class:clang::VersionTuple
50 explicit VersionTuple(unsigned Major, unsigned Minor, unsigned Subminor, function in class:clang::VersionTuple
56 explicit VersionTuple(unsigned Major, unsigned Minor, unsigned Subminor, function in class:clang::VersionTuple
102 friend bool operator==(const VersionTuple& X, const VersionTuple
[all...]
H A DObjCRuntime.h18 #include "clang/Basic/VersionTuple.h"
61 VersionTuple Version;
67 ObjCRuntime(Kind kind, const VersionTuple &version)
70 void set(Kind kind, VersionTuple version) {
76 const VersionTuple &getVersion() const { return Version; }
101 if (getKind() == GNUstep && getVersion() >= VersionTuple(1, 6)) {
108 (getVersion() >= VersionTuple(10, 0)) &&
109 (getVersion() < VersionTuple(10, 6)))
144 return getVersion() >= VersionTuple(10, 7);
162 case FragileMacOSX: return getVersion() >= VersionTuple(1
[all...]
H A DTargetInfo.h23 #include "clang/Basic/VersionTuple.h"
87 mutable VersionTuple PlatformMinVersion;
890 VersionTuple getPlatformMinVersion() const { return PlatformMinVersion; }
/external/clang/lib/Basic/
H A DVersionTuple.cpp1 //===- VersionTuple.cpp - Version Number Handling ---------------*- C++ -*-===//
10 // This file implements the VersionTuple class, which represents a version in
14 #include "clang/Basic/VersionTuple.h"
19 std::string VersionTuple::getAsString() const {
29 const VersionTuple &V) {
59 bool VersionTuple::tryParse(StringRef input) {
66 *this = VersionTuple(major);
76 *this = VersionTuple(major, minor);
86 *this = VersionTuple(major, minor, micro);
98 *this = VersionTuple(majo
[all...]
H A DObjCRuntime.cpp38 if (value.getVersion() > VersionTuple(0)) {
59 Version = VersionTuple(0);
71 Version = VersionTuple(1, 6);
77 Version = VersionTuple(0, 8);
89 if (kind == ObjCRuntime::ObjFW && Version > VersionTuple(0, 8))
90 Version = VersionTuple(0, 8);
H A DAndroid.mk45 VersionTuple.cpp \
H A DTargetInfo.cpp99 PlatformMinVersion = VersionTuple();
H A DTargets.cpp113 VersionTuple &PlatformMinVersion) {
152 PlatformMinVersion = VersionTuple(Maj, Min, Rev);
212 PlatformMinVersion = VersionTuple(Maj, Min, Rev);
399 this->PlatformMinVersion = VersionTuple(Maj, Min, Rev);
/external/clang/lib/Driver/
H A DToolChains.h14 #include "clang/Basic/VersionTuple.h"
376 mutable VersionTuple TargetVersion;
418 TargetVersion == VersionTuple(Major, Minor, Micro))
424 TargetVersion = VersionTuple(Major, Minor, Micro);
480 VersionTuple getTargetVersion() const {
488 return TargetVersion < VersionTuple(V0, V1, V2);
493 return TargetVersion < VersionTuple(V0, V1, V2);
H A DMSVCToolChain.cpp611 VersionTuple MSVT =
617 MSVT = VersionTuple(MSVT.getMajor(), MSVT.getMinor().getValueOr(0),
H A DToolChain.cpp391 VersionTuple());
H A DTools.cpp3045 static VersionTuple getMSCompatibilityVersion(unsigned Version) {
3047 return VersionTuple(Version);
3050 return VersionTuple(Version / 100, Version % 100);
3055 return VersionTuple(Version / 100, Version % 100, Build);
3101 VersionTuple visualstudio::getMSVCVersion(const Driver *D,
3118 return VersionTuple();
3122 VersionTuple MSVT;
3141 return VersionTuple(Major, Minor, Micro);
3143 return VersionTuple(18);
3145 return VersionTuple();
[all...]
H A DTools.h13 #include "clang/Basic/VersionTuple.h"
677 VersionTuple getMSVCVersion(const Driver *D, const llvm::Triple &Triple,
/external/clang/lib/Sema/
H A DSemaDeclAttr.cpp1855 VersionTuple Introduced,
1856 VersionTuple Deprecated,
1857 VersionTuple Obsoleted) {
1896 static bool versionsMatch(const VersionTuple &X, const VersionTuple &Y,
1912 VersionTuple Introduced,
1913 VersionTuple Deprecated,
1914 VersionTuple Obsoleted,
1919 VersionTuple MergedIntroduced = Introduced;
1920 VersionTuple MergedDeprecate
[all...]
/external/clang/include/clang/Serialization/
H A DASTWriter.h73 class VersionTuple;
771 void AddVersionTuple(const VersionTuple &Version, RecordDataImpl &Record);
H A DASTReader.h93 class VersionTuple;
2027 static VersionTuple ReadVersionTuple(const RecordData &Record, unsigned &Idx);
/external/clang/lib/ARCMigrate/
H A DObjCMT.cpp1080 static bool versionsMatch(const VersionTuple &X, const VersionTuple &Y) {
1095 VersionTuple Introduced1 = AA1->getIntroduced();
1096 VersionTuple Deprecated1 = AA1->getDeprecated();
1097 VersionTuple Obsoleted1 = AA1->getObsoleted();
1099 VersionTuple Introduced2 = AA2->getIntroduced();
1100 VersionTuple Deprecated2 = AA2->getDeprecated();
1101 VersionTuple Obsoleted2 = AA2->getObsoleted();
/external/clang/lib/Parse/
H A DParseDecl.cpp722 VersionTuple Parser::ParseVersionTuple(SourceRange &Range) {
729 return VersionTuple();
744 return VersionTuple();
758 return VersionTuple();
767 return VersionTuple();
770 return VersionTuple(Major);
779 return VersionTuple();
796 return VersionTuple();
799 return VersionTuple(Major, Minor, (AfterMajorSeparator == '_'));
808 return VersionTuple();
[all...]
/external/clang/lib/AST/
H A DDeclBase.cpp377 VersionTuple TargetMinVersion =
429 VersionTuple VTI(A->getIntroduced());
443 VersionTuple VTO(A->getObsoleted());
457 VersionTuple VTD(A->getDeprecated());
/external/clang/lib/CodeGen/
H A DCGObjCGNU.cpp235 (R.getVersion() >= VersionTuple(1, 6))) {
728 } else if (R.getVersion() >= VersionTuple(1, 7)) {
760 VersionTuple(1, 7));
767 VersionTuple(1, 7));
779 VersionTuple(1, 7));
H A DCGException.cpp135 if (L.ObjCRuntime.getVersion() >= VersionTuple(1, 7))
/external/clang/include/clang/Sema/
H A DAttributeList.h20 #include "clang/Basic/VersionTuple.h"
40 VersionTuple Version;
/external/clang/lib/Frontend/
H A DInitPreprocessor.cpp541 VersionTuple tuple = LangOpts.ObjCRuntime.getVersion();
/external/clang/include/clang/Parse/
H A DParser.h47 class VersionTuple;
2188 VersionTuple ParseVersionTuple(SourceRange &Range);
/external/clang/lib/Serialization/
H A DASTReader.cpp34 #include "clang/Basic/VersionTuple.h"
4690 VersionTuple runtimeVersion = ReadVersionTuple(Record, Idx);
8132 VersionTuple ASTReader::ReadVersionTuple(const RecordData &Record,
8138 return VersionTuple(Major);
8140 return VersionTuple(Major, Minor - 1);
8141 return VersionTuple(Major, Minor - 1, Subminor - 1);

Completed in 822 milliseconds

12