clang  3.7.0
Classes | Namespaces | Typedefs | Functions | Variables
Diagnostic.h File Reference

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 "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/IntrusiveRefCntPtr.h"
#include "llvm/ADT/iterator_range.h"
#include <list>
#include <vector>
Include dependency graph for Diagnostic.h:
This graph shows which files directly or indirectly include this file:

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...
 
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::DiagnosticBuilder
 A little helper class used to produce diagnostics. More...
 
struct  clang::AddFlagValue
 
class  clang::Diagnostic
 
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

 clang
 
 clang::tok
 

Typedefs

typedef std::pair
< NullabilityKind, bool
clang::DiagNullabilityKind
 

Functions

const DiagnosticBuilder & clang::operator<< (const DiagnosticBuilder &DB, const AddFlagValue V)
 Register a value for the flag in the current diagnostic. This value will be shown as the suffix "=value" after the flag name. It is useful in cases where the diagnostic flag accepts values (e.g., -Rpass or -Wframe-larger-than). More...
 
const DiagnosticBuilder & clang::operator<< (const DiagnosticBuilder &DB, StringRef S)
 
const DiagnosticBuilder & clang::operator<< (const DiagnosticBuilder &DB, const char *Str)
 
const DiagnosticBuilder & clang::operator<< (const DiagnosticBuilder &DB, int I)
 
template<typename T >
std::enable_if< std::is_same
< T, bool >::value, const
DiagnosticBuilder & >::type 
clang::operator<< (const DiagnosticBuilder &DB, T I)
 
const DiagnosticBuilder & clang::operator<< (const DiagnosticBuilder &DB, unsigned I)
 
const DiagnosticBuilder & clang::operator<< (const DiagnosticBuilder &DB, tok::TokenKind I)
 
const DiagnosticBuilder & clang::operator<< (const DiagnosticBuilder &DB, const IdentifierInfo *II)
 
template<typename T >
std::enable_if< std::is_same
< T, DeclContext >::value,
const DiagnosticBuilder & >
::type 
clang::operator<< (const DiagnosticBuilder &DB, T *DC)
 
const DiagnosticBuilder & clang::operator<< (const DiagnosticBuilder &DB, const SourceRange &R)
 
const DiagnosticBuilder & clang::operator<< (const DiagnosticBuilder &DB, ArrayRef< SourceRange > Ranges)
 
const DiagnosticBuilder & clang::operator<< (const DiagnosticBuilder &DB, const CharSourceRange &R)
 
const DiagnosticBuilder & clang::operator<< (const DiagnosticBuilder &DB, const FixItHint &Hint)
 
const DiagnosticBuilder & clang::operator<< (const DiagnosticBuilder &DB, ArrayRef< FixItHint > Hints)
 
const DiagnosticBuilderclang::operator<< (const DiagnosticBuilder &DB, DiagNullabilityKind nullability)
 
void clang::ProcessWarningOptions (DiagnosticsEngine &Diags, const DiagnosticOptions &Opts, bool ReportDiags=true)
 

Variables

const char clang::ToggleHighlight = 127
 

Detailed Description

Defines the Diagnostic-related interfaces.

Definition in file Diagnostic.h.