reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

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);
  793   void enumCase(T &Val, const char* Str, const T ConstVal) {
  793   void enumCase(T &Val, const char* Str, const T ConstVal) {
  801   void enumCase(T &Val, const char* Str, const uint32_t ConstVal) {
  859   template <typename T> void mapOptional(const char *Key, T &Val) {
  886   typename std::enable_if<!has_SequenceTraits<T>::value, void>::type
  887   mapOptionalWithContext(const char *Key, T &Val, Context &Ctx) {
  941   void processKey(const char *Key, T &Val, bool Required, Context &Ctx) {
  968 typename std::enable_if<has_ScalarEnumerationTraits<T>::value, void>::type
  969 yamlize(IO &io, T &Val, bool, EmptyContext &Ctx) {
  971   ScalarEnumerationTraits<T>::enumeration(io, Val);
tools/lld/include/lld/ReaderWriter/MachOLinkingContext.h
   87   void configure(HeaderFileType type, Arch arch, OS os, uint32_t minOSVersion,
  125   OS os() const { return _os; }
  461   OS _os = OS::macOSX;
  461   OS _os = OS::macOSX;
tools/lld/lib/Driver/DarwinLdDriver.cpp
  396   MachOLinkingContext::OS os = MachOLinkingContext::OS::unknown;
  396   MachOLinkingContext::OS os = MachOLinkingContext::OS::unknown;
  403       os = MachOLinkingContext::OS::macOSX;
  411       os = MachOLinkingContext::OS::iOS;
  419       os = MachOLinkingContext::OS::iOS_simulator;
  734       case MachOLinkingContext::OS::macOSX:
  741       case MachOLinkingContext::OS::iOS:
  748       case MachOLinkingContext::OS::iOS_simulator:
  754       case MachOLinkingContext::OS::unknown:
 1031           if (ctx.os() == MachOLinkingContext::OS::macOSX)
tools/lld/lib/ReaderWriter/MachO/File.h
  200   MachOLinkingContext::OS OS() const { return _os; }
  201   void setOS(MachOLinkingContext::OS os) { _os = os; }
  273   MachOLinkingContext::OS        _os = MachOLinkingContext::OS::unknown;
  273   MachOLinkingContext::OS        _os = MachOLinkingContext::OS::unknown;
tools/lld/lib/ReaderWriter/MachO/MachOLinkingContext.cpp
  184 void MachOLinkingContext::configure(HeaderFileType type, Arch arch, OS os,
  202         _os = MachOLinkingContext::OS::macOSX;
  209         _os = MachOLinkingContext::OS::iOS;
  240       case OS::macOSX:
  244       case OS::iOS:
  248        case OS::iOS_simulator:
  251        case OS::unknown:
  402   case OS::macOSX:
  406   case OS::iOS:
  407   case OS::iOS_simulator:
  411   case OS::unknown:
  832   if ((_os != OS::macOSX) || (_arch != arch_x86)) {
 1042   if (_os == OS::unknown) {
 1044   } else if (machoFile->OS() != OS::unknown && machoFile->OS() != _os) {
 1062       if (_os != OS::iOS_simulator)
 1074       if (_os == OS::iOS_simulator)
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFile.h
  248   MachOLinkingContext::OS     os = MachOLinkingContext::OS::unknown;
  248   MachOLinkingContext::OS     os = MachOLinkingContext::OS::unknown;
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileBinaryWriter.cpp
  585       _file.os == MachOLinkingContext::OS::macOSX) {
  746     case MachOLinkingContext::OS::unknown:
  752     case MachOLinkingContext::OS::macOSX:
  758     case MachOLinkingContext::OS::iOS:
  759     case MachOLinkingContext::OS::iOS_simulator:
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileFromAtoms.cpp
  463     case lld::MachOLinkingContext::OS::unknown:
  464     case lld::MachOLinkingContext::OS::macOSX:
  465     case lld::MachOLinkingContext::OS::iOS_simulator:
  473     case lld::MachOLinkingContext::OS::iOS:
 1616       context.os() != MachOLinkingContext::OS::unknown)
 1620            ((normFile.os != MachOLinkingContext::OS::unknown) ||
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileYAML.cpp
  136   static void enumeration(IO &io, lld::MachOLinkingContext::OS &value) {
  138                           lld::MachOLinkingContext::OS::unknown);
  140                           lld::MachOLinkingContext::OS::macOSX);
  142                           lld::MachOLinkingContext::OS::iOS);
  144                           lld::MachOLinkingContext::OS::iOS_simulator);
tools/lld/unittests/MachOTests/MachONormalizedFileBinaryWriterTests.cpp
  117     f.os = lld::MachOLinkingContext::OS::macOSX;
  235     f.os = lld::MachOLinkingContext::OS::macOSX;
  346     f.os = lld::MachOLinkingContext::OS::macOSX;
  476     f.os = lld::MachOLinkingContext::OS::macOSX;
tools/lld/unittests/MachOTests/MachONormalizedFileYAMLTests.cpp
  147     f.os = lld::MachOLinkingContext::OS::macOSX;
utils/unittest/googletest/include/gtest/gtest-printers.h
  140   static void PrintValue(const T& value, ::std::ostream* os) {
  205     ::std::basic_ostream<Char, CharTraits>& os, const T& x) {
  206   TypeWithoutFormatter<T,
  207       (internal::IsAProtocolMessage<T>::value ? kProtobuf :
  208        internal::ImplicitlyConvertible<const T&, internal::BiggestInt>::value ?
  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
   29   static const T& printable(const T& V) { return V; }
   29   static const T& printable(const T& V) { return V; }
   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);
utils/unittest/googletest/include/gtest/internal/gtest-internal.h
   94 ::std::string PrintToString(const T& value);