Lines Matching refs:Code
22 static std::string format(llvm::StringRef Code, unsigned Offset,
25 DEBUG(llvm::errs() << Code << "\n\n");
29 reformat(Style, Code, Ranges, "<stdin>", &IncompleteFormat);
31 auto Result = applyAllReplacements(Code, Replaces);
38 llvm::StringRef Code,
40 return format(Code, 0, Code.size(), Style);
50 llvm::StringRef Code,
52 std::string Result = format(test::messUp(Code), Style);
53 EXPECT_EQ(Code.str(), Result) << "Formatted:\n" << Result;
58 llvm::StringRef Code,
60 std::string Result = format(Code, Style);
476 " // code\n"
1303 // Code below is 15 chars wide, doesn't fit into the line with the
1308 // Code below fits into 15 chars *after* removing the \ escape.