class PrettyStackTraceDecl
Declaration
class PrettyStackTraceDecl : public PrettyStackTraceEntry { /* full declaration omitted */ };
Description
PrettyStackTraceDecl - If a crash occurs, indicate that it happened when doing something to a specific decl.
Declared at: clang/include/clang/AST/DeclBase.h:1241
Inherits from: PrettyStackTraceEntry
Member Variables
- private const clang::Decl* TheDecl
- private clang::SourceLocation Loc
- private clang::SourceManager& SM
- private const char* Message
Method Overview
- public PrettyStackTraceDecl(const clang::Decl * theDecl, clang::SourceLocation L, clang::SourceManager & sm, const char * Msg)
- public void print(llvm::raw_ostream & OS) const
Inherited from PrettyStackTraceEntry:
Methods
¶PrettyStackTraceDecl(const clang::Decl* theDecl,
clang::SourceLocation L,
clang::SourceManager& sm,
const char* Msg)
PrettyStackTraceDecl(const clang::Decl* theDecl,
clang::SourceLocation L,
clang::SourceManager& sm,
const char* Msg)
Declared at: clang/include/clang/AST/DeclBase.h:1248
Parameters
- const clang::Decl* theDecl
- clang::SourceLocation L
- clang::SourceManager& sm
- const char* Msg
¶void print(llvm::raw_ostream& OS) const
void print(llvm::raw_ostream& OS) const
Description
print - Emit information about this stack frame to OS.
Declared at: clang/include/clang/AST/DeclBase.h:1252