clang  10.0.0svn
Typedefs | Functions
Transformer.cpp File Reference
#include "clang/Tooling/Refactoring/Transformer.h"
#include "clang/AST/Expr.h"
#include "clang/ASTMatchers/ASTMatchFinder.h"
#include "clang/ASTMatchers/ASTMatchers.h"
#include "clang/Basic/Diagnostic.h"
#include "clang/Basic/SourceLocation.h"
#include "clang/Rewrite/Core/Rewriter.h"
#include "clang/Tooling/Refactoring/AtomicChange.h"
#include "clang/Tooling/Refactoring/SourceCode.h"
#include "llvm/ADT/Optional.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/Errc.h"
#include "llvm/Support/Error.h"
#include <string>
#include <utility>
#include <vector>
#include <map>
Include dependency graph for Transformer.cpp:

Go to the source code of this file.

Typedefs

using MatchResult = MatchFinder::MatchResult
 

Functions

static bool hasValidKind (const DynTypedMatcher &M)
 
static std::vector< DynTypedMatcher > taggedMatchers (StringRef TagBase, const SmallVectorImpl< std::pair< size_t, RewriteRule::Case >> &Cases)
 

Typedef Documentation

◆ MatchResult

using MatchResult = MatchFinder::MatchResult

Definition at line 37 of file Transformer.cpp.

Function Documentation

◆ hasValidKind()

static bool hasValidKind ( const DynTypedMatcher &  M)
static

Definition at line 87 of file Transformer.cpp.

Referenced by clang::tooling::detail::buildMatchers().

◆ taggedMatchers()

static std::vector<DynTypedMatcher> taggedMatchers ( StringRef  TagBase,
const SmallVectorImpl< std::pair< size_t, RewriteRule::Case >> &  Cases 
)
static

Definition at line 94 of file Transformer.cpp.