|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
Declarations
include/llvm/IR/Module.h 53 class VersionTuple;
include/llvm/TextAPI/ELF/TBEHandler.h 27 class VersionTuple;
tools/clang/include/clang/Basic/Cuda.h 14 class VersionTuple;
tools/clang/include/clang/Basic/LLVM.h 30 class VersionTuple;
References
gen/tools/clang/include/clang/AST/Attrs.inc 2058 VersionTuple introduced;
2061 VersionTuple deprecated;
2064 VersionTuple obsoleted;
2080 static AvailabilityAttr *CreateImplicit(ASTContext &Ctx, IdentifierInfo * Platform, VersionTuple Introduced, VersionTuple Deprecated, VersionTuple Obsoleted, bool Unavailable, llvm::StringRef Message, bool Strict, llvm::StringRef Replacement, int Priority, const AttributeCommonInfo &CommonInfo = {SourceRange{}}) {
2080 static AvailabilityAttr *CreateImplicit(ASTContext &Ctx, IdentifierInfo * Platform, VersionTuple Introduced, VersionTuple Deprecated, VersionTuple Obsoleted, bool Unavailable, llvm::StringRef Message, bool Strict, llvm::StringRef Replacement, int Priority, const AttributeCommonInfo &CommonInfo = {SourceRange{}}) {
2080 static AvailabilityAttr *CreateImplicit(ASTContext &Ctx, IdentifierInfo * Platform, VersionTuple Introduced, VersionTuple Deprecated, VersionTuple Obsoleted, bool Unavailable, llvm::StringRef Message, bool Strict, llvm::StringRef Replacement, int Priority, const AttributeCommonInfo &CommonInfo = {SourceRange{}}) {
2088 static AvailabilityAttr *Create(ASTContext &Ctx, IdentifierInfo * Platform, VersionTuple Introduced, VersionTuple Deprecated, VersionTuple Obsoleted, bool Unavailable, llvm::StringRef Message, bool Strict, llvm::StringRef Replacement, int Priority, const AttributeCommonInfo &CommonInfo = {SourceRange{}}) {
2088 static AvailabilityAttr *Create(ASTContext &Ctx, IdentifierInfo * Platform, VersionTuple Introduced, VersionTuple Deprecated, VersionTuple Obsoleted, bool Unavailable, llvm::StringRef Message, bool Strict, llvm::StringRef Replacement, int Priority, const AttributeCommonInfo &CommonInfo = {SourceRange{}}) {
2088 static AvailabilityAttr *Create(ASTContext &Ctx, IdentifierInfo * Platform, VersionTuple Introduced, VersionTuple Deprecated, VersionTuple Obsoleted, bool Unavailable, llvm::StringRef Message, bool Strict, llvm::StringRef Replacement, int Priority, const AttributeCommonInfo &CommonInfo = {SourceRange{}}) {
2095 static AvailabilityAttr *CreateImplicit(ASTContext &Ctx, IdentifierInfo * Platform, VersionTuple Introduced, VersionTuple Deprecated, VersionTuple Obsoleted, bool Unavailable, llvm::StringRef Message, bool Strict, llvm::StringRef Replacement, int Priority, SourceRange Range, AttributeCommonInfo::Syntax Syntax) {
2095 static AvailabilityAttr *CreateImplicit(ASTContext &Ctx, IdentifierInfo * Platform, VersionTuple Introduced, VersionTuple Deprecated, VersionTuple Obsoleted, bool Unavailable, llvm::StringRef Message, bool Strict, llvm::StringRef Replacement, int Priority, SourceRange Range, AttributeCommonInfo::Syntax Syntax) {
2095 static AvailabilityAttr *CreateImplicit(ASTContext &Ctx, IdentifierInfo * Platform, VersionTuple Introduced, VersionTuple Deprecated, VersionTuple Obsoleted, bool Unavailable, llvm::StringRef Message, bool Strict, llvm::StringRef Replacement, int Priority, SourceRange Range, AttributeCommonInfo::Syntax Syntax) {
2099 static AvailabilityAttr *Create(ASTContext &Ctx, IdentifierInfo * Platform, VersionTuple Introduced, VersionTuple Deprecated, VersionTuple Obsoleted, bool Unavailable, llvm::StringRef Message, bool Strict, llvm::StringRef Replacement, int Priority, SourceRange Range, AttributeCommonInfo::Syntax Syntax) {
2099 static AvailabilityAttr *Create(ASTContext &Ctx, IdentifierInfo * Platform, VersionTuple Introduced, VersionTuple Deprecated, VersionTuple Obsoleted, bool Unavailable, llvm::StringRef Message, bool Strict, llvm::StringRef Replacement, int Priority, SourceRange Range, AttributeCommonInfo::Syntax Syntax) {
2099 static AvailabilityAttr *Create(ASTContext &Ctx, IdentifierInfo * Platform, VersionTuple Introduced, VersionTuple Deprecated, VersionTuple Obsoleted, bool Unavailable, llvm::StringRef Message, bool Strict, llvm::StringRef Replacement, int Priority, SourceRange Range, AttributeCommonInfo::Syntax Syntax) {
2105 , VersionTuple Introduced
2106 , VersionTuple Deprecated
2107 , VersionTuple Obsoleted
2139 VersionTuple getIntroduced() const {
2142 void setIntroduced(ASTContext &C, VersionTuple V) {
2146 VersionTuple getDeprecated() const {
2149 void setDeprecated(ASTContext &C, VersionTuple V) {
2153 VersionTuple getObsoleted() const {
2156 void setObsoleted(ASTContext &C, VersionTuple V) {
gen/tools/clang/include/clang/Serialization/AttrPCHRead.inc 354 VersionTuple introduced= Record.readVersionTuple();
355 VersionTuple deprecated= Record.readVersionTuple();
356 VersionTuple obsoleted= Record.readVersionTuple();
include/llvm/ADT/Optional.h 144 T value;
172 T &getValue() LLVM_LVALUE_FUNCTION noexcept {
176 T const &getValue() const LLVM_LVALUE_FUNCTION noexcept {
181 T &&getValue() && noexcept {
206 ::new ((void *)std::addressof(value)) T(std::move(y));
216 optional_detail::OptionalStorage<T> Storage;
219 using value_type = T;
224 Optional(const T &y) : Storage(optional_detail::in_place_t{}, y) {}
227 Optional(T &&y) : Storage(optional_detail::in_place_t{}, std::move(y)) {}
230 Optional &operator=(T &&y) {
241 static inline Optional create(const T *y) {
245 Optional &operator=(const T &y) {
253 const T *getPointer() const { return &Storage.getValue(); }
254 T *getPointer() { return &Storage.getValue(); }
255 const T &getValue() const LLVM_LVALUE_FUNCTION { return Storage.getValue(); }
256 T &getValue() LLVM_LVALUE_FUNCTION { return Storage.getValue(); }
260 const T *operator->() const { return getPointer(); }
261 T *operator->() { return getPointer(); }
262 const T &operator*() const LLVM_LVALUE_FUNCTION { return getValue(); }
263 T &operator*() LLVM_LVALUE_FUNCTION { return getValue(); }
266 constexpr T getValueOr(U &&value) const LLVM_LVALUE_FUNCTION {
271 T &&getValue() && { return std::move(Storage.getValue()); }
272 T &&operator*() && { return std::move(Storage.getValue()); }
275 T getValueOr(U &&value) && {
include/llvm/ADT/SmallVector.h 75 AlignedCharArrayUnion<T> FirstEl;
114 using value_type = T;
115 using iterator = T *;
116 using const_iterator = const T *;
121 using reference = T &;
122 using const_reference = const T &;
123 using pointer = T *;
124 using const_pointer = const T *;
259 class SmallVectorTemplateBase<T, true> : public SmallVectorTemplateCommon<T> {
264 static void destroy_range(T *, T *) {}
264 static void destroy_range(T *, T *) {}
299 void grow(size_t MinSize = 0) { this->grow_pod(MinSize, sizeof(T)); }
302 void push_back(const T &Elt) {
305 memcpy(reinterpret_cast<void *>(this->end()), &Elt, sizeof(T));
315 class SmallVectorImpl : public SmallVectorTemplateBase<T> {
316 using SuperClass = SmallVectorTemplateBase<T>;
357 void resize(size_type N, const T &NV) {
374 LLVM_NODISCARD T pop_back_val() {
397 void append(size_type NumInputs, const T &Elt) {
405 void append(std::initializer_list<T> IL) {
412 void assign(size_type NumElts, const T &Elt) {
429 void assign(std::initializer_list<T> IL) {
467 iterator insert(iterator I, T &&Elt) {
497 iterator insert(iterator I, const T &Elt) {
526 iterator insert(iterator I, size_type NumToInsert, const T &Elt) {
637 void insert(iterator I, std::initializer_list<T> IL) {
820 AlignedCharArrayUnion<T> InlineElts[N];
837 class SmallVector : public SmallVectorImpl<T>, SmallVectorStorage<T, N> {
837 class SmallVector : public SmallVectorImpl<T>, SmallVectorStorage<T, N> {
846 explicit SmallVector(size_t Size, const T &Value = T())
865 SmallVector(std::initializer_list<T> IL) : SmallVectorImpl<T>(N) {
884 SmallVector(SmallVectorImpl<T> &&RHS) : SmallVectorImpl<T>(N) {
include/llvm/IR/Module.h 890 void setSDKVersion(const VersionTuple &V);
895 VersionTuple getSDKVersion() const;
include/llvm/MC/MCAssembler.h 98 VersionTuple SDKVersion;
261 VersionTuple SDKVersion = VersionTuple()) {
271 VersionTuple SDKVersion = VersionTuple()) {
include/llvm/MC/MCObjectFileInfo.h 399 VersionTuple SDKVersion;
411 void setSDKVersion(const VersionTuple &TheSDKVersion) {
415 const VersionTuple &getSDKVersion() const { return SDKVersion; }
include/llvm/MC/MCStreamer.h 462 VersionTuple SDKVersion) {}
468 VersionTuple SDKVersion) {}
471 const VersionTuple &SDKVersion);
include/llvm/Support/AlignOf.h 30 T t;
39 template <typename T> union SizerImpl<T> { char arr[sizeof(T)]; };
50 llvm::detail::SizerImpl<T, Ts...>)];
include/llvm/Support/VersionTuple.h 92 friend bool operator==(const VersionTuple &X, const VersionTuple &Y) {
92 friend bool operator==(const VersionTuple &X, const VersionTuple &Y) {
101 friend bool operator!=(const VersionTuple &X, const VersionTuple &Y) {
101 friend bool operator!=(const VersionTuple &X, const VersionTuple &Y) {
109 friend bool operator<(const VersionTuple &X, const VersionTuple &Y) {
109 friend bool operator<(const VersionTuple &X, const VersionTuple &Y) {
118 friend bool operator>(const VersionTuple &X, const VersionTuple &Y) {
118 friend bool operator>(const VersionTuple &X, const VersionTuple &Y) {
127 friend bool operator<=(const VersionTuple &X, const VersionTuple &Y) {
127 friend bool operator<=(const VersionTuple &X, const VersionTuple &Y) {
136 friend bool operator>=(const VersionTuple &X, const VersionTuple &Y) {
136 friend bool operator>=(const VersionTuple &X, const VersionTuple &Y) {
150 raw_ostream &operator<<(raw_ostream &Out, const VersionTuple &V);
include/llvm/Support/YAMLTraits.h 313 using Signature_enumeration = void (*)(class IO&, T&);
322 (sizeof(test<ScalarEnumerationTraits<T>>(nullptr)) == 1);
329 using Signature_bitset = void (*)(class IO&, T&);
337 static bool const value = (sizeof(test<ScalarBitSetTraits<T>>(nullptr)) == 1);
344 using Signature_input = StringRef (*)(StringRef, void*, T&);
345 using Signature_output = void (*)(const T&, void*, raw_ostream&);
357 (sizeof(test<ScalarTraits<T>>(nullptr, nullptr, nullptr)) == 1);
364 using Signature_input = StringRef (*)(StringRef, void *, T &);
365 using Signature_output = void (*)(const T &, void *, raw_ostream &);
375 (sizeof(test<BlockScalarTraits<T>>(nullptr, nullptr)) == 1);
380 using Signature_input = StringRef (*)(StringRef, StringRef, void *, T &);
381 using Signature_output = void (*)(const T &, void *, raw_ostream &,
383 using Signature_mustQuote = QuotingType (*)(const T &, StringRef);
393 (sizeof(test<TaggedScalarTraits<T>>(nullptr, nullptr, nullptr)) == 1);
412 using Signature_mapping = void (*)(class IO &, T &);
419 static bool const value = (sizeof(test<MappingTraits<T>>(nullptr)) == 1);
438 using Signature_validate = StringRef (*)(class IO &, T &);
445 static bool const value = (sizeof(test<MappingTraits<T>>(nullptr)) == 1);
452 using Signature_size = size_t (*)(class IO&, T&);
460 static bool const value = (sizeof(test<SequenceTraits<T>>(nullptr)) == 1);
467 using Signature_input = void (*)(IO &io, StringRef key, T &v);
476 (sizeof(test<CustomMappingTraits<T>>(nullptr)) == 1);
516 using Signature_size = size_t (*)(class IO &, T &);
524 static bool const value = (sizeof(test<DocumentListTraits<T>>(nullptr))==1);
528 using Signature_getKind = NodeKind (*)(const T &);
535 static bool const value = (sizeof(test<PolymorphicTraits<T>>(nullptr)) == 1);
849 template <typename T> void mapRequired(const char *Key, T &Val) {
941 void processKey(const char *Key, T &Val, bool Required, Context &Ctx) {
988 typename std::enable_if<has_ScalarTraits<T>::value, void>::type
989 yamlize(IO &io, T &Val, bool, EmptyContext &Ctx) {
993 ScalarTraits<T>::output(Val, io.getContext(), Buffer);
995 io.scalarString(Str, ScalarTraits<T>::mustQuote(Str));
999 io.scalarString(Str, ScalarTraits<T>::mustQuote(Str));
1000 StringRef Result = ScalarTraits<T>::input(Str, io.getContext(), Val);
include/llvm/Support/type_traits.h 91 T t;
122 static auto get(F*) -> decltype(std::declval<F &>() = std::declval<const F &>(), std::true_type{});
122 static auto get(F*) -> decltype(std::declval<F &>() = std::declval<const F &>(), std::true_type{});
122 static auto get(F*) -> decltype(std::declval<F &>() = std::declval<const F &>(), std::true_type{});
130 static auto get(F*) -> decltype(std::declval<F &>() = std::declval<F &&>(), std::true_type{});
130 static auto get(F*) -> decltype(std::declval<F &>() = std::declval<F &&>(), std::true_type{});
130 static auto get(F*) -> decltype(std::declval<F &>() = std::declval<F &&>(), std::true_type{});
145 std::is_copy_constructible<detail::trivial_helper<T>>::value;
147 !std::is_copy_constructible<T>::value;
151 std::is_move_constructible<detail::trivial_helper<T>>::value;
153 !std::is_move_constructible<T>::value;
157 is_copy_assignable<detail::trivial_helper<T>>::value;
159 !is_copy_assignable<T>::value;
163 is_move_assignable<detail::trivial_helper<T>>::value;
165 !is_move_assignable<T>::value;
169 std::is_destructible<detail::trivial_helper<T>>::value;
include/llvm/TextAPI/ELF/ELFStub.h 55 VersionTuple TbeVersion;
include/llvm/TextAPI/ELF/TBEHandler.h 33 const VersionTuple TBEVersionCurrent(1, 0);
lib/IR/Module.cpp 559 void Module::setSDKVersion(const VersionTuple &V) {
573 VersionTuple Module::getSDKVersion() const {
588 VersionTuple Result = VersionTuple(*Major);
lib/MC/MCAsmStreamer.cpp 148 unsigned Update, VersionTuple SDKVersion) override;
150 unsigned Update, VersionTuple SDKVersion) override;
537 const VersionTuple &SDKVersion) {
551 VersionTuple SDKVersion) {
576 VersionTuple SDKVersion) {
lib/MC/MCMachOStreamer.cpp 92 unsigned Update, VersionTuple SDKVersion) override;
94 unsigned Update, VersionTuple SDKVersion) override;
273 VersionTuple SDKVersion) {
279 VersionTuple SDKVersion) {
lib/MC/MCParser/DarwinAsmParser.cpp 466 bool parseSDKVersion(VersionTuple &SDKVersion);
1075 bool DarwinAsmParser::parseSDKVersion(VersionTuple &SDKVersion) {
1131 VersionTuple SDKVersion;
1187 VersionTuple SDKVersion;
lib/MC/MCStreamer.cpp 1128 const VersionTuple &SDKVersion) {
lib/Support/VersionTuple.cpp 27 raw_ostream &llvm::operator<<(raw_ostream &Out, const VersionTuple &V) {
lib/TextAPI/ELF/TBEHandler.cpp 74 static void output(const VersionTuple &Value, void *,
79 static StringRef input(StringRef Scalar, void *, VersionTuple &Value) {
tools/clang/include/clang/AST/Availability.h 34 VersionTuple Version;
42 AvailabilitySpec(VersionTuple Version, StringRef Platform,
51 VersionTuple getVersion() const { return Version; }
tools/clang/include/clang/AST/DeclBase.h 655 VersionTuple EnclosingVersion = VersionTuple(),
664 VersionTuple getVersionIntroduced() const;
tools/clang/include/clang/AST/ExprObjC.h 1702 VersionTuple VersionToCheck;
1706 ObjCAvailabilityCheckExpr(VersionTuple VersionToCheck, SourceLocation AtLoc,
1721 VersionTuple getVersion() { return VersionToCheck; }
tools/clang/include/clang/Basic/AlignedAllocation.h 24 inline llvm::VersionTuple alignedAllocMinVersion(llvm::Triple::OSType OS) {
tools/clang/include/clang/Basic/Cuda.h 119 bool CudaFeatureEnabled(llvm::VersionTuple, CudaFeature);
tools/clang/include/clang/Basic/LangOptions.h 319 VersionTuple getOpenCLVersionTuple() const;
tools/clang/include/clang/Basic/ObjCRuntime.h 63 VersionTuple Version;
68 ObjCRuntime(Kind kind, const VersionTuple &version)
71 void set(Kind kind, VersionTuple version) {
77 const VersionTuple &getVersion() const { return Version; }
tools/clang/include/clang/Basic/TargetInfo.h 188 mutable VersionTuple PlatformMinVersion;
1253 VersionTuple getPlatformMinVersion() const { return PlatformMinVersion; }
1363 const llvm::VersionTuple &getSDKVersion() const {
tools/clang/include/clang/Basic/TargetOptions.h 83 llvm::VersionTuple SDKVersion;
tools/clang/include/clang/Driver/DarwinSDKInfo.h 23 DarwinSDKInfo(llvm::VersionTuple Version) : Version(Version) {}
25 const llvm::VersionTuple &getVersion() const { return Version; }
28 llvm::VersionTuple Version;
tools/clang/include/clang/Driver/ToolChain.h 593 virtual VersionTuple computeMSVCVersion(const Driver *D,
tools/clang/include/clang/Parse/Parser.h 2572 VersionTuple ParseVersionTuple(SourceRange &Range);
tools/clang/include/clang/Sema/ParsedAttr.h 49 VersionTuple Version;
tools/clang/include/clang/Sema/Sema.h 2787 VersionTuple Introduced, VersionTuple Deprecated,
2787 VersionTuple Introduced, VersionTuple Deprecated,
2788 VersionTuple Obsoleted, bool IsUnavailable,
tools/clang/include/clang/Serialization/ASTReader.h 2256 static VersionTuple ReadVersionTuple(const RecordData &Record, unsigned &Idx);
2656 VersionTuple readVersionTuple() {
tools/clang/include/clang/Serialization/ASTWriter.h 653 void AddVersionTuple(const VersionTuple &Version, RecordDataImpl &Record);
959 void AddVersionTuple(const VersionTuple &Version) {
tools/clang/lib/ARCMigrate/ObjCMT.cpp 1082 static bool versionsMatch(const VersionTuple &X, const VersionTuple &Y) {
1082 static bool versionsMatch(const VersionTuple &X, const VersionTuple &Y) {
1097 VersionTuple Introduced1 = AA1->getIntroduced();
1098 VersionTuple Deprecated1 = AA1->getDeprecated();
1099 VersionTuple Obsoleted1 = AA1->getObsoleted();
1101 VersionTuple Introduced2 = AA2->getIntroduced();
1102 VersionTuple Deprecated2 = AA2->getDeprecated();
1103 VersionTuple Obsoleted2 = AA2->getObsoleted();
tools/clang/lib/AST/DeclBase.cpp 493 VersionTuple EnclosingVersion) {
537 VersionTuple VTI(A->getIntroduced());
550 VersionTuple VTO(A->getObsoleted());
563 VersionTuple VTD(A->getDeprecated());
575 VersionTuple EnclosingVersion,
626 VersionTuple Decl::getVersionIntroduced() const {
tools/clang/lib/Basic/Cuda.cpp 363 static CudaVersion ToCudaVersion(llvm::VersionTuple Version) {
388 bool CudaFeatureEnabled(llvm::VersionTuple Version, CudaFeature Feature) {
tools/clang/lib/Basic/LangOptions.cpp 46 VersionTuple LangOptions::getOpenCLVersionTuple() const {
tools/clang/lib/Basic/Targets/OSTargets.cpp 24 VersionTuple &PlatformMinVersion) {
tools/clang/lib/Basic/Targets/OSTargets.h 76 VersionTuple &PlatformMinVersion);
140 llvm::VersionTuple MinVersion;
tools/clang/lib/CodeGen/CGExprScalar.cpp 533 VersionTuple Version = E->getVersion();
tools/clang/lib/CodeGen/ModuleBuilder.cpp 142 const auto &SDKVersion = Ctx->getTargetInfo().getSDKVersion();
tools/clang/lib/Driver/DarwinSDKInfo.cpp 36 VersionTuple Version;
tools/clang/lib/Driver/ToolChain.cpp 957 static VersionTuple separateMSVCFullVersion(unsigned Version) {
970 VersionTuple
986 VersionTuple MSVT;
tools/clang/lib/Driver/ToolChains/Clang.cpp 4797 VersionTuple GNUCVer;
4819 VersionTuple MSVT = TC.computeMSVCVersion(&D, Args);
tools/clang/lib/Driver/ToolChains/Cuda.cpp 882 VersionTuple CudaToolChain::computeMSVCVersion(const Driver *D,
tools/clang/lib/Driver/ToolChains/Cuda.h 181 VersionTuple
tools/clang/lib/Driver/ToolChains/Darwin.cpp 1236 VersionTuple SystemVersion(Major, Minor, Micro);
1241 VersionTuple SDKVersion(Major, Minor, Micro);
1382 llvm::VersionTuple Version;
2459 VersionTuple TargetVersion = getTargetVersion();
tools/clang/lib/Driver/ToolChains/Darwin.h 293 mutable VersionTuple TargetVersion;
407 VersionTuple getTargetVersion() const {
tools/clang/lib/Driver/ToolChains/HIP.cpp 452 VersionTuple HIPToolChain::computeMSVCVersion(const Driver *D,
tools/clang/lib/Driver/ToolChains/HIP.h 112 VersionTuple
tools/clang/lib/Driver/ToolChains/MSVC.cpp 1175 static VersionTuple getMSVCVersionFromTriple(const llvm::Triple &Triple) {
1183 static VersionTuple getMSVCVersionFromExe(const std::string &BinDir) {
1184 VersionTuple Version;
1320 VersionTuple MSVCToolChain::computeMSVCVersion(const Driver *D,
1323 VersionTuple MSVT = ToolChain::computeMSVCVersion(D, Args);
1342 VersionTuple MSVT = computeMSVCVersion(/*D=*/nullptr, Args);
tools/clang/lib/Driver/ToolChains/MSVC.h 132 VersionTuple
tools/clang/lib/Frontend/CompilerInvocation.cpp 2594 VersionTuple GNUCVer;
2680 VersionTuple VT;
3417 llvm::VersionTuple Version;
tools/clang/lib/Frontend/InitPreprocessor.cpp 651 auto version = LangOpts.ObjCRuntime.getVersion();
664 VersionTuple tuple = LangOpts.ObjCRuntime.getVersion();
tools/clang/lib/Index/CommentToXML.cpp 1019 VersionTuple IntroducedInVersion = AA->getIntroduced();
1025 VersionTuple DeprecatedInVersion = AA->getDeprecated();
1031 VersionTuple RemovedAfterVersion = AA->getObsoleted();
tools/clang/lib/Parse/ParseDecl.cpp 855 VersionTuple Parser::ParseVersionTuple(SourceRange &Range) {
1140 VersionTuple Version = ParseVersionTuple(VersionRange);
tools/clang/lib/Parse/ParseExpr.cpp 3176 VersionTuple Version = ParseVersionTuple(VersionRange);
tools/clang/lib/Sema/SemaDeclAttr.cpp 2140 VersionTuple Introduced,
2141 VersionTuple Deprecated,
2142 VersionTuple Obsoleted) {
2181 static bool versionsMatch(const VersionTuple &X, const VersionTuple &Y,
2181 static bool versionsMatch(const VersionTuple &X, const VersionTuple &Y,
2197 bool Implicit, VersionTuple Introduced, VersionTuple Deprecated,
2197 bool Implicit, VersionTuple Introduced, VersionTuple Deprecated,
2198 VersionTuple Obsoleted, bool IsUnavailable, StringRef Message,
2201 VersionTuple MergedIntroduced = Introduced;
2202 VersionTuple MergedDeprecated = Deprecated;
2203 VersionTuple MergedObsoleted = Obsoleted;
2249 VersionTuple OldIntroduced = OldAA->getIntroduced();
2250 VersionTuple OldDeprecated = OldAA->getDeprecated();
2251 VersionTuple OldObsoleted = OldAA->getObsoleted();
2261 VersionTuple FirstVersion;
2262 VersionTuple SecondVersion;
2304 VersionTuple MergedIntroduced2 = MergedIntroduced;
2305 VersionTuple MergedDeprecated2 = MergedDeprecated;
2306 VersionTuple MergedObsoleted2 = MergedObsoleted;
2424 auto NewIntroduced = adjustWatchOSVersion(Introduced.Version);
2425 auto NewDeprecated = adjustWatchOSVersion(Deprecated.Version);
2426 auto NewObsoleted = adjustWatchOSVersion(Obsoleted.Version);
7607 VersionTuple DeclVersion, Decl *Ctx,
7665 const VersionTuple &DeploymentVersion,
7666 const VersionTuple &DeclVersion) {
7668 VersionTuple ForceAvailabilityFromVersion;
7815 VersionTuple DeclVersion;
7850 VersionTuple Introduced = AA->getIntroduced();
8206 SmallVector<VersionTuple, 8> AvailabilityStack;
8299 VersionTuple Introduced = AA->getIntroduced();
8430 VersionTuple CondVersion;
tools/clang/lib/Sema/SemaDeclObjC.cpp 4523 VersionTuple AcceptedInVersion;
tools/clang/lib/Sema/SemaExpr.cpp18006 VersionTuple Version;
tools/clang/lib/Serialization/ASTReader.cpp 5694 VersionTuple runtimeVersion = ReadVersionTuple(Record, Idx);
9689 VersionTuple ASTReader::ReadVersionTuple(const RecordData &Record,
tools/clang/lib/Serialization/ASTReaderDecl.cpp 2685 VersionTuple readVersionTuple() {
tools/clang/lib/Serialization/ASTWriter.cpp 4632 void ASTWriter::AddVersionTuple(const VersionTuple &Version,
tools/clang/tools/libclang/CIndex.cpp 7813 static CXVersion convertVersion(VersionTuple In) {
tools/lldb/include/lldb/Core/Module.h 599 llvm::VersionTuple GetVersion();
tools/lldb/include/lldb/Host/linux/HostInfoLinux.h 32 static llvm::VersionTuple GetOSVersion();
tools/lldb/include/lldb/Interpreter/OptionGroupPlatform.h 67 llvm::VersionTuple m_os_version;
tools/lldb/include/lldb/Symbol/ObjectFile.h 563 virtual llvm::VersionTuple GetVersion() { return llvm::VersionTuple(); }
574 virtual llvm::VersionTuple GetMinimumOSVersion() {
584 virtual llvm::VersionTuple GetSDKVersion() { return llvm::VersionTuple(); }
tools/lldb/include/lldb/Target/Platform.h 210 virtual llvm::VersionTuple GetOSVersion(Process *process = nullptr);
212 bool SetOSVersion(llvm::VersionTuple os_version);
845 llvm::VersionTuple m_os_version;
tools/lldb/include/lldb/Target/Process.h 1197 virtual llvm::VersionTuple GetHostOSVersion() { return llvm::VersionTuple(); }
1200 virtual llvm::VersionTuple GetHostMacCatalystVersion() { return {}; }
tools/lldb/source/API/SBModule.cpp 624 llvm::VersionTuple version;
tools/lldb/source/API/SBPlatform.cpp 428 llvm::VersionTuple version;
437 llvm::VersionTuple version;
446 llvm::VersionTuple version;
tools/lldb/source/Core/Module.cpp 1620 llvm::VersionTuple Module::GetVersion() {
tools/lldb/source/Host/linux/HostInfoLinux.cpp 30 llvm::VersionTuple m_os_version;
42 llvm::VersionTuple HostInfoLinux::GetOSVersion() {
tools/lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderDarwin.cpp 1121 llvm::VersionTuple version = process->GetHostOSVersion();
tools/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp 5601 llvm::VersionTuple ObjectFileMachO::GetVersion() {
5767 llvm::VersionTuple ObjectFileMachO::GetMinimumOSVersion() {
5828 llvm::VersionTuple ObjectFileMachO::GetSDKVersion() {
tools/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.h 124 llvm::VersionTuple GetVersion() override;
126 llvm::VersionTuple GetMinimumOSVersion() override;
128 llvm::VersionTuple GetSDKVersion() override;
223 llvm::Optional<llvm::VersionTuple> m_min_os_version;
224 llvm::Optional<llvm::VersionTuple> m_sdk_versions;
tools/lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp 1355 llvm::VersionTuple version) {
1380 llvm::VersionTuple version;
1456 llvm::VersionTuple version = HostInfo::GetOSVersion();
1486 std::tuple<llvm::VersionTuple, llvm::StringRef>
1492 llvm::VersionTuple version;
1537 llvm::VersionTuple version;
1590 llvm::VersionTuple PlatformDarwin::GetOSVersion(Process *process) {
1596 llvm::VersionTuple result;
tools/lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.h 66 llvm::VersionTuple
79 static std::tuple<llvm::VersionTuple, llvm::StringRef>
98 static bool SDKSupportsModules(SDKType sdk_type, llvm::VersionTuple version);
tools/lldb/source/Plugins/Platform/MacOSX/PlatformMacOSX.cpp 164 llvm::VersionTuple version = objfile->GetSDKVersion();
tools/lldb/source/Plugins/Platform/MacOSX/PlatformRemoteDarwinDevice.cpp 286 llvm::VersionTuple version = GetOSVersion();
tools/lldb/source/Plugins/Platform/MacOSX/PlatformRemoteDarwinDevice.h 56 llvm::VersionTuple version;
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp 929 llvm::VersionTuple GDBRemoteCommunicationClient::GetOSVersion() {
934 llvm::VersionTuple GDBRemoteCommunicationClient::GetMacCatalystVersion() {
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h 250 llvm::VersionTuple GetOSVersion();
252 llvm::VersionTuple GetMacCatalystVersion();
553 llvm::VersionTuple m_os_version;
554 llvm::VersionTuple m_maccatalyst_version;
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp 258 llvm::VersionTuple version = HostInfo::GetOSVersion();
tools/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp 4282 llvm::VersionTuple ProcessGDBRemote::GetHostOSVersion() {
4286 llvm::VersionTuple ProcessGDBRemote::GetHostMacCatalystVersion() {
tools/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h 201 llvm::VersionTuple GetHostOSVersion() override;
202 llvm::VersionTuple GetHostMacCatalystVersion() override;
tools/lldb/source/Target/Platform.cpp 414 llvm::VersionTuple os_version = GetOSVersion();
448 llvm::VersionTuple Platform::GetOSVersion(Process *process) {
826 bool Platform::SetOSVersion(llvm::VersionTuple version) {
tools/lldb/unittests/Platform/PlatformDarwinTest.cpp 28 llvm::VersionTuple V;
tools/llvm-ifs/llvm-ifs.cpp 37 const VersionTuple IFSVersionCurrent(1, 2);
104 static void output(const VersionTuple &Value, void *,
109 static StringRef input(StringRef Scalar, void *, VersionTuple &Value) {
165 VersionTuple IfsVersion;
unittests/Support/VersionTupleTest.cpp 23 VersionTuple VT;
usr/include/c++/7.4.0/bits/move.h 46 inline _GLIBCXX_CONSTEXPR _Tp*
47 __addressof(_Tp& __r) _GLIBCXX_NOEXCEPT
72 constexpr _Tp&&
73 forward(typename std::remove_reference<_Tp>::type& __t) noexcept
83 constexpr _Tp&&
84 forward(typename std::remove_reference<_Tp>::type&& __t) noexcept
98 move(_Tp&& __t) noexcept
136 inline _GLIBCXX17_CONSTEXPR _Tp*
137 addressof(_Tp& __r) noexcept
143 const _Tp* addressof(const _Tp&&) = delete;
143 const _Tp* addressof(const _Tp&&) = delete;
usr/include/c++/7.4.0/tuple 56 struct __is_empty_non_tuple : is_empty<_Tp> { };
125 constexpr _Head_base(const _Head& __h)
132 constexpr _Head_base(_UHead&& __h)
133 : _M_head_impl(std::forward<_UHead>(__h)) { }
159 static constexpr _Head&
162 static constexpr const _Head&
165 _Head _M_head_impl;
187 private _Head_base<_Idx, _Head>
192 typedef _Head_base<_Idx, _Head> _Base;
194 static constexpr _Head&
197 static constexpr const _Head&
210 constexpr _Tuple_impl(const _Head& __head, const _Tail&... __tail)
216 constexpr _Tuple_impl(_UHead&& __head, _UTail&&... __tail)
227 _Base(std::forward<_Head>(_M_head(__in))) { }
230 constexpr _Tuple_impl(const _Tuple_impl<_Idx, _UElements...>& __in)
235 constexpr _Tuple_impl(_Tuple_impl<_Idx, _UHead, _UTails...>&& __in)
248 const _Head& __head, const _Tail&... __tail)
322 _M_head(*this) = std::forward<_UHead>
323 (_Tuple_impl<_Idx, _UHead, _UTails...>::_M_head(__in));
325 (_Tuple_impl<_Idx, _UHead, _UTails...>::_M_tail(__in));
473 return __and_<is_constructible<_Elements, const _UElements&>...>::value;
473 return __and_<is_constructible<_Elements, const _UElements&>...>::value;
479 return __and_<is_convertible<const _UElements&, _Elements>...>::value;
479 return __and_<is_convertible<const _UElements&, _Elements>...>::value;
485 return __and_<is_constructible<_Elements, _UElements&&>...>::value;
485 return __and_<is_constructible<_Elements, _UElements&&>...>::value;
491 return __and_<is_convertible<_UElements&&, _Elements>...>::value;
491 return __and_<is_convertible<_UElements&&, _Elements>...>::value;
907 class tuple<_T1, _T2> : public _Tuple_impl<0, _T1, _T2>
909 typedef _Tuple_impl<0, _T1, _T2> _Inherited;
939 _TC<is_same<_Dummy, void>::value, _T1, _T2>;
947 constexpr tuple(const _T1& __a1, const _T2& __a2)
956 explicit constexpr tuple(const _T1& __a1, const _T2& __a2)
961 using _TMC = _TC<true, _T1, _T2>;
971 constexpr tuple(_U1&& __a1, _U2&& __a2)
995 constexpr tuple(const tuple<_U1, _U2>& __in)
1013 constexpr tuple(tuple<_U1, _U2>&& __in)
1078 const _T1& __a1, const _T2& __a2)
1090 const _T1& __a1, const _T2& __a2)
1225 operator=(const tuple<_U1, _U2>& __in)
1233 operator=(tuple<_U1, _U2>&& __in)
1448 make_tuple(_Elements&&... __args)
1588 constexpr tuple<_Elements&...>
1589 tie(_Elements&... __args) noexcept
usr/include/c++/7.4.0/type_traits 215 : public __is_void_helper<typename remove_cv<_Tp>::type>::type
326 : public __is_integral_helper<typename remove_cv<_Tp>::type>::type
354 : public __is_floating_point_helper<typename remove_cv<_Tp>::type>::type
381 : public __is_pointer_helper<typename remove_cv<_Tp>::type>::type
567 : public __is_null_pointer_helper<typename remove_cv<_Tp>::type>::type
581 : public __or_<is_lvalue_reference<_Tp>,
582 is_rvalue_reference<_Tp>>::type
588 : public __or_<is_integral<_Tp>, is_floating_point<_Tp>>::type
588 : public __or_<is_integral<_Tp>, is_floating_point<_Tp>>::type
601 : public __not_<__or_<is_function<_Tp>, is_reference<_Tp>,
601 : public __not_<__or_<is_function<_Tp>, is_reference<_Tp>,
602 is_void<_Tp>>>::type
611 : public __or_<is_arithmetic<_Tp>, is_enum<_Tp>, is_pointer<_Tp>,
611 : public __or_<is_arithmetic<_Tp>, is_enum<_Tp>, is_pointer<_Tp>,
611 : public __or_<is_arithmetic<_Tp>, is_enum<_Tp>, is_pointer<_Tp>,
612 is_member_pointer<_Tp>, is_null_pointer<_Tp>>::type
612 is_member_pointer<_Tp>, is_null_pointer<_Tp>>::type
631 : public __is_member_pointer_helper<typename remove_cv<_Tp>::type>::type
638 : public __or_<is_object<_Tp>, is_reference<_Tp>>::type
638 : public __or_<is_object<_Tp>, is_reference<_Tp>>::type
777 : public __and_<is_array<_Tp>, __not_<extent<_Tp>>>
777 : public __and_<is_array<_Tp>, __not_<extent<_Tp>>>
798 typedef decltype(__test<_Tp>(0)) type;
811 remove_all_extents<_Tp>::type>::type
825 : public __is_destructible_safe<_Tp>::type
984 typedef decltype(__test<_Tp, _Arg>(0)) type;
989 : public __and_<is_destructible<_Tp>,
990 __is_direct_constructible_impl<_Tp, _Arg>>
1072 __is_direct_constructible_ref_cast<_Tp, _Arg>,
1073 __is_direct_constructible_new_safe<_Tp, _Arg>
1079 : public __is_direct_constructible_new<_Tp, _Arg>::type
1119 : public __is_direct_constructible<_Tp, _Arg>
1130 : public __is_constructible_impl<_Tp, _Args...>::type
1142 : public is_constructible<_Tp, const _Tp&>
1142 : public is_constructible<_Tp, const _Tp&>
1148 : public __is_copy_constructible_impl<_Tp>
1160 : public is_constructible<_Tp, _Tp&&>
1160 : public is_constructible<_Tp, _Tp&&>
1166 : public __is_move_constructible_impl<_Tp>
1215 : public __and_<is_constructible<_Tp, _Args...>,
1216 __is_nt_constructible_impl<_Tp, _Args...>>
1246 : public is_nothrow_constructible<_Tp, _Tp&&>
1246 : public is_nothrow_constructible<_Tp, _Tp&&>
1252 : public __is_nothrow_move_constructible_impl<_Tp>
1526 static void __test_aux(_To1);
1538 typedef decltype(__test<_From, _To>(0)) type;
1545 : public __is_convertible_helper<_From, _To>::type
1554 { typedef _Tp type; };
1563 { typedef _Tp type; };
1574 remove_const<typename remove_volatile<_Tp>::type>::type type;
1629 { typedef _Tp type; };
1633 { typedef _Tp type; };
1659 { typedef _Tp&& type; };
1955 { typedef _Tp type; };
2104 { typedef typename remove_cv<_Up>::type __type; };
2131 typedef _Tp __type;
utils/unittest/googletest/include/gtest/gtest-printers.h 223 void DefaultPrintNonContainerTo(const T& value, ::std::ostream* os) {
276 static ::std::string Format(const ToPrint& value) {
351 const T1& value, const T2& /* other_operand */) {
351 const T1& value, const T2& /* other_operand */) {
352 return FormatForComparison<T1, T2>::Format(value);
352 return FormatForComparison<T1, T2>::Format(value);
366 void UniversalPrint(const T& value, ::std::ostream* os);
373 const C& container, ::std::ostream* os) {
439 const T& value, ::std::ostream* os) {
455 void PrintTo(const T& value, ::std::ostream* os) {
478 DefaultPrintTo(IsContainerTest<T>(0), is_pointer<T>(), value, os);
699 static void Print(const T& value, ::std::ostream* os) {
784 static void Print(const T& value, ::std::ostream* os) {
856 typedef T T1;
983 internal::UniversalTersePrinter<T>::Print(value, &ss);
utils/unittest/googletest/include/gtest/gtest.h 1377 const T1& lhs, const T2& rhs) {
1377 const T1& lhs, const T2& rhs) {
1389 const T1& lhs,
1390 const T2& rhs) {
1419 const T1& lhs,
1420 const T2& rhs) {
utils/unittest/googletest/include/gtest/internal/custom/raw-ostream.h 35 auto printable(const T &V) -> decltype(StreamSwitch<T>::printable(V)) {
35 auto printable(const T &V) -> decltype(StreamSwitch<T>::printable(V)) {
37 return StreamSwitch<T>::printable(V);
54 const T& V;
55 friend std::ostream &operator<<(std::ostream &S, const RawStreamProxy<T> &V) {
69 static const RawStreamProxy<T> printable(const T &V) { return {V}; }
69 static const RawStreamProxy<T> printable(const T &V) { return {V}; }
utils/unittest/googletest/include/gtest/internal/gtest-internal.h 94 ::std::string PrintToString(const T& value);