Lines Matching refs:Text
120 StringRef Text(PreviousOriginalWhitespaceEndData, in calculateLineBreakInformation() local
144 auto NewlinePos = Text.find_first_of('\n'); in calculateLineBreakInformation()
636 void WhitespaceManager::storeReplacement(SourceRange Range, StringRef Text) { in storeReplacement() argument
641 WhitespaceLength) == Text) in storeReplacement()
644 SourceMgr, CharSourceRange::getCharRange(Range), Text)); in storeReplacement()
653 void WhitespaceManager::appendNewlineText(std::string &Text, in appendNewlineText() argument
656 Text.append(UseCRLF ? "\r\n" : "\n"); in appendNewlineText()
660 std::string &Text, unsigned Newlines, unsigned PreviousEndOfTokenColumn, in appendEscapedNewlineText() argument
666 Text.append(Spaces, ' '); in appendEscapedNewlineText()
667 Text.append(UseCRLF ? "\\\r\n" : "\\\n"); in appendEscapedNewlineText()
673 void WhitespaceManager::appendIndentText(std::string &Text, in appendIndentText() argument
678 Text.append(Spaces, ' '); in appendIndentText()
686 Text.append("\t"); in appendIndentText()
688 Text.append(Spaces / Style.TabWidth, '\t'); in appendIndentText()
689 Text.append(Spaces % Style.TabWidth, ' '); in appendIndentText()
700 Text.append(Tabs, '\t'); in appendIndentText()
703 Text.append(Spaces, ' '); in appendIndentText()
708 Text.append(Tabs, '\t'); in appendIndentText()
711 Text.append(Spaces, ' '); in appendIndentText()