clang API Documentation

Public Member Functions
clang::PrettyDeclStackTraceEntry Class Reference

#include <PrettyDeclStackTrace.h>

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

List of all members.

Public Member Functions

 PrettyDeclStackTraceEntry (Sema &S, Decl *D, SourceLocation Loc, const char *Msg)
void print (raw_ostream &OS) const override

Detailed Description

PrettyDeclStackTraceEntry - If a crash occurs in the parser while parsing something related to a declaration, include that declaration in the stack trace.

Definition at line 31 of file PrettyDeclStackTrace.h.


Constructor & Destructor Documentation

clang::PrettyDeclStackTraceEntry::PrettyDeclStackTraceEntry ( Sema S,
Decl D,
SourceLocation  Loc,
const char *  Msg 
) [inline]

Definition at line 38 of file PrettyDeclStackTrace.h.


Member Function Documentation

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

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