Lines Matching defs:Code
3014 std::string replaceCRLF(const std::string &Code) { in replaceCRLF()
3045 StringRef Code, tooling::Replacements &Replaces, in sortCppIncludes()
3140 tooling::Replacements sortCppIncludes(const FormatStyle &Style, StringRef Code, in sortCppIncludes()
3271 StringRef Code, tooling::Replacements &Replaces) { in sortJavaImports()
3350 tooling::Replacements sortJavaImports(const FormatStyle &Style, StringRef Code, in sortJavaImports()
3402 bool isMpegTS(StringRef Code) { in isMpegTS()
3409 bool isLikelyXml(StringRef Code) { return Code.ltrim().starts_with("<"); } in isLikelyXml()
3411 tooling::Replacements sortIncludes(const FormatStyle &Style, StringRef Code, in sortIncludes()
3433 processReplacements(T ProcessFunc, StringRef Code, in processReplacements()
3452 formatReplacements(StringRef Code, const tooling::Replacements &Replaces, in formatReplacements()
3468 auto Reformat = [](const FormatStyle &Style, StringRef Code, in formatReplacements()
3490 fixCppIncludeInsertions(StringRef Code, const tooling::Replacements &Replaces, in fixCppIncludeInsertions()
3563 cleanupAroundReplacements(StringRef Code, const tooling::Replacements &Replaces, in cleanupAroundReplacements()
3580 reformat(const FormatStyle &Style, StringRef Code, in reformat()
3766 tooling::Replacements reformat(const FormatStyle &Style, StringRef Code, in reformat()
3777 tooling::Replacements cleanup(const FormatStyle &Style, StringRef Code, in cleanup()
3789 tooling::Replacements reformat(const FormatStyle &Style, StringRef Code, in reformat()
3800 StringRef Code, in fixNamespaceEndComments()
3810 StringRef Code, in sortUsingDeclarations()
3899 FormatStyle::LanguageKind guessLanguage(StringRef FileName, StringRef Code) { in guessLanguage()
3936 StringRef Code, llvm::vfs::FileSystem *FS, in getStyle()