|
clang
5.0.0
|
Represents a diagnostic in a form that can be retained until its corresponding source manager is destroyed. More...
#include "clang/Basic/Diagnostic.h"
Public Types | |
| typedef std::vector < CharSourceRange > ::const_iterator | range_iterator |
| typedef std::vector< FixItHint > ::const_iterator | fixit_iterator |
Public Member Functions | |
| StoredDiagnostic ()=default | |
| StoredDiagnostic (DiagnosticsEngine::Level Level, const Diagnostic &Info) | |
| StoredDiagnostic (DiagnosticsEngine::Level Level, unsigned ID, StringRef Message) | |
| StoredDiagnostic (DiagnosticsEngine::Level Level, unsigned ID, StringRef Message, FullSourceLoc Loc, ArrayRef< CharSourceRange > Ranges, ArrayRef< FixItHint > Fixits) | |
| operator bool () const | |
| Evaluates true when this object stores a diagnostic. More... | |
| unsigned | getID () const |
| DiagnosticsEngine::Level | getLevel () const |
| const FullSourceLoc & | getLocation () const |
| StringRef | getMessage () const |
| void | setLocation (FullSourceLoc Loc) |
| range_iterator | range_begin () const |
| range_iterator | range_end () const |
| unsigned | range_size () const |
| ArrayRef< CharSourceRange > | getRanges () const |
| fixit_iterator | fixit_begin () const |
| fixit_iterator | fixit_end () const |
| unsigned | fixit_size () const |
| ArrayRef< FixItHint > | getFixIts () const |
Represents a diagnostic in a form that can be retained until its corresponding source manager is destroyed.
Definition at line 1346 of file Diagnostic.h.
| typedef std::vector<FixItHint>::const_iterator clang::StoredDiagnostic::fixit_iterator |
Definition at line 1383 of file Diagnostic.h.
| typedef std::vector<CharSourceRange>::const_iterator clang::StoredDiagnostic::range_iterator |
Definition at line 1374 of file Diagnostic.h.
|
default |
| StoredDiagnostic::StoredDiagnostic | ( | DiagnosticsEngine::Level | Level, |
| const Diagnostic & | Info | ||
| ) |
Definition at line 991 of file Diagnostic.cpp.
References clang::Diagnostic::FormatDiagnostic(), clang::Diagnostic::getFixItHints(), clang::Diagnostic::getLocation(), clang::Diagnostic::getRanges(), clang::Diagnostic::getSourceManager(), clang::Diagnostic::hasSourceManager(), clang::SourceLocation::isInvalid(), and clang::SourceLocation::isValid().
| StoredDiagnostic::StoredDiagnostic | ( | DiagnosticsEngine::Level | Level, |
| unsigned | ID, | ||
| StringRef | Message | ||
| ) |
Definition at line 987 of file Diagnostic.cpp.
| StoredDiagnostic::StoredDiagnostic | ( | DiagnosticsEngine::Level | Level, |
| unsigned | ID, | ||
| StringRef | Message, | ||
| FullSourceLoc | Loc, | ||
| ArrayRef< CharSourceRange > | Ranges, | ||
| ArrayRef< FixItHint > | Fixits | ||
| ) |
Definition at line 1006 of file Diagnostic.cpp.
|
inline |
Definition at line 1384 of file Diagnostic.h.
Referenced by clang::DiagnosticsEngine::Report().
|
inline |
Definition at line 1385 of file Diagnostic.h.
Referenced by clang::DiagnosticsEngine::Report().
|
inline |
Definition at line 1386 of file Diagnostic.h.
Definition at line 1388 of file Diagnostic.h.
Referenced by clang::DiagnosticRenderer::emitStoredDiagnostic(), and makeStandaloneDiagnostic().
|
inline |
Definition at line 1367 of file Diagnostic.h.
Referenced by makeStandaloneDiagnostic(), clang::DiagnosticsEngine::Report(), and clang::arcmt::writeARCDiagsToPlist().
|
inline |
Definition at line 1368 of file Diagnostic.h.
Referenced by clang::DiagnosticRenderer::emitStoredDiagnostic(), makeStandaloneDiagnostic(), clang::DiagnosticsEngine::Report(), and clang::arcmt::writeARCDiagsToPlist().
|
inline |
Definition at line 1369 of file Diagnostic.h.
Referenced by clang::DiagnosticRenderer::emitStoredDiagnostic(), isNonDriverDiag(), makeStandaloneDiagnostic(), clang::DiagnosticsEngine::Report(), and clang::arcmt::writeARCDiagsToPlist().
|
inline |
Definition at line 1370 of file Diagnostic.h.
Referenced by clang::DiagnosticRenderer::emitStoredDiagnostic(), makeStandaloneDiagnostic(), clang::DiagnosticsEngine::Report(), and clang::arcmt::writeARCDiagsToPlist().
|
inline |
Definition at line 1379 of file Diagnostic.h.
Referenced by clang::DiagnosticRenderer::emitStoredDiagnostic(), makeStandaloneDiagnostic(), and clang::arcmt::writeARCDiagsToPlist().
|
inlineexplicit |
Evaluates true when this object stores a diagnostic.
Definition at line 1365 of file Diagnostic.h.
|
inline |
Definition at line 1375 of file Diagnostic.h.
Referenced by clang::DiagnosticsEngine::Report(), and clang::arcmt::writeARCDiagsToPlist().
|
inline |
Definition at line 1376 of file Diagnostic.h.
Referenced by clang::DiagnosticsEngine::Report(), and clang::arcmt::writeARCDiagsToPlist().
|
inline |
Definition at line 1377 of file Diagnostic.h.
|
inline |
Definition at line 1372 of file Diagnostic.h.
1.8.6