Lines Matching refs:NewText
59 const CharSourceRange &Range, std::string NewText) { in replaceToken() argument
60 auto Replacement = tooling::Replacement(SourceMgr, Range, NewText); in replaceToken()
84 std::string NewText{}; in insertQualifierAfter() local
85 NewText += First->TokenText; in insertQualifierAfter()
86 NewText += " " + Qualifier; in insertQualifierAfter()
87 replaceToken(SourceMgr, Fixes, Range, NewText); in insertQualifierAfter()
97 std::string NewText = " " + Qualifier + " "; in insertQualifierBefore() local
98 NewText += First->TokenText; in insertQualifierBefore()
100 replaceToken(SourceMgr, Fixes, Range, NewText); in insertQualifierBefore()
125 std::string NewText; in rotateTokens() local
128 NewText += Last->TokenText; in rotateTokens()
129 NewText += " "; in rotateTokens()
135 if (!NewText.empty() && !endsWithSpace(NewText)) in rotateTokens()
136 NewText += " "; in rotateTokens()
138 NewText += Tok->TokenText; in rotateTokens()
144 if (!NewText.empty() && !startsWithSpace(NewText)) in rotateTokens()
145 NewText += " "; in rotateTokens()
146 NewText += First->TokenText; in rotateTokens()
152 replaceToken(SourceMgr, Fixes, Range, NewText); in rotateTokens()