clang API Documentation
#include <PrettyStackTraceLocationContext.h>
Public Member Functions | |
PrettyStackTraceLocationContext (const LocationContext *LC) | |
void | print (raw_ostream &OS) const override |
While alive, includes the current analysis stack in a crash trace.
Example:
0. Program arguments: ... 1. <eof> parser at end of file 2. While analyzing stack: #0 void inlined() #1 void test() 3. crash-trace.c:6:3: Error evaluating statement
Definition at line 29 of file PrettyStackTraceLocationContext.h.
clang::ento::PrettyStackTraceLocationContext::PrettyStackTraceLocationContext | ( | const LocationContext * | LC | ) | [inline] |
Definition at line 32 of file PrettyStackTraceLocationContext.h.
void clang::ento::PrettyStackTraceLocationContext::print | ( | raw_ostream & | OS | ) | const [inline, override] |
Definition at line 36 of file PrettyStackTraceLocationContext.h.
References clang::LocationContext::dumpStack().