|
clang 23.0.0git
|
Defines the Diagnostic-related interfaces. More...
#include "clang/Basic/DiagnosticIDs.h"#include "clang/Basic/DiagnosticOptions.h"#include "clang/Basic/SourceLocation.h"#include "clang/Basic/Specifiers.h"#include "clang/Basic/UnsignedOrNone.h"#include "llvm/ADT/ArrayRef.h"#include "llvm/ADT/DenseMap.h"#include "llvm/ADT/FunctionExtras.h"#include "llvm/ADT/IntrusiveRefCntPtr.h"#include "llvm/ADT/SmallString.h"#include "llvm/ADT/SmallVector.h"#include "llvm/ADT/StringExtras.h"#include "llvm/ADT/iterator_range.h"#include "llvm/Support/Compiler.h"#include <cassert>#include <cstdint>#include <limits>#include <list>#include <map>#include <memory>#include <optional>#include <string>#include <string_view>#include <type_traits>#include <utility>#include <vector>Go to the source code of this file.
Classes | |
| class | clang::FixItHint |
| Annotates a diagnostic with some code that should be inserted, removed, or replaced to fix the problem. More... | |
| struct | clang::DiagnosticStorage |
| class | clang::DiagStorageAllocator |
| An allocator for DiagnosticStorage objects, which uses a small cache to objects, used to reduce malloc()/free() traffic for partial diagnostics. More... | |
| class | clang::DiagnosticsEngine |
| Concrete class used by the front-end to report problems and issues. More... | |
| class | clang::DiagnosticErrorTrap |
| RAII class that determines when any errors have occurred between the time the instance was created and the time it was queried. More... | |
| class | clang::StreamingDiagnostic |
| The streaming interface shared between DiagnosticBuilder and PartialDiagnostic. More... | |
| class | clang::DiagnosticBuilder |
| A little helper class used to produce diagnostics. More... | |
| struct | clang::AddFlagValue |
| class | clang::Diagnostic |
| A little helper class (which is basically a smart pointer that forwards info from DiagnosticsEngine and DiagnosticStorage) that allows clients to enquire about the diagnostic. More... | |
| class | clang::StoredDiagnostic |
| Represents a diagnostic in a form that can be retained until its corresponding source manager is destroyed. More... | |
| class | clang::DiagnosticConsumer |
| Abstract interface, implemented by clients of the front-end, which formats and prints fully processed diagnostics. More... | |
| class | clang::IgnoringDiagConsumer |
| A diagnostic client that ignores all diagnostics. More... | |
| class | clang::ForwardingDiagnosticConsumer |
| Diagnostic consumer that forwards diagnostics along to an existing, already-initialized diagnostic consumer. More... | |
| struct | clang::TemplateDiffTypes |
Namespaces | |
| namespace | llvm |
| Diagnostic wrappers for TextAPI types for error reporting. | |
| namespace | llvm::vfs |
| namespace | clang |
| The JSON file list parser is used to communicate input to InstallAPI. | |
| namespace | clang::tok |
Typedefs | |
| using | clang::DiagNullabilityKind = std::pair<NullabilityKind, bool> |
| A nullability kind paired with a bit indicating whether it used a context-sensitive keyword. | |
Variables | |
| const char | clang::ToggleHighlight = 127 |
| Special character that the diagnostic printer will use to toggle the bold attribute. | |
Defines the Diagnostic-related interfaces.
Definition in file Diagnostic.h.