clang 20.0.0git
|
PrettyDeclStackTraceEntry - If a crash occurs in the parser while parsing something related to a declaration, include that declaration in the stack trace. More...
#include "clang/AST/PrettyDeclStackTrace.h"
Public Member Functions | |
PrettyDeclStackTraceEntry (ASTContext &Ctx, Decl *D, SourceLocation Loc, const char *Msg) | |
void | print (raw_ostream &OS) const override |
PrettyDeclStackTraceEntry - If a crash occurs in the parser while parsing something related to a declaration, include that declaration in the stack trace.
Definition at line 29 of file PrettyDeclStackTrace.h.
|
inline |
Definition at line 36 of file PrettyDeclStackTrace.h.
References Loc.
|
override |
Definition at line 81 of file Decl.cpp.
References clang::Decl::getLocation(), clang::ASTContext::getPrintingPolicy(), clang::ASTContext::getSourceManager(), clang::SourceLocation::isValid(), Loc, and clang::SourceLocation::print().