clang: include/clang/Basic/PrettyStackTrace.h Source File (original) (raw)
Go to the documentation of this file.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16#ifndef LLVM_CLANG_BASIC_PRETTYSTACKTRACE_H
17#define LLVM_CLANG_BASIC_PRETTYSTACKTRACE_H
18
20#include "llvm/Support/PrettyStackTrace.h"
21
23
24
25
29 const char *Message;
30 public:
32 : SM(sm), Loc(L), Message(Msg) {}
33 void print(raw_ostream &OS) const override;
34 };
35}
36
37#endif
Defines the clang::SourceLocation class and associated facilities.
If a crash happens while one of these objects are live, the message is printed out along with the spe...
void print(raw_ostream &OS) const override
PrettyStackTraceLoc(SourceManager &sm, SourceLocation L, const char *Msg)
Encodes a location in the source.
This class handles loading and caching of source files into memory.
The JSON file list parser is used to communicate input to InstallAPI.