Lines Matching refs:tooling
800 tooling::Replacements
803 FormatTokenLexer &Tokens, tooling::Replacements &Result) override { in analyze()
835 tooling::Replacements &Result) { in requoteJSStringLiteral()
858 Result.insert(tooling::Replacement(Env.getSourceManager(), Start, in requoteJSStringLiteral()
991 tooling::Replacements
994 FormatTokenLexer &Tokens, tooling::Replacements &Result) override { in analyze()
1149 tooling::Replacements generateFixes() { in generateFixes()
1150 tooling::Replacements Fixes; in generateFixes()
1167 Fixes.insert(tooling::Replacement(Env.getSourceManager(), SR, "")); in generateFixes()
1203 static bool affectsRange(ArrayRef<tooling::Range> Ranges, unsigned Start, in affectsRange()
1218 ArrayRef<tooling::Range> Ranges, StringRef FileName, in sortCppIncludes()
1219 tooling::Replacements &Replaces, unsigned *Cursor) { in sortCppIncludes()
1260 Replaces.insert(tooling::Replacement(FileName, Includes.front().Offset, in sortCppIncludes()
1323 tooling::Replacements sortCppIncludes(const FormatStyle &Style, StringRef Code, in sortCppIncludes()
1324 ArrayRef<tooling::Range> Ranges, in sortCppIncludes()
1326 tooling::Replacements &Replaces, in sortCppIncludes()
1383 tooling::Replacements sortIncludes(const FormatStyle &Style, StringRef Code, in sortIncludes()
1384 ArrayRef<tooling::Range> Ranges, in sortIncludes()
1386 tooling::Replacements Replaces; in sortIncludes()
1396 static llvm::Expected<tooling::Replacements>
1398 const tooling::Replacements &Replaces, in processReplacements()
1401 return tooling::Replacements(); in processReplacements()
1406 std::vector<tooling::Range> ChangedRanges = in processReplacements()
1407 tooling::calculateChangedRanges(Replaces); in processReplacements()
1410 tooling::Replacements FormatReplaces = in processReplacements()
1416 llvm::Expected<tooling::Replacements>
1417 formatReplacements(StringRef Code, const tooling::Replacements &Replaces, in formatReplacements()
1422 std::vector<tooling::Range> Ranges, in formatReplacements()
1423 StringRef FileName) -> tooling::Replacements { in formatReplacements()
1434 std::vector<tooling::Range> Ranges, in formatReplacements()
1435 StringRef FileName) -> tooling::Replacements { in formatReplacements()
1443 inline bool isHeaderInsertion(const tooling::Replacement &Replace) { in isHeaderInsertion()
1494 tooling::Replacements
1495 fixCppIncludeInsertions(StringRef Code, const tooling::Replacements &Replaces, in fixCppIncludeInsertions()
1500 tooling::Replacements HeaderInsertions; in fixCppIncludeInsertions()
1511 tooling::Replacements Result; in fixCppIncludeInsertions()
1591 Result.insert(tooling::Replacement(FileName, Offset, 0, NewInclude)); in fixCppIncludeInsertions()
1598 llvm::Expected<tooling::Replacements>
1599 cleanupAroundReplacements(StringRef Code, const tooling::Replacements &Replaces, in cleanupAroundReplacements()
1604 std::vector<tooling::Range> Ranges, in cleanupAroundReplacements()
1605 StringRef FileName) -> tooling::Replacements { in cleanupAroundReplacements()
1609 tooling::Replacements NewReplaces = in cleanupAroundReplacements()
1614 tooling::Replacements reformat(const FormatStyle &Style, SourceManager &SM, in reformat()
1619 return tooling::Replacements(); in reformat()
1626 tooling::Replacements reformat(const FormatStyle &Style, StringRef Code, in reformat()
1627 ArrayRef<tooling::Range> Ranges, in reformat()
1631 return tooling::Replacements(); in reformat()
1639 tooling::Replacements cleanup(const FormatStyle &Style, SourceManager &SM, in cleanup()
1646 tooling::Replacements cleanup(const FormatStyle &Style, StringRef Code, in cleanup()
1647 ArrayRef<tooling::Range> Ranges, in cleanup()