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),
tools/clang/lib/Format/UnwrappedLineParser.cpp
   83         PreviousLineLevel(Line.Level), PreviousTokenSource(TokenSource),
   88     Line.Level = 0;
   96     Line.Level = PreviousLineLevel;
  149     Parser.Line->Level = PreBlockLine->Level;
  149     Parser.Line->Level = PreBlockLine->Level;
  271         if (Line.InPPDirective && Line.Level > 0)
  272           --Line.Level;
  379           (Style.IndentCaseLabels || (Line->InPPDirective && Line->Level == 1)))
  380         ++Line->Level;
  542   unsigned InitialLevel = Line->Level;
  559     ++Line->Level;
  567     Line->Level = InitialLevel;
  582   Line->Level = InitialLevel;
  652     Line->Level += SkipIndent ? 0 : 1;
  655     Line->Level -= SkipIndent ? 0 : 1;
  833     Line->Level += PPBranchLevel + 1;
  835   ++Line->Level;
  850     Line->Level += PPBranchLevel + 1;
 1773     CompoundStatementIndenter Indenter(this, Style, Line->Level);
 1781     ++Line->Level;
 1783     --Line->Level;
 1788       CompoundStatementIndenter Indenter(this, Style, Line->Level);
 1795       ++Line->Level;
 1799       --Line->Level;
 1826     CompoundStatementIndenter Indenter(this, Style, Line->Level);
 1838     ++Line->Level;
 1840     --Line->Level;
 1864     CompoundStatementIndenter Indenter(this, Style, Line->Level);
 1945     CompoundStatementIndenter Indenter(this, Style, Line->Level);
 1950     ++Line->Level;
 1952     --Line->Level;
 1960     CompoundStatementIndenter Indenter(this, Style, Line->Level);
 1966     ++Line->Level;
 1968     --Line->Level;
 1983   unsigned OldLineLevel = Line->Level;
 1984   if (Line->Level > 1 || (!Line->InPPDirective && Line->Level > 0))
 1984   if (Line->Level > 1 || (!Line->InPPDirective && Line->Level > 0))
 1985     --Line->Level;
 1987     Line->Level = 0;
 1989     CompoundStatementIndenter Indenter(this, Line->Level,
 2005   Line->Level = OldLineLevel;
 2027     CompoundStatementIndenter Indenter(this, Style, Line->Level);
 2032     ++Line->Level;
 2034     --Line->Level;
 2146   ++Line->Level;
 2174   --Line->Level;
 2447   llvm::dbgs() << Prefix << "Line(" << Line.Level
 2713               static_cast<unsigned>(-LevelDifference) <= Line->Level) &&
 2715       Line->Level += LevelDifference;
 2721         Line->Level += PPBranchLevel;