Home
last modified time | relevance | path

Searched refs:IndentPrefix (Results 1 – 1 of 1) sorted by relevance

/openbsd/gnu/llvm/clang/lib/Format/
H A DBreakableToken.cpp780 OriginalPrefix[i] = IndentPrefix; in BreakableLineCommentSection()
781 const int SpacesInPrefix = llvm::count(IndentPrefix, ' '); in BreakableLineCommentSection()
786 assert(Lines[i].size() > IndentPrefix.size()); in BreakableLineCommentSection()
829 if (Lines[i].size() != IndentPrefix.size()) { in BreakableLineCommentSection()
837 assert(Lines[i].size() > IndentPrefix.size()); in BreakableLineCommentSection()
838 const auto FirstNonSpace = Lines[i][IndentPrefix.size()]; in BreakableLineCommentSection()
848 Prefix[i] = IndentPrefix.str(); in BreakableLineCommentSection()
851 Prefix[i] = IndentPrefix in BreakableLineCommentSection()
856 Prefix[i] = IndentPrefix.str(); in BreakableLineCommentSection()
861 Prefix[i] = IndentPrefix.drop_back(SpacesInPrefix).str(); in BreakableLineCommentSection()
[all …]