clang 20.0.0git
Public Member Functions | List of all members
clang::PrettyStackTraceLoc Class Reference

If a crash happens while one of these objects are live, the message is printed out along with the specified source location. More...

#include "clang/Basic/PrettyStackTrace.h"

Inheritance diagram for clang::PrettyStackTraceLoc:
Inheritance graph
[legend]

Public Member Functions

 PrettyStackTraceLoc (SourceManager &sm, SourceLocation L, const char *Msg)
 
void print (raw_ostream &OS) const override
 

Detailed Description

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 26 of file PrettyStackTrace.h.

Constructor & Destructor Documentation

◆ PrettyStackTraceLoc()

clang::PrettyStackTraceLoc::PrettyStackTraceLoc ( SourceManager sm,
SourceLocation  L,
const char *  Msg 
)
inline

Definition at line 31 of file PrettyStackTrace.h.

References Loc, and SM.

Member Function Documentation

◆ print()

void PrettyStackTraceLoc::print ( raw_ostream &  OS) const
override

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