#include "clang/ASTMatchers/Dynamic/Diagnostics.h"
namespace clang {
namespace ast_matchers {
namespace dynamic {
Diagnostics::ArgStream Diagnostics::pushContextFrame(ContextType Type,
SourceRange Range) { … }
Diagnostics::Context::Context(ConstructMatcherEnum, Diagnostics *Error,
StringRef MatcherName,
SourceRange MatcherRange)
: … { … }
Diagnostics::Context::Context(MatcherArgEnum, Diagnostics *Error,
StringRef MatcherName,
SourceRange MatcherRange,
unsigned ArgNumber)
: … { … }
Diagnostics::Context::~Context() { … }
Diagnostics::OverloadContext::OverloadContext(Diagnostics *Error)
: … { … }
Diagnostics::OverloadContext::~OverloadContext() { … }
void Diagnostics::OverloadContext::revertErrors() { … }
Diagnostics::ArgStream &Diagnostics::ArgStream::operator<<(const Twine &Arg) { … }
Diagnostics::ArgStream Diagnostics::addError(SourceRange Range,
ErrorType Error) { … }
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) { … }
void Diagnostics::printToStream(llvm::raw_ostream &OS) const { … }
std::string Diagnostics::toString() const { … }
void Diagnostics::printToStreamFull(llvm::raw_ostream &OS) const { … }
std::string Diagnostics::toStringFull() const { … }
}
}
}