LLVM API Documentation
#include <YAMLTraits.h>
The Output class is used to generate a yaml document from in-memory structs and vectors.
Definition at line 1008 of file YAMLTraits.h.
Output::Output | ( | llvm::raw_ostream & | yout, |
void * | Ctxt = nullptr |
||
) |
Definition at line 380 of file YAMLTraits.cpp.
Output::~Output | ( | ) | [virtual] |
Definition at line 391 of file YAMLTraits.cpp.
bool Output::beginBitSetScalar | ( | bool & | DoClear | ) | [override, virtual] |
Implements llvm::yaml::IO.
Definition at line 516 of file YAMLTraits.cpp.
void Output::beginDocuments | ( | ) |
Definition at line 433 of file YAMLTraits.cpp.
Referenced by llvm::yaml::operator<<().
void Output::beginEnumScalar | ( | ) | [override, virtual] |
Implements llvm::yaml::IO.
Definition at line 498 of file YAMLTraits.cpp.
unsigned Output::beginFlowSequence | ( | ) | [override, virtual] |
Implements llvm::yaml::IO.
Definition at line 467 of file YAMLTraits.cpp.
References llvm::SmallVectorTemplateBase< T, isPodLike >::push_back().
void Output::beginMapping | ( | ) | [override, virtual] |
Implements llvm::yaml::IO.
Definition at line 398 of file YAMLTraits.cpp.
References llvm::SmallVectorTemplateBase< T, isPodLike >::push_back().
unsigned Output::beginSequence | ( | ) | [override, virtual] |
Implements llvm::yaml::IO.
Definition at line 450 of file YAMLTraits.cpp.
References llvm::SmallVectorTemplateBase< T, isPodLike >::push_back().
bool Output::bitSetMatch | ( | const char * | Str, |
bool | Matches | ||
) | [override, virtual] |
Implements llvm::yaml::IO.
Definition at line 524 of file YAMLTraits.cpp.
bool Output::canElideEmptySequence | ( | ) | [override, virtual] |
Implements llvm::yaml::IO.
Definition at line 572 of file YAMLTraits.cpp.
References llvm::SmallVectorTemplateCommon< T, typename >::back(), and llvm::SmallVectorTemplateCommon< T, typename >::size().
void Output::endBitSetScalar | ( | ) | [override, virtual] |
Implements llvm::yaml::IO.
Definition at line 534 of file YAMLTraits.cpp.
void Output::endDocuments | ( | ) |
Definition at line 446 of file YAMLTraits.cpp.
Referenced by llvm::yaml::operator<<().
void Output::endEnumScalar | ( | ) | [override, virtual] |
Implements llvm::yaml::IO.
Definition at line 511 of file YAMLTraits.cpp.
References llvm_unreachable.
void Output::endFlowSequence | ( | ) | [override, virtual] |
Implements llvm::yaml::IO.
Definition at line 476 of file YAMLTraits.cpp.
References llvm::SmallVectorTemplateBase< T, isPodLike >::pop_back().
void Output::endMapping | ( | ) | [override, virtual] |
Implements llvm::yaml::IO.
Definition at line 411 of file YAMLTraits.cpp.
References llvm::SmallVectorTemplateBase< T, isPodLike >::pop_back().
void Output::endSequence | ( | ) | [override, virtual] |
Implements llvm::yaml::IO.
Definition at line 456 of file YAMLTraits.cpp.
References llvm::SmallVectorTemplateBase< T, isPodLike >::pop_back().
bool Output::mapTag | ( | StringRef | Tag, |
bool | Use | ||
) | [override, virtual] |
Implements llvm::yaml::IO.
Definition at line 403 of file YAMLTraits.cpp.
bool Output::matchEnumScalar | ( | const char * | Str, |
bool | Match | ||
) | [override, virtual] |
Implements llvm::yaml::IO.
Definition at line 502 of file YAMLTraits.cpp.
bool Output::outputting | ( | ) | [override, virtual] |
Implements llvm::yaml::IO.
Definition at line 394 of file YAMLTraits.cpp.
void Output::postflightDocument | ( | ) |
Definition at line 443 of file YAMLTraits.cpp.
Referenced by llvm::yaml::operator<<().
void Output::postflightElement | ( | void * | ) | [override, virtual] |
Implements llvm::yaml::IO.
Definition at line 464 of file YAMLTraits.cpp.
void Output::postflightFlowElement | ( | void * | ) | [override, virtual] |
Implements llvm::yaml::IO.
Definition at line 494 of file YAMLTraits.cpp.
void Output::postflightKey | ( | void * | ) | [override, virtual] |
Implements llvm::yaml::IO.
Definition at line 426 of file YAMLTraits.cpp.
References llvm::SmallVectorTemplateCommon< T, typename >::back(), llvm::SmallVectorTemplateBase< T, isPodLike >::pop_back(), and llvm::SmallVectorTemplateBase< T, isPodLike >::push_back().
bool Output::preflightDocument | ( | unsigned | index | ) |
Definition at line 437 of file YAMLTraits.cpp.
Referenced by llvm::yaml::operator<<().
bool Output::preflightElement | ( | unsigned | , |
void *& | |||
) | [override, virtual] |
Implements llvm::yaml::IO.
Definition at line 460 of file YAMLTraits.cpp.
bool Output::preflightFlowElement | ( | unsigned | , |
void *& | |||
) | [override, virtual] |
Implements llvm::yaml::IO.
Definition at line 481 of file YAMLTraits.cpp.
bool Output::preflightKey | ( | const char * | key, |
bool | Required, | ||
bool | SameAsDefault, | ||
bool & | UseDefault, | ||
void *& | |||
) | [override, virtual] |
Implements llvm::yaml::IO.
Definition at line 415 of file YAMLTraits.cpp.
void Output::scalarString | ( | StringRef & | S, |
bool | MustQuote | ||
) | [override, virtual] |
Implements llvm::yaml::IO.
Definition at line 538 of file YAMLTraits.cpp.
References llvm::StringRef::data(), llvm::StringRef::empty(), and llvm::StringRef::size().
void Output::setError | ( | const Twine & | message | ) | [override, virtual] |
Implements llvm::yaml::IO.
Definition at line 569 of file YAMLTraits.cpp.