Go to the source code of this file.
|
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...
|
|
static int | clang::tooling::getRangeSize (const SourceManager &Sources, const CharSourceRange &Range, const LangOptions &LangOpts) |
|
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. All Replacements are assumed to be in the same file. 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...
|
|
std::string | clang::tooling::applyAllReplacements (StringRef Code, const Replacements &Replaces) |
| Applies all replacements in Replaces to Code . More...
|
|