clang  10.0.0svn
Typedefs | Functions
RewriteRule.cpp File Reference
#include "clang/Tooling/Transformer/RewriteRule.h"
#include "clang/ASTMatchers/ASTMatchFinder.h"
#include "clang/ASTMatchers/ASTMatchers.h"
#include "clang/Basic/SourceLocation.h"
#include "clang/Tooling/Transformer/SourceCode.h"
#include "llvm/ADT/Optional.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/Errc.h"
#include "llvm/Support/Error.h"
#include <map>
#include <string>
#include <utility>
#include <vector>
Include dependency graph for RewriteRule.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 30 of file RewriteRule.cpp.

Function Documentation

◆ hasValidKind()

static bool hasValidKind ( const DynTypedMatcher &  M)
static

Definition at line 80 of file RewriteRule.cpp.

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

◆ taggedMatchers()

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

Definition at line 87 of file RewriteRule.cpp.