Lines Matching defs:Code
3047 std::string replaceCRLF(const std::string &Code) { in replaceCRLF()
3078 StringRef Code, tooling::Replacements &Replaces, in sortCppIncludes()
3176 tooling::Replacements sortCppIncludes(const FormatStyle &Style, StringRef Code, in sortCppIncludes()
3314 StringRef Code, tooling::Replacements &Replaces) { in sortJavaImports()
3393 tooling::Replacements sortJavaImports(const FormatStyle &Style, StringRef Code, in sortJavaImports()
3445 bool isMpegTS(StringRef Code) { in isMpegTS()
3452 bool isLikelyXml(StringRef Code) { return Code.ltrim().starts_with("<"); } in isLikelyXml()
3454 tooling::Replacements sortIncludes(const FormatStyle &Style, StringRef Code, in sortIncludes()
3476 processReplacements(T ProcessFunc, StringRef Code, in processReplacements()
3495 formatReplacements(StringRef Code, const tooling::Replacements &Replaces, in formatReplacements()
3511 auto Reformat = [](const FormatStyle &Style, StringRef Code, in formatReplacements()
3533 fixCppIncludeInsertions(StringRef Code, const tooling::Replacements &Replaces, in fixCppIncludeInsertions()
3605 cleanupAroundReplacements(StringRef Code, const tooling::Replacements &Replaces, in cleanupAroundReplacements()
3622 reformat(const FormatStyle &Style, StringRef Code, in reformat()
3808 tooling::Replacements reformat(const FormatStyle &Style, StringRef Code, in reformat()
3819 tooling::Replacements cleanup(const FormatStyle &Style, StringRef Code, in cleanup()
3831 tooling::Replacements reformat(const FormatStyle &Style, StringRef Code, in reformat()
3842 StringRef Code, in fixNamespaceEndComments()
3852 StringRef Code, in sortUsingDeclarations()
3944 FormatStyle::LanguageKind guessLanguage(StringRef FileName, StringRef Code) { in guessLanguage()
3983 StringRef FallbackStyleName, StringRef Code, in getStyle()