clang API Documentation
#include <PrettyStackTrace.h>
Public Member Functions | |
PrettyStackTraceLoc (SourceManager &sm, SourceLocation L, const char *Msg) | |
void | print (raw_ostream &OS) const override |
If a crash happens while one of these objects are live, the message is printed out along with the specified source location.
Definition at line 27 of file PrettyStackTrace.h.
clang::PrettyStackTraceLoc::PrettyStackTraceLoc | ( | SourceManager & | sm, |
SourceLocation | L, | ||
const char * | Msg | ||
) | [inline] |
Definition at line 32 of file PrettyStackTrace.h.
void PrettyStackTraceLoc::print | ( | raw_ostream & | OS | ) | const [override] |
Definition at line 26 of file SourceLocation.cpp.
References clang::SourceLocation::isValid(), and clang::SourceLocation::print().