Lines Matching refs:IndentPrefix
779 StringRef IndentPrefix = getLineCommentIndentPrefix(Lines[i], Style); in BreakableLineCommentSection() local
780 OriginalPrefix[i] = IndentPrefix; in BreakableLineCommentSection()
781 const int SpacesInPrefix = llvm::count(IndentPrefix, ' '); in BreakableLineCommentSection()
786 assert(Lines[i].size() > IndentPrefix.size()); in BreakableLineCommentSection()
787 const char FirstCommentChar = Lines[i][IndentPrefix.size()]; in BreakableLineCommentSection()
791 Lines[i].substr(IndentPrefix.size(), FirstCharByteSize), in BreakableLineCommentSection()
817 if (SpacesInPrefix < Minimum && 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()
865 Content[i] = Lines[i].substr(IndentPrefix.size()); in BreakableLineCommentSection()