Lines Matching refs:Code
22 static std::string format(llvm::StringRef Code, unsigned Offset,
25 DEBUG(llvm::errs() << Code << "\n\n");
27 tooling::Replacements Replaces = reformat(Style, Code, Ranges);
28 std::string Result = applyAllReplacements(Code, Replaces);
34 static std::string format(llvm::StringRef Code) {
37 return format(Code, 0, Code.size(), Style);
40 static void verifyFormat(llvm::StringRef Code) {
41 EXPECT_EQ(Code.str(), format(test::messUp(Code)));