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

References

tools/clang/lib/Format/ContinuationIndenter.cpp
  142           (LessTok.NestingLevel > 0 ||
  298       State.LowestLevelOnLine < Current.NestingLevel)
  351         (Previous.NestingLevel == 1 || Style.BinPackParameters)) ||
  393        Current.NestingLevel < State.StartOfLineLevel))
  420        Previous.is(tok::comma) || Current.NestingLevel < 2) &&
  462   if (Current.NestingLevel == 0 && !Current.isTrailingComment()) {
  548       (State.Line->First->is(tok::kw_for) || Current.NestingLevel == 0) &&
  774        Current.NestingLevel != 0 || !PreviousNonComment ||
  823       Current.NestingLevel == 0)
  858   State.StartOfLineLevel = Current.NestingLevel;
  859   State.LowestLevelOnLine = Current.NestingLevel;
  873        Current.NestingLevel != 0) &&
  943     return Current.NestingLevel == 0 ? State.FirstIndent
 1117         std::min(State.LowestLevelOnLine, Current.NestingLevel);
 1261          *I != prec::Comma || Current.NestingLevel == 0))
tools/clang/lib/Format/FormatToken.cpp
  232   if (Token->NestingLevel != 0 && Token->is(tok::l_brace) && Commas.size() < 19)
tools/clang/lib/Format/FormatToken.h
  510              (!Style.Cpp11BracedListStyle && NestingLevel == 0))) ||
tools/clang/lib/Format/TokenAnnotator.cpp
 1241       CurrentToken->NestingLevel = Contexts.size() - 1;
 1382                (!Line.MightBeFunctionDecl || Current.NestingLevel != 0)) {
 1396                Current.NestingLevel == 0 &&
 2041     Result = std::max(Result, Tok->NestingLevel);
 2108     if (!Current.is(TT_StartOfName) || Current.NestingLevel != 0)
 2327     if (Left.is(tok::comma) && Left.NestingLevel == 0)
 2367     if (InFunctionDecl && Right.NestingLevel == 0)
 2586                (Left.NestingLevel == 0 ||
 2587                 (Left.NestingLevel == 1 && Line.First->is(tok::kw_for)))))));
 3027              (Left.NestingLevel == 0 && Line.Level == 0 &&
 3079       Right.Previous->MatchingParen->NestingLevel == 0 &&
 3102       Right.NestingLevel == 1 && Style.Language == FormatStyle::LK_Proto) {
 3284     if (Right.NestingLevel == 0 &&
 3449       Line.Type == LT_VirtualFunctionDecl && Left.NestingLevel == 0)
tools/clang/lib/Format/WhitespaceManager.h
  164       return std::make_pair(Tok->IndentLevel, Tok->NestingLevel);