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),
   59       Current->Next = I->Tok;
   60       I->Tok->Previous = Current;
tools/clang/lib/Format/UnwrappedLineParser.cpp
  600   if (I->Tok->TokenText != "goog")
  603   if (I->Tok->isNot(tok::period))
  606   if (I->Tok->TokenText != "scope")
  609   return I->Tok->is(tok::l_paren);
  621   if (I->Tok->isNot(tok::l_paren))
  624   if (I->Tok->isNot(Keywords.kw_function))
  627   return I->Tok->is(tok::l_paren);
  763       if (!Line.Tokens.front().Tok->is(tok::comment)) {
  819       if (!Line.Tokens.front().Tok->isOneOf(tok::comment, tok::hash)) {
  953                                 return LineNode.Tok->is(tok::at);
 1311           (TokenCount > 1 || (TokenCount == 1 && !Line->Tokens.front().Tok->is(
 1353           (TokenCount == 2 && Line->Tokens.front().Tok->is(tok::comment))) {
 1355           Line->Tokens.begin()->Tok->MustBreakBefore = true;
 2453     llvm::dbgs() << I->Tok->Tok.getName() << "["
 2454                  << "T=" << I->Tok->Type << ", OC=" << I->Tok->OriginalColumn
 2454                  << "T=" << I->Tok->Type << ", OC=" << I->Tok->OriginalColumn
 2580   const FormatToken *MinColumnToken = Line.Tokens.front().Tok;
 2587         isLineComment(*Node.Tok)) {
 2591     PreviousToken = Node.Tok;
 2594     if (Node.Tok->NewlinesBefore > 0) {
 2595       MinColumnToken = Node.Tok;
 2602   return continuesLineComment(FormatTok, /*Previous=*/Line.Tokens.back().Tok,
 2760     Line->Tokens.back().Tok->MustBreakBefore = true;