clang  6.0.0svn
Namespaces | Classes | Typedefs | Functions | Variables
clang::ast_matchers::dynamic Namespace Reference

Namespaces

 internal
 

Classes

class  ArgKind
 Kind identifier. More...
 
class  Diagnostics
 Helper class to manage error messages. More...
 
struct  MatcherCompletion
 
class  Parser
 Matcher expression parser. More...
 
struct  ParserValue
 A VariantValue instance annotated with its parser context. More...
 
class  Registry
 
struct  SourceLocation
 
struct  SourceRange
 
class  VariantMatcher
 A variant matcher object. More...
 
class  VariantValue
 Variant value class. More...
 

Typedefs

using MatcherCtor = const internal::MatcherDescriptor *
 

Functions

static StringRef contextTypeToFormatString (Diagnostics::ContextType Type)
 
static StringRef errorTypeToFormatString (Diagnostics::ErrorType Type)
 
static void formatErrorString (StringRef FormatString, ArrayRef< std::string > Args, llvm::raw_ostream &OS)
 
static void maybeAddLineAndColumn (SourceRange Range, llvm::raw_ostream &OS)
 
static void printContextFrameToStream (const Diagnostics::ContextFrame &Frame, llvm::raw_ostream &OS)
 
static void printMessageToStream (const Diagnostics::ErrorContent::Message &Message, const Twine Prefix, llvm::raw_ostream &OS)
 
static void printErrorContentToStream (const Diagnostics::ErrorContent &Content, llvm::raw_ostream &OS)
 
static llvm::raw_ostream & operator<< (llvm::raw_ostream &OS, const std::set< ASTNodeKind > &KS)
 

Variables

static llvm::ManagedStatic< Parser::RegistrySemaDefaultRegistrySema
 
static llvm::ManagedStatic< RegistryMaps > RegistryData
 

Typedef Documentation

◆ MatcherCtor

Definition at line 39 of file Registry.h.

Function Documentation

◆ contextTypeToFormatString()

static StringRef clang::ast_matchers::dynamic::contextTypeToFormatString ( Diagnostics::ContextType  Type)
static

◆ errorTypeToFormatString()

static StringRef clang::ast_matchers::dynamic::errorTypeToFormatString ( Diagnostics::ErrorType  Type)
static

◆ formatErrorString()

static void clang::ast_matchers::dynamic::formatErrorString ( StringRef  FormatString,
ArrayRef< std::string >  Args,
llvm::raw_ostream &  OS 
)
static

Definition at line 132 of file Diagnostics.cpp.

Referenced by printContextFrameToStream(), and printMessageToStream().

◆ maybeAddLineAndColumn()

static void clang::ast_matchers::dynamic::maybeAddLineAndColumn ( SourceRange  Range,
llvm::raw_ostream &  OS 
)
static

◆ operator<<()

static llvm::raw_ostream& clang::ast_matchers::dynamic::operator<< ( llvm::raw_ostream &  OS,
const std::set< ASTNodeKind > &  KS 
)
static

◆ printContextFrameToStream()

static void clang::ast_matchers::dynamic::printContextFrameToStream ( const Diagnostics::ContextFrame Frame,
llvm::raw_ostream &  OS 
)
static

◆ printErrorContentToStream()

static void clang::ast_matchers::dynamic::printErrorContentToStream ( const Diagnostics::ErrorContent Content,
llvm::raw_ostream &  OS 
)
static

◆ printMessageToStream()

static void clang::ast_matchers::dynamic::printMessageToStream ( const Diagnostics::ErrorContent::Message Message,
const Twine  Prefix,
llvm::raw_ostream &  OS 
)
static

Variable Documentation

◆ DefaultRegistrySema

llvm::ManagedStatic<Parser::RegistrySema> clang::ast_matchers::dynamic::DefaultRegistrySema
static

Definition at line 563 of file Parser.cpp.

◆ RegistryData

llvm::ManagedStatic<RegistryMaps> clang::ast_matchers::dynamic::RegistryData
static

Definition at line 477 of file Registry.cpp.