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

References

tools/clang/lib/Format/BreakableToken.cpp
  743     Prefix.resize(Lines.size());
  753       OriginalPrefix[i] = Prefix[i] = IndentPrefix;
  754       if (Lines[i].size() > Prefix[i].size() &&
  755           isAlphanumeric(Lines[i][Prefix[i].size()])) {
  756         if (Prefix[i] == "//")
  757           Prefix[i] = "// ";
  758         else if (Prefix[i] == "///")
  759           Prefix[i] = "/// ";
  760         else if (Prefix[i] == "//!")
  761           Prefix[i] = "//! ";
  762         else if (Prefix[i] == "///<")
  763           Prefix[i] = "///< ";
  764         else if (Prefix[i] == "//!<")
  765           Prefix[i] = "//!< ";
  766         else if (Prefix[i] == "#" &&
  768           Prefix[i] = "# ";
  778           StartColumn + encoding::columnWidthWithTabs(Prefix[i], StartColumn,
  838                                Prefix[LineIndex].size() -
  840   assert(IndentAtLineBreak >= Prefix[LineIndex].size());
  843       Prefix[LineIndex], InPPDirective, /*Newlines=*/1,
  844       /*Spaces=*/IndentAtLineBreak - Prefix[LineIndex].size());
  926         (OriginalPrefix[LineIndex].size() - Prefix[LineIndex].size());
  938   if (OriginalPrefix[LineIndex] != Prefix[LineIndex]) {
  942     assert(Prefix[LineIndex] == (OriginalPrefix[LineIndex] + " ").str() &&