Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/clang/lib/Format/
H A DBreakableToken.cpp892 OriginalPrefix[i] = IndentPrefix; in BreakableLineCommentSection()
893 const int SpacesInPrefix = llvm::count(IndentPrefix, ' '); in BreakableLineCommentSection()
898 assert(Lines[i].size() > IndentPrefix.size()); in BreakableLineCommentSection()
941 if (Lines[i].size() != IndentPrefix.size()) { in BreakableLineCommentSection()
949 assert(Lines[i].size() > IndentPrefix.size()); in BreakableLineCommentSection()
950 const auto FirstNonSpace = Lines[i][IndentPrefix.size()]; in BreakableLineCommentSection()
960 Prefix[i] = IndentPrefix.str(); in BreakableLineCommentSection()
963 Prefix[i] = IndentPrefix in BreakableLineCommentSection()
968 Prefix[i] = IndentPrefix.str(); in BreakableLineCommentSection()
973 Prefix[i] = IndentPrefix.drop_back(SpacesInPrefix).str(); in BreakableLineCommentSection()
[all …]