clang  6.0.0svn
Public Member Functions | List of all members
clang::ento::PrettyStackTraceLocationContext Class Reference

While alive, includes the current analysis stack in a crash trace. More...

#include "/opt/doxygen-docs/src/llvm/tools/clang/lib/StaticAnalyzer/Core/PrettyStackTraceLocationContext.h"

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

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

◆ PrettyStackTraceLocationContext()

clang::ento::PrettyStackTraceLocationContext::PrettyStackTraceLocationContext ( const LocationContext LC)
inline

Definition at line 32 of file PrettyStackTraceLocationContext.h.

Member Function Documentation

◆ print()

void clang::ento::PrettyStackTraceLocationContext::print ( raw_ostream &  OS) const
inlineoverride

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