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

Declarations

include/llvm/Support/YAMLTraits.h
  846   void *getContext() const;

References

include/llvm/Support/YAMLTraits.h
  993     ScalarTraits<T>::output(Val, io.getContext(), Buffer);
 1000     StringRef Result = ScalarTraits<T>::input(Str, io.getContext(), Val);
 1013     BlockScalarTraits<T>::output(Val, YamlIO.getContext(), Buffer);
 1020         BlockScalarTraits<T>::input(Str, YamlIO.getContext(), Val);
 1032     TaggedScalarTraits<T>::output(Val, io.getContext(), ScalarBuffer,
 1044         TaggedScalarTraits<T>::input(Str, Tag, io.getContext(), Val);
lib/ObjectYAML/COFFYAML.cpp
  415   COFF::header &H = *static_cast<COFF::header *>(IO.getContext());
lib/ObjectYAML/DWARFYAML.cpp
   25   auto oldContext = IO.getContext();
   79   if (reinterpret_cast<DWARFYAML::PubSection *>(IO.getContext())->IsGNUStyle)
   86   auto OldContext = IO.getContext();
lib/ObjectYAML/ELFYAML.cpp
  280   const auto *Object = static_cast<ELFYAML::Object *>(IO.getContext());
  437   const auto *Object = static_cast<ELFYAML::Object *>(IO.getContext());
  513   const auto *Object = static_cast<ELFYAML::Object *>(IO.getContext());
  616   const auto *Object = static_cast<ELFYAML::Object *>(IO.getContext());
  667   const auto *Object = static_cast<ELFYAML::Object *>(IO.getContext());
  874     const auto *Object = static_cast<ELFYAML::Object *>(YamlIO.getContext());
  894     const auto *Object = static_cast<ELFYAML::Object *>(YamlIO.getContext());
 1333   assert(IO.getContext() && "The IO context is not initialized");
 1340   assert(IO.getContext() && "The IO context is not initialized");
 1347   assert(IO.getContext() && "The IO context is not initialized");
 1356   assert(IO.getContext() && "The IO context is not initialized");
 1367   assert(IO.getContext() && "The IO context is not initialized");
 1376   assert(IO.getContext() && "The IO context is not initialized");
 1386   const auto *Object = static_cast<ELFYAML::Object *>(IO.getContext());
 1407   assert(!IO.getContext() && "The IO context is initialized already");
 1419   assert(IO.getContext() && "The IO context is not initialized");
lib/ObjectYAML/MachOYAML.cpp
  101   if (!IO.getContext()) {
  117   if (IO.getContext() == &Object)
  140   if (!IO.getContext()) {
  148   if (IO.getContext() == &UniversalBinary)
lib/Remarks/YAMLRemarkSerializer.cpp
   60             reinterpret_cast<RemarkSerializer *>(io.getContext()))) {
   85             reinterpret_cast<RemarkSerializer *>(io.getContext()))) {
  140             reinterpret_cast<RemarkSerializer *>(io.getContext()))) {
lib/TextAPI/MachO/TextStub.cpp
  288     const auto *Ctx = reinterpret_cast<TextAPIContext *>(IO.getContext());
  310     const auto *Ctx = reinterpret_cast<TextAPIContext *>(IO.getContext());
  613       auto Ctx = reinterpret_cast<TextAPIContext *>(IO.getContext());
  762     auto *Ctx = reinterpret_cast<TextAPIContext *>(IO.getContext());
  805       auto Ctx = reinterpret_cast<TextAPIContext *>(IO.getContext());
  908       auto Ctx = reinterpret_cast<TextAPIContext *>(IO.getContext());
tools/clang/lib/Format/Format.cpp
  356             ((FormatStyle *)IO.getContext())->Language;
  599         Template = *((const FormatStyle *)IO.getContext());
tools/clang/tools/extra/clangd/index/YAMLSerialization.cpp
  142     assert(IO.getContext() &&
  144     return static_cast<llvm::UniqueStringSaver *>(IO.getContext())
tools/dsymutil/DebugMap.cpp
  209   if (void *Ctxt = io.getContext())
  220   if (void *Ctxt = io.getContext())
  237   const auto &Ctxt = *reinterpret_cast<YAMLContext *>(IO.getContext());
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileYAML.cpp
  331       YamlContext *info = reinterpret_cast<YamlContext *>(io.getContext());
  370     YamlContext *info = reinterpret_cast<YamlContext *>(io.getContext());
  762   YamlContext *info = reinterpret_cast<YamlContext *>(io.getContext());
tools/lld/lib/ReaderWriter/YAML/ReaderWriterYAML.cpp
  693     YamlContext *info = reinterpret_cast<YamlContext *>(io.getContext());
  705     YamlContext *info = reinterpret_cast<YamlContext *>(io.getContext());
  727     YamlContext *info = reinterpret_cast<YamlContext *>(io.getContext());
  757       YamlContext *info = reinterpret_cast<YamlContext *>(io.getContext());
  792     YamlContext *info = reinterpret_cast<YamlContext *>(io.getContext());
  838       YamlContext *info = reinterpret_cast<YamlContext *>(io.getContext());
  859       YamlContext *info = reinterpret_cast<YamlContext *>(io.getContext());
  942     YamlContext *info = reinterpret_cast<YamlContext *>(io.getContext());
 1009       YamlContext *info = reinterpret_cast<YamlContext *>(io.getContext());
 1025       YamlContext *info = reinterpret_cast<YamlContext *>(io.getContext());
 1041     YamlContext *info = reinterpret_cast<YamlContext *>(io.getContext());
 1075       YamlContext *info = reinterpret_cast<YamlContext *>(io.getContext());
 1094       YamlContext *info = reinterpret_cast<YamlContext *>(io.getContext());
 1117     YamlContext *info = reinterpret_cast<YamlContext *>(io.getContext());
 1151       YamlContext *info = reinterpret_cast<YamlContext *>(io.getContext());
 1167       YamlContext *info = reinterpret_cast<YamlContext *>(io.getContext());
 1186     YamlContext *info = reinterpret_cast<YamlContext *>(io.getContext());
 1192       YamlContext *info = reinterpret_cast<YamlContext *>(io.getContext());
 1282   YamlContext *info = reinterpret_cast<YamlContext *>(io.getContext());