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

Declarations

include/llvm/Support/YAMLParser.h
   64 struct Token;

References

include/llvm/ADT/AllocatorList.h
   41     Node(T &&V) : V(std::move(V)) {}
   42     Node(const T &V) : V(V) {}
   43     template <class... Ts> Node(Ts &&... Vs) : V(std::forward<Ts>(Vs)...) {}
   44     T V;
   54   template <class... ArgTs> Node *create(ArgTs &&... Args) {
   55     return new (getAlloc()) Node(std::forward<ArgTs>(Args)...);
   78   using value_type = T;
   79   using pointer = T *;
   80   using reference = T &;
   81   using const_pointer = const T *;
   82   using const_reference = const T &;
   89       : public iterator_adaptor_base<IteratorImpl<ValueT, IteratorBase>,
   97         iterator_adaptor_base<IteratorImpl<ValueT, IteratorBase>, IteratorBase,
  101     using value_type = ValueT;
  102     using pointer = ValueT *;
  103     using reference = ValueT &;
  112     IteratorImpl(const IteratorImpl<OtherValueT, OtherIteratorBase> &X,
  131   using iterator = IteratorImpl<T, typename list_type::iterator>;
  133       IteratorImpl<T, typename list_type::reverse_iterator>;
  135       IteratorImpl<const T, typename list_type::const_iterator>;
  137       IteratorImpl<const T, typename list_type::const_reverse_iterator>;
  182   T &back() { return List.back().V; }
  183   T &front() { return List.front().V; }
  184   const T &back() const { return List.back().V; }
  185   const T &front() const { return List.front().V; }
  216   void push_back(T &&V) { insert(end(), std::move(V)); }
  217   void push_front(T &&V) { insert(begin(), std::move(V)); }
  218   void push_back(const T &V) { insert(end(), V); }
  219   void push_front(const T &V) { insert(begin(), V); }
include/llvm/ADT/iterator.h
   68     : public std::iterator<IteratorCategoryT, T, DifferenceTypeT, PointerT,
include/llvm/Support/YAMLParser.h
  163   Token &peekNext();
  164   Token getNext();
  167   void setError(const Twine &Message, Token &Location) const;
  560   Token &peekNext();
  561   Token getNext();
  562   void setError(const Twine &Message, Token &Location) const;
lib/Support/YAMLParser.cpp
  166 using TokenQueueT = BumpPtrList<Token>;
  260   Token &peekNext();
  263   Token getNext();
  429                  , Token::TokenKind Kind
  597     Token T = scanner.getNext();
  599     case Token::TK_StreamStart:
  602     case Token::TK_StreamEnd:
  605     case Token::TK_VersionDirective:
  608     case Token::TK_TagDirective:
  611     case Token::TK_DocumentStart:
  614     case Token::TK_DocumentEnd:
  617     case Token::TK_BlockEntry:
  620     case Token::TK_BlockEnd:
  623     case Token::TK_BlockSequenceStart:
  626     case Token::TK_BlockMappingStart:
  629     case Token::TK_FlowEntry:
  632     case Token::TK_FlowSequenceStart:
  635     case Token::TK_FlowSequenceEnd:
  638     case Token::TK_FlowMappingStart:
  641     case Token::TK_FlowMappingEnd:
  644     case Token::TK_Key:
  647     case Token::TK_Value:
  650     case Token::TK_Scalar:
  653     case Token::TK_BlockScalar:
  656     case Token::TK_Alias:
  659     case Token::TK_Anchor:
  662     case Token::TK_Tag:
  665     case Token::TK_Error:
  669     if (T.Kind == Token::TK_StreamEnd)
  671     else if (T.Kind == Token::TK_Error)
  681     Token T = scanner.getNext();
  682     if (T.Kind == Token::TK_StreamEnd)
  684     else if (T.Kind == Token::TK_Error)
  784 Token &Scanner::peekNext() {
  810 Token Scanner::getNext() {
  811   Token Ret = peekNext();
 1005   Token T;
 1011     T.Kind = Token::TK_BlockEnd;
 1021                         , Token::TokenKind Kind
 1029     Token T;
 1077   Token T;
 1078   T.Kind = Token::TK_StreamStart;
 1096   Token T;
 1097   T.Kind = Token::TK_StreamEnd;
 1116   Token T;
 1119     T.Kind = Token::TK_VersionDirective;
 1127     T.Kind = Token::TK_TagDirective;
 1140   Token T;
 1141   T.Kind = IsStart ? Token::TK_DocumentStart : Token::TK_DocumentEnd;
 1141   T.Kind = IsStart ? Token::TK_DocumentStart : Token::TK_DocumentEnd;
 1149   Token T;
 1150   T.Kind = IsSequence ? Token::TK_FlowSequenceStart
 1151                       : Token::TK_FlowMappingStart;
 1168   Token T;
 1169   T.Kind = IsSequence ? Token::TK_FlowSequenceEnd
 1170                       : Token::TK_FlowMappingEnd;
 1182   Token T;
 1183   T.Kind = Token::TK_FlowEntry;
 1191   rollIndent(Column, Token::TK_BlockSequenceStart, TokenQueue.end());
 1194   Token T;
 1195   T.Kind = Token::TK_BlockEntry;
 1204     rollIndent(Column, Token::TK_BlockMappingStart, TokenQueue.end());
 1209   Token T;
 1210   T.Kind = Token::TK_Key;
 1222     Token T;
 1223     T.Kind = Token::TK_Key;
 1234     rollIndent(SK.Column, Token::TK_BlockMappingStart, i);
 1239       rollIndent(Column, Token::TK_BlockMappingStart, TokenQueue.end());
 1243   Token T;
 1244   T.Kind = Token::TK_Value;
 1315   Token T;
 1316   T.Kind = Token::TK_Scalar;
 1392   Token T;
 1393   T.Kind = Token::TK_Scalar;
 1427   Token T;
 1428   T.Kind = IsAlias ? Token::TK_Alias : Token::TK_Anchor;
 1428   T.Kind = IsAlias ? Token::TK_Alias : Token::TK_Anchor;
 1485     Token T;
 1486     T.Kind = Token::TK_BlockScalar;
 1634   Token T;
 1635   T.Kind = Token::TK_BlockScalar;
 1657   Token T;
 1658   T.Kind = Token::TK_Tag;
 1827         Token T;
 1828         T.Kind = Token::TK_Tag;
 1853 Token &Node::peekNext() {
 1857 Token Node::getNext() {
 1869 void Node::setError(const Twine &Msg, Token &Tok) const {
 1943           Token T;
 2058     Token &t = peekNext();
 2059     if (   t.Kind == Token::TK_BlockEnd
 2060         || t.Kind == Token::TK_Value
 2061         || t.Kind == Token::TK_Error) {
 2064     if (t.Kind == Token::TK_Key)
 2069   Token &t = peekNext();
 2070   if (t.Kind == Token::TK_BlockEnd || t.Kind == Token::TK_Value) {
 2070   if (t.Kind == Token::TK_BlockEnd || t.Kind == Token::TK_Value) {
 2087     Token &t = peekNext();
 2088     if (   t.Kind == Token::TK_BlockEnd
 2089         || t.Kind == Token::TK_FlowMappingEnd
 2090         || t.Kind == Token::TK_Key
 2091         || t.Kind == Token::TK_FlowEntry
 2092         || t.Kind == Token::TK_Error) {
 2096     if (t.Kind != Token::TK_Value) {
 2104   Token &t = peekNext();
 2105   if (t.Kind == Token::TK_BlockEnd || t.Kind == Token::TK_Key) {
 2105   if (t.Kind == Token::TK_BlockEnd || t.Kind == Token::TK_Key) {
 2127   Token T = peekNext();
 2128   if (T.Kind == Token::TK_Key || T.Kind == Token::TK_Scalar) {
 2128   if (T.Kind == Token::TK_Key || T.Kind == Token::TK_Scalar) {
 2133     case Token::TK_BlockEnd:
 2141     case Token::TK_Error:
 2147     case Token::TK_FlowEntry:
 2151     case Token::TK_FlowMappingEnd:
 2154     case Token::TK_Error:
 2177   Token T = peekNext();
 2180     case Token::TK_BlockEntry:
 2188     case Token::TK_BlockEnd:
 2197     case Token::TK_Error:
 2203     case Token::TK_BlockEntry:
 2212     case Token::TK_Error:
 2218     case Token::TK_FlowEntry:
 2223     case Token::TK_FlowSequenceEnd:
 2226     case Token::TK_Error:
 2231     case Token::TK_StreamEnd:
 2232     case Token::TK_DocumentEnd:
 2233     case Token::TK_DocumentStart:
 2263     expectToken(Token::TK_DocumentStart);
 2264   Token &T = peekNext();
 2265   if (T.Kind == Token::TK_DocumentStart)
 2275   Token &T = peekNext();
 2276   if (T.Kind == Token::TK_StreamEnd)
 2278   if (T.Kind == Token::TK_DocumentEnd) {
 2285 Token &Document::peekNext() {
 2289 Token Document::getNext() {
 2293 void Document::setError(const Twine &Message, Token &Location) const {
 2302   Token T = peekNext();
 2304   Token AnchorInfo;
 2305   Token TagInfo;
 2308   case Token::TK_Alias:
 2311   case Token::TK_Anchor:
 2312     if (AnchorInfo.Kind == Token::TK_Anchor) {
 2319   case Token::TK_Tag:
 2320     if (TagInfo.Kind == Token::TK_Tag) {
 2332   case Token::TK_BlockEntry:
 2340   case Token::TK_BlockSequenceStart:
 2347   case Token::TK_BlockMappingStart:
 2354   case Token::TK_FlowSequenceStart:
 2361   case Token::TK_FlowMappingStart:
 2368   case Token::TK_Scalar:
 2375   case Token::TK_BlockScalar: {
 2383   case Token::TK_Key:
 2390   case Token::TK_DocumentStart:
 2391   case Token::TK_DocumentEnd:
 2392   case Token::TK_StreamEnd:
 2397   case Token::TK_Error:
 2407     Token T = peekNext();
 2408     if (T.Kind == Token::TK_TagDirective) {
 2411     } else if (T.Kind == Token::TK_VersionDirective) {
 2425   Token Tag = getNext(); // %TAG <handle> <prefix>
 2436   Token T = getNext();
usr/include/c++/7.4.0/bits/move.h
   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
usr/include/c++/7.4.0/bits/stl_iterator_base_types.h
  123       typedef _Tp        value_type;
usr/include/c++/7.4.0/type_traits
 1629     { typedef _Tp   type; };
 1633     { typedef _Tp   type; };