clang API Documentation

Public Member Functions
clang::ento::PrettyStackTraceLocationContext Class Reference

#include <PrettyStackTraceLocationContext.h>

Inheritance diagram for clang::ento::PrettyStackTraceLocationContext:
Inheritance graph
[legend]
Collaboration diagram for clang::ento::PrettyStackTraceLocationContext:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 PrettyStackTraceLocationContext (const LocationContext *LC)
void print (raw_ostream &OS) const override

Detailed Description

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.


Constructor & Destructor Documentation

Definition at line 32 of file PrettyStackTraceLocationContext.h.


Member Function Documentation

void clang::ento::PrettyStackTraceLocationContext::print ( raw_ostream &  OS) const [inline, override]

The documentation for this class was generated from the following file: