#include "clang/Tooling/Transformer/Transformer.h"
#include "clang/ASTMatchers/ASTMatchFinder.h"
#include "clang/ASTMatchers/ASTMatchersInternal.h"
#include "clang/Basic/SourceLocation.h"
#include "clang/Tooling/Refactoring/AtomicChange.h"
#include "llvm/Support/Error.h"
#include <map>
#include <utility>
#include <vector>
namespace clang {
namespace tooling {
MatchFinder;
namespace detail {
void TransformerImpl::onMatch(
const ast_matchers::MatchFinder::MatchResult &Result) { … }
llvm::Expected<llvm::SmallVector<AtomicChange, 1>>
TransformerImpl::convertToAtomicChanges(
const llvm::SmallVectorImpl<transformer::Edit> &Edits,
const MatchFinder::MatchResult &Result) { … }
}
void Transformer::registerMatchers(MatchFinder *MatchFinder) { … }
void Transformer::run(const MatchFinder::MatchResult &Result) { … }
}
}