Lines Matching defs:Code

2282 std::string replaceCRLF(const std::string &Code) {  in replaceCRLF()
2313 StringRef Code, tooling::Replacements &Replaces, in sortCppIncludes()
2410 tooling::Replacements sortCppIncludes(const FormatStyle &Style, StringRef Code, in sortCppIncludes()
2515 StringRef Code, tooling::Replacements &Replaces) { in sortJavaImports()
2591 tooling::Replacements sortJavaImports(const FormatStyle &Style, StringRef Code, in sortJavaImports()
2644 bool isMpegTS(StringRef Code) { in isMpegTS()
2651 bool isLikelyXml(StringRef Code) { return Code.ltrim().startswith("<"); } in isLikelyXml()
2653 tooling::Replacements sortIncludes(const FormatStyle &Style, StringRef Code, in sortIncludes()
2674 processReplacements(T ProcessFunc, StringRef Code, in processReplacements()
2693 formatReplacements(StringRef Code, const tooling::Replacements &Replaces, in formatReplacements()
2709 auto Reformat = [](const FormatStyle &Style, StringRef Code, in formatReplacements()
2731 fixCppIncludeInsertions(StringRef Code, const tooling::Replacements &Replaces, in fixCppIncludeInsertions()
2803 cleanupAroundReplacements(StringRef Code, const tooling::Replacements &Replaces, in cleanupAroundReplacements()
2820 reformat(const FormatStyle &Style, StringRef Code, in reformat()
2911 tooling::Replacements reformat(const FormatStyle &Style, StringRef Code, in reformat()
2922 tooling::Replacements cleanup(const FormatStyle &Style, StringRef Code, in cleanup()
2931 tooling::Replacements reformat(const FormatStyle &Style, StringRef Code, in reformat()
2942 StringRef Code, in fixNamespaceEndComments()
2951 StringRef Code, in sortUsingDeclarations()
3022 FormatStyle::LanguageKind guessLanguage(StringRef FileName, StringRef Code) { in guessLanguage()
3046 StringRef Code, llvm::vfs::FileSystem *FS, in getStyle()