clang API Documentation

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

Namespaces

namespace  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...
struct  final
class  VariantValue
 Variant value class. More...

Typedefs

typedef const
internal::MatcherDescriptor
MatcherCtor

Functions

StringRef contextTypeToFormatString (Diagnostics::ContextType Type)
StringRef errorTypeToFormatString (Diagnostics::ErrorType Type)
void formatErrorString (StringRef FormatString, ArrayRef< std::string > Args, llvm::raw_ostream &OS)
static void maybeAddLineAndColumn (const 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

StringRef clang::ast_matchers::dynamic::contextTypeToFormatString ( Diagnostics::ContextType  Type)
StringRef clang::ast_matchers::dynamic::errorTypeToFormatString ( Diagnostics::ErrorType  Type)
void clang::ast_matchers::dynamic::formatErrorString ( StringRef  FormatString,
ArrayRef< std::string >  Args,
llvm::raw_ostream &  OS 
)

Definition at line 133 of file Diagnostics.cpp.

Referenced by printContextFrameToStream(), and printMessageToStream().

static void clang::ast_matchers::dynamic::maybeAddLineAndColumn ( const 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

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