|
bool | clang::tooling::operator< (const Replacement &LHS, const Replacement &RHS) |
| Less-than operator between two Replacements. More...
|
|
bool | clang::tooling::operator== (const Replacement &LHS, const Replacement &RHS) |
| Equal-to operator between two Replacements. More...
|
|
bool | clang::tooling::applyAllReplacements (const Replacements &Replaces, Rewriter &Rewrite) |
| Apply all replacements in Replaces to the Rewriter Rewrite . More...
|
|
bool | clang::tooling::applyAllReplacements (const std::vector< Replacement > &Replaces, Rewriter &Rewrite) |
| Apply all replacements in Replaces to the Rewriter Rewrite . More...
|
|
llvm::Expected< std::string > | clang::tooling::applyAllReplacements (StringRef Code, const Replacements &Replaces) |
| Applies all replacements in Replaces to Code . More...
|
|
unsigned | clang::tooling::shiftedCodePosition (const Replacements &Replaces, unsigned Position) |
| Calculates how a code Position is shifted when Replaces are applied. More...
|
|
unsigned | clang::tooling::shiftedCodePosition (const std::vector< Replacement > &Replaces, unsigned Position) |
| Calculates how a code Position is shifted when Replaces are applied. More...
|
|
void | clang::tooling::deduplicate (std::vector< Replacement > &Replaces, std::vector< Range > &Conflicts) |
| Removes duplicate Replacements and reports if Replacements conflict with one another. More...
|
|
std::vector< Range > | clang::tooling::calculateChangedRanges (const Replacements &Replaces) |
| Calculates the ranges in a single file that are affected by the Replacements. More...
|
|
std::vector< Range > | clang::tooling::calculateRangesAfterReplacements (const Replacements &Replaces, const std::vector< Range > &Ranges) |
| Calculates the new ranges after Replaces are applied. More...
|
|
std::map< std::string,
Replacements > | clang::tooling::groupReplacementsByFile (const Replacements &Replaces) |
| Groups a random set of replacements by file path. More...
|
|
Replacements | clang::tooling::mergeReplacements (const Replacements &First, const Replacements &Second) |
| Merges two sets of replacements with the second set referring to the code after applying the first set. More...
|
|