clang API Documentation
#include <DeclBase.h>


Public Member Functions | |
| PrettyStackTraceDecl (const Decl *theDecl, SourceLocation L, SourceManager &sm, const char *Msg) | |
| void | print (raw_ostream &OS) const override |
PrettyStackTraceDecl - If a crash occurs, indicate that it happened when doing something to a specific decl.
Definition at line 995 of file DeclBase.h.
| clang::PrettyStackTraceDecl::PrettyStackTraceDecl | ( | const Decl * | theDecl, |
| SourceLocation | L, | ||
| SourceManager & | sm, | ||
| const char * | Msg | ||
| ) | [inline] |
Definition at line 1001 of file DeclBase.h.
| void PrettyStackTraceDecl::print | ( | raw_ostream & | OS | ) | const [override] |
Definition at line 189 of file DeclBase.cpp.
References clang::Decl::getLocation(), clang::SourceLocation::isInvalid(), clang::SourceLocation::isValid(), and clang::SourceLocation::print().