clang
3.7.0
|
#include <PrettyDeclStackTrace.h>
Public Member Functions | |
PrettyDeclStackTraceEntry (Sema &S, 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 31 of file PrettyDeclStackTrace.h.
|
inline |
Definition at line 38 of file PrettyDeclStackTrace.h.
|
override |
Definition at line 1247 of file Sema.cpp.
References clang::Decl::getLocation(), clang::Sema::getSourceManager(), clang::SourceLocation::isValid(), clang::SourceLocation::print(), and S.