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

References

tools/clang/lib/Format/TokenAnnotator.h
   40       : First(Line.Tokens.front().Tok), Level(Line.Level),
   48     assert(!Line.Tokens.empty());
   55     for (std::list<UnwrappedLineNode>::const_iterator I = ++Line.Tokens.begin(),
   56                                                       E = Line.Tokens.end();
tools/clang/lib/Format/UnwrappedLineParser.cpp
  145     else if (!Parser.Line->Tokens.empty())
  146       Parser.CurrentLines = &Parser.Line->Tokens.back().Children;
  154     if (!Parser.Line->Tokens.empty()) {
  157     assert(Parser.Line->Tokens.empty());
  597   if (Line.Tokens.size() < 4)
  599   auto I = Line.Tokens.begin();
  618   if (Line.Tokens.size() < 3)
  620   auto I = Line.Tokens.begin();
  763       if (!Line.Tokens.front().Tok->is(tok::comment)) {
  819       if (!Line.Tokens.front().Tok->isOneOf(tok::comment, tok::hash)) {
  951     bool HasAt = std::find_if(Line->Tokens.begin(), Line->Tokens.end(),
  951     bool HasAt = std::find_if(Line->Tokens.begin(), Line->Tokens.end(),
  954                               }) != Line->Tokens.end();
 1308       size_t TokenCount = Line->Tokens.size();
 1311           (TokenCount > 1 || (TokenCount == 1 && !Line->Tokens.front().Tok->is(
 1351       TokenCount = Line->Tokens.size();
 1353           (TokenCount == 2 && Line->Tokens.front().Tok->is(tok::comment))) {
 1355           Line->Tokens.begin()->Tok->MustBreakBefore = true;
 2421     if (Line->Tokens.empty()) {
 2450   for (std::list<UnwrappedLineNode>::const_iterator I = Line.Tokens.begin(),
 2451                                                     E = Line.Tokens.end();
 2457   for (std::list<UnwrappedLineNode>::const_iterator I = Line.Tokens.begin(),
 2458                                                     E = Line.Tokens.end();
 2472   if (Line->Tokens.empty())
 2479   Line->Tokens.clear();
 2504   if (Line.Tokens.empty())
 2580   const FormatToken *MinColumnToken = Line.Tokens.front().Tok;
 2585   for (const UnwrappedLineNode &Node : Line.Tokens) {
 2602   return continuesLineComment(FormatTok, /*Previous=*/Line.Tokens.back().Tok,
 2607   bool JustComments = Line->Tokens.empty();
 2710       bool SwitchToPreprocessorLines = !Line->Tokens.empty();
 2758   Line->Tokens.push_back(UnwrappedLineNode(Tok));
 2760     Line->Tokens.back().Tok->MustBreakBefore = true;