Lines Matching defs:Text
38 bool isRawStringLiteral(StringRef Text) {
40 const size_t QuotePos = Text.find('"');
42 return (QuotePos > 0) && (Text[QuotePos - 1] == 'R');
59 StringRef Text = Lexer::getSourceText(CharRange, *Result.SourceManager,
61 if (Text.empty() || isRawStringLiteral(Text))
64 return containsEscapes(Text, R"('\"?x01)");
123 StringRef Text = Lexer::getSourceText(CharRange, SM, LangOpts);
124 const size_t UDSuffixPos = Text.find_last_of('"');
127 return Text.slice(UDSuffixPos + 1, Text.size());