Lines Matching defs:Code

2836 std::string replaceCRLF(const std::string &Code) {  in replaceCRLF()
2867 StringRef Code, tooling::Replacements &Replaces, in sortCppIncludes()
2962 tooling::Replacements sortCppIncludes(const FormatStyle &Style, StringRef Code, in sortCppIncludes()
3096 StringRef Code, tooling::Replacements &Replaces) { in sortJavaImports()
3175 tooling::Replacements sortJavaImports(const FormatStyle &Style, StringRef Code, in sortJavaImports()
3227 bool isMpegTS(StringRef Code) { in isMpegTS()
3234 bool isLikelyXml(StringRef Code) { return Code.ltrim().startswith("<"); } in isLikelyXml()
3236 tooling::Replacements sortIncludes(const FormatStyle &Style, StringRef Code, in sortIncludes()
3258 processReplacements(T ProcessFunc, StringRef Code, in processReplacements()
3277 formatReplacements(StringRef Code, const tooling::Replacements &Replaces, in formatReplacements()
3293 auto Reformat = [](const FormatStyle &Style, StringRef Code, in formatReplacements()
3315 fixCppIncludeInsertions(StringRef Code, const tooling::Replacements &Replaces, in fixCppIncludeInsertions()
3388 cleanupAroundReplacements(StringRef Code, const tooling::Replacements &Replaces, in cleanupAroundReplacements()
3405 reformat(const FormatStyle &Style, StringRef Code, in reformat()
3561 tooling::Replacements reformat(const FormatStyle &Style, StringRef Code, in reformat()
3572 tooling::Replacements cleanup(const FormatStyle &Style, StringRef Code, in cleanup()
3584 tooling::Replacements reformat(const FormatStyle &Style, StringRef Code, in reformat()
3595 StringRef Code, in fixNamespaceEndComments()
3605 StringRef Code, in separateDefinitionBlocks()
3615 StringRef Code, in sortUsingDeclarations()
3704 FormatStyle::LanguageKind guessLanguage(StringRef FileName, StringRef Code) { in guessLanguage()
3741 StringRef Code, llvm::vfs::FileSystem *FS, in getStyle()