clang  6.0.0svn
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]
Collaboration diagram for clang::PrettyStackTraceLoc:
Collaboration 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 27 of file PrettyStackTrace.h.

Constructor & Destructor Documentation

◆ PrettyStackTraceLoc()

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

Definition at line 32 of file PrettyStackTrace.h.

References print().

Member Function Documentation

◆ print()

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

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