|
clang
3.8.0
|
#include "clang/Basic/LangOptions.h"#include "clang/Basic/SourceLocation.h"#include "llvm/ADT/StringRef.h"#include <set>#include <string>#include <vector>Go to the source code of this file.
Classes | |
| class | clang::tooling::Range |
A source range independent of the SourceManager. More... | |
| class | clang::tooling::Replacement |
| A text replacement. More... | |
| struct | clang::tooling::TranslationUnitReplacements |
| Collection of Replacements generated from a single translation unit. More... | |
Namespaces | |
| clang | |
| Dataflow Directional Tag Classes. | |
| clang::tooling | |
Typedefs | |
| typedef std::set< Replacement > | clang::tooling::Replacements |
| A set of Replacements. More... | |
Functions | |
| 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... | |
| 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... | |
| 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... | |
1.8.6