clang  6.0.0svn
Classes | Functions | Variables
clang::ast_matchers::internal Namespace Reference

Classes

class  CollectMatchesCallback
 

Functions

bool NotUnaryOperator (const ast_type_traits::DynTypedNode &DynNode, ASTMatchFinder *Finder, BoundNodesTreeBuilder *Builder, ArrayRef< DynTypedMatcher > InnerMatchers)
 
bool AllOfVariadicOperator (const ast_type_traits::DynTypedNode &DynNode, ASTMatchFinder *Finder, BoundNodesTreeBuilder *Builder, ArrayRef< DynTypedMatcher > InnerMatchers)
 
bool EachOfVariadicOperator (const ast_type_traits::DynTypedNode &DynNode, ASTMatchFinder *Finder, BoundNodesTreeBuilder *Builder, ArrayRef< DynTypedMatcher > InnerMatchers)
 
bool AnyOfVariadicOperator (const ast_type_traits::DynTypedNode &DynNode, ASTMatchFinder *Finder, BoundNodesTreeBuilder *Builder, ArrayRef< DynTypedMatcher > InnerMatchers)
 
Matcher< NamedDeclhasAnyNameFunc (ArrayRef< const StringRef *> NameRefs)
 
static bool consumeNameSuffix (StringRef &FullName, StringRef Suffix)
 
static StringRef getNodeName (const NamedDecl &Node, llvm::SmallString< 128 > &Scratch)
 
static StringRef getNodeName (const RecordDecl &Node, llvm::SmallString< 128 > &Scratch)
 
static StringRef getNodeName (const NamespaceDecl &Node, llvm::SmallString< 128 > &Scratch)
 

Variables

static llvm::ManagedStatic< TrueMatcherImpl > TrueMatcherInstance
 

Function Documentation

◆ AllOfVariadicOperator()

bool clang::ast_matchers::internal::AllOfVariadicOperator ( const ast_type_traits::DynTypedNode DynNode,
ASTMatchFinder *  Finder,
BoundNodesTreeBuilder *  Builder,
ArrayRef< DynTypedMatcher >  InnerMatchers 
)

Definition at line 273 of file ASTMatchersInternal.cpp.

◆ AnyOfVariadicOperator()

bool clang::ast_matchers::internal::AnyOfVariadicOperator ( const ast_type_traits::DynTypedNode DynNode,
ASTMatchFinder *  Finder,
BoundNodesTreeBuilder *  Builder,
ArrayRef< DynTypedMatcher >  InnerMatchers 
)

Definition at line 304 of file ASTMatchersInternal.cpp.

◆ consumeNameSuffix()

static bool clang::ast_matchers::internal::consumeNameSuffix ( StringRef &  FullName,
StringRef  Suffix 
)
static

Definition at line 337 of file ASTMatchersInternal.cpp.

◆ EachOfVariadicOperator()

bool clang::ast_matchers::internal::EachOfVariadicOperator ( const ast_type_traits::DynTypedNode DynNode,
ASTMatchFinder *  Finder,
BoundNodesTreeBuilder *  Builder,
ArrayRef< DynTypedMatcher >  InnerMatchers 
)

Definition at line 287 of file ASTMatchersInternal.cpp.

◆ getNodeName() [1/3]

static StringRef clang::ast_matchers::internal::getNodeName ( const NamedDecl Node,
llvm::SmallString< 128 > &  Scratch 
)
static

◆ getNodeName() [2/3]

static StringRef clang::ast_matchers::internal::getNodeName ( const RecordDecl Node,
llvm::SmallString< 128 > &  Scratch 
)
static

◆ getNodeName() [3/3]

static StringRef clang::ast_matchers::internal::getNodeName ( const NamespaceDecl Node,
llvm::SmallString< 128 > &  Scratch 
)
static

◆ hasAnyNameFunc()

Matcher<NamedDecl> clang::ast_matchers::internal::hasAnyNameFunc ( ArrayRef< const StringRef *>  NameRefs)

Definition at line 318 of file ASTMatchersInternal.cpp.

◆ NotUnaryOperator()

bool clang::ast_matchers::internal::NotUnaryOperator ( const ast_type_traits::DynTypedNode DynNode,
ASTMatchFinder *  Finder,
BoundNodesTreeBuilder *  Builder,
ArrayRef< DynTypedMatcher >  InnerMatchers 
)

Definition at line 253 of file ASTMatchersInternal.cpp.

Variable Documentation

◆ TrueMatcherInstance

llvm::ManagedStatic<TrueMatcherImpl> clang::ast_matchers::internal::TrueMatcherInstance
static

Definition at line 130 of file ASTMatchersInternal.cpp.