clang 20.0.0git
Classes | Namespaces
Transformer.h File Reference
#include "clang/ASTMatchers/ASTMatchFinder.h"
#include "clang/Tooling/Refactoring/AtomicChange.h"
#include "clang/Tooling/Transformer/RewriteRule.h"
#include "llvm/Support/Error.h"
#include <functional>
#include <utility>

Go to the source code of this file.

Classes

class  clang::tooling::detail::TransformerImpl
 Implementation details of Transformer with type erasure around RewriteRule<T> as well as the corresponding consumers. More...
 
struct  clang::tooling::detail::type_identity< T >
 
struct  clang::tooling::TransformerResult< T >
 
struct  clang::tooling::TransformerResult< void >
 
class  clang::tooling::Transformer
 Handles the matcher and callback registration for a single RewriteRule, as defined by the arguments of the constructor. More...
 
class  clang::tooling::detail::WithMetadataImpl< T >
 Implementation when metadata is generated as a part of the rewrite. More...
 

Namespaces

namespace  clang
 The JSON file list parser is used to communicate input to InstallAPI.
 
namespace  clang::tooling
 
namespace  clang::tooling::detail
 

Functions

template<typename T >
llvm::Error clang::tooling::detail::populateMetadata (const transformer::RewriteRuleWith< T > &Rule, size_t SelectedCase, const ast_matchers::MatchFinder::MatchResult &Match, TransformerResult< T > &Result)
 Runs the metadata generator on Rule and stuffs it into Result.