LLDB mainline
|
A source location consisting of a file name and position. More...
#include <DiagnosticsRendering.h>
Public Attributes | |
FileSpec | file |
"<user expression 0>" in the example above. | |
unsigned | line = 0 |
1 in the example above. | |
uint16_t | column = 0 |
5 in the example above. | |
uint16_t | length = 0 |
3 in the example above. | |
bool | hidden = false |
Whether this source location should be surfaced to the user. | |
bool | in_user_input = false |
Whether this source location refers to something the user typed as part of the command, i.e., if this qualifies for inline display, or if the source line would need to be echoed again for the message to make sense. | |
A source location consisting of a file name and position.
Definition at line 30 of file DiagnosticsRendering.h.
uint16_t lldb_private::DiagnosticDetail::SourceLocation::column = 0 |
5
in the example above.
Definition at line 36 of file DiagnosticsRendering.h.
Referenced by ClangDiagnosticManagerAdapter::HandleDiagnostic().
FileSpec lldb_private::DiagnosticDetail::SourceLocation::file |
"<user expression 0>"
in the example above.
Definition at line 32 of file DiagnosticsRendering.h.
Referenced by ClangDiagnosticManagerAdapter::HandleDiagnostic().
bool lldb_private::DiagnosticDetail::SourceLocation::hidden = false |
Whether this source location should be surfaced to the user.
For example, syntax errors diagnosed in LLDB's expression wrapper code have this set to true.
Definition at line 42 of file DiagnosticsRendering.h.
Referenced by ClangDiagnosticManagerAdapter::HandleDiagnostic().
bool lldb_private::DiagnosticDetail::SourceLocation::in_user_input = false |
Whether this source location refers to something the user typed as part of the command, i.e., if this qualifies for inline display, or if the source line would need to be echoed again for the message to make sense.
Definition at line 47 of file DiagnosticsRendering.h.
Referenced by ClangDiagnosticManagerAdapter::HandleDiagnostic().
uint16_t lldb_private::DiagnosticDetail::SourceLocation::length = 0 |
3
in the example above.
Definition at line 38 of file DiagnosticsRendering.h.
Referenced by ClangDiagnosticManagerAdapter::HandleDiagnostic().
unsigned lldb_private::DiagnosticDetail::SourceLocation::line = 0 |
1
in the example above.
Definition at line 34 of file DiagnosticsRendering.h.
Referenced by ClangDiagnosticManagerAdapter::HandleDiagnostic().