clang API Documentation

Public Member Functions
clang::PrettyStackTraceLoc Class Reference

#include <PrettyStackTrace.h>

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

List of all members.

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

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

Definition at line 32 of file PrettyStackTrace.h.


Member Function Documentation

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

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