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

Namespaces

 internal
 

Classes

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

Typedefs

typedef const
internal::MatcherDescriptor
MatcherCtor
 

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)
 

Variables

static llvm::ManagedStatic
< Parser::RegistrySema
DefaultRegistrySema
 

Typedef Documentation

Definition at line 35 of file Registry.h.

Function Documentation

static StringRef clang::ast_matchers::dynamic::contextTypeToFormatString ( Diagnostics::ContextType  Type)
static
static StringRef clang::ast_matchers::dynamic::errorTypeToFormatString ( Diagnostics::ErrorType  Type)
static
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.

References Next.

Referenced by printContextFrameToStream(), and printMessageToStream().

static void clang::ast_matchers::dynamic::maybeAddLineAndColumn ( SourceRange  Range,
llvm::raw_ostream &  OS 
)
static
static void clang::ast_matchers::dynamic::printContextFrameToStream ( const Diagnostics::ContextFrame &  Frame,
llvm::raw_ostream &  OS 
)
static
static void clang::ast_matchers::dynamic::printErrorContentToStream ( const Diagnostics::ErrorContent &  Content,
llvm::raw_ostream &  OS 
)
static
static void clang::ast_matchers::dynamic::printMessageToStream ( const Diagnostics::ErrorContent::Message &  Message,
const Twine  Prefix,
llvm::raw_ostream &  OS 
)
static

Variable Documentation

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

Definition at line 522 of file ASTMatchers/Dynamic/Parser.cpp.