Home | History | Annotate | Download | only in Format

Lines Matching defs:Text

735 std::error_code parseConfiguration(StringRef Text, FormatStyle *Style) {
739 if (Text.trim().empty())
743 llvm::yaml::Input Input(Text);
782 std::string Text;
783 llvm::raw_string_ostream Stream(Text);
907 static bool inputUsesCRLF(StringRef Text) {
908 return Text.count('\r') * 2 > Text.count('\n');
1195 StringRef Text;
1221 Includes.back().Offset + Includes.back().Text.size()))
1242 result += Includes[Index].Text;
1246 unsigned End = Start + Includes[Index].Text.size();
1257 Includes.back().Offset + Includes.back().Text.size() -
1576 assert(Matched && "Header insertion replacement must have replacement text "
1756 llvm::ErrorOr<std::unique_ptr<llvm::MemoryBuffer>> Text =
1758 if (std::error_code EC = Text.getError()) {
1763 parseConfiguration(Text.get()->getBuffer(), &Style)) {