clang 20.0.0git
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 "/home/buildbot/as-worker-4/publish-doxygen-docs/llvm-project/clang/lib/StaticAnalyzer/Core/PrettyStackTraceLocationContext.h"

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

Public Member Functions

 PrettyStackTraceLocationContext (const LocationContext *LC)
 
void print (raw_ostream &Out) 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 28 of file PrettyStackTraceLocationContext.h.

Constructor & Destructor Documentation

◆ PrettyStackTraceLocationContext()

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

Definition at line 31 of file PrettyStackTraceLocationContext.h.

Member Function Documentation

◆ print()

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

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