Lines Matching refs:IndentForLevel
44 IndentForLevel.push_back(Style.IndentWidth * i + AdditionalIndent); in LevelIndentTracker()
56 while (IndentForLevel.size() <= Line.Level) in nextLine()
57 IndentForLevel.push_back(-1); in nextLine()
61 IndentForLevel.resize(Line.Level + 1); in nextLine()
62 Indent = getIndent(IndentForLevel, Line.Level); in nextLine()
77 if ((!Line.First->is(tok::comment) || IndentForLevel[Line.Level] == -1) && in adjustToUnmodifiedLine()
79 IndentForLevel[Line.Level] = LevelIndent; in adjustToUnmodifiedLine()
104 unsigned getIndent(ArrayRef<int> IndentForLevel, unsigned Level) { in getIndent() argument
105 if (IndentForLevel[Level] != -1) in getIndent()
106 return IndentForLevel[Level]; in getIndent()
109 return getIndent(IndentForLevel, Level - 1) + Style.IndentWidth; in getIndent()
117 std::vector<int> IndentForLevel; member in clang::format::__anon5061c3a60111::LevelIndentTracker