Lines Matching refs:Text
94 auto Text = StringRef(SourceMgr.getCharacterData(Location), Length); in process() local
96 if (Text == "// clang-format off" || Text == "/* clang-format off */") in process()
98 else if (Text == "// clang-format on" || Text == "/* clang-format on */") in process()
102 if (Skip || Tok.isNot(tok::numeric_constant) || Text[0] == '.' || in process()
107 const auto B = getBase(Text); in process()
119 Text.find_first_of(IsBase16 ? Suffixes.drop_back() : Suffixes); in process()
121 Text = Text.substr(0, Pos); in process()
125 if ((IsBase10 && Text.find_last_of(".eEfFdDmM") != StringRef::npos) || in process()
126 (IsBase16 && Text.find_last_of(".pP") != StringRef::npos)) { in process()
129 const auto Start = Text[0] == '0' ? 2 : 0; in process()
130 auto End = Text.find_first_of("uUlLzZn", Start); in process()
135 Text = Text.substr(Start, Length); in process()
146 const auto SeparatorCount = Text.count(Separator); in process()
152 checkSeparator(Text, DigitsPerGroup)) { in process()
156 format(Text, DigitsPerGroup, DigitCount, RemoveSeparator); in process()
157 assert(Formatted != Text); in process()