clang API Documentation

Classes | Namespaces | Typedefs | Functions
PartialDiagnostic.h File Reference

Implements a partial diagnostic that can be emitted anwyhere in a DiagnosticBuilder stream. More...

#include "clang/Basic/Diagnostic.h"
#include "clang/Basic/SourceLocation.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/Support/Compiler.h"
#include "llvm/Support/DataTypes.h"
#include <cassert>
Include dependency graph for PartialDiagnostic.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  clang::PartialDiagnostic
struct  clang::PartialDiagnostic::Storage
class  clang::PartialDiagnostic::StorageAllocator
 An allocator for Storage objects, which uses a small cache to objects, used to reduce malloc()/free() traffic for partial diagnostics. More...
struct  clang::PartialDiagnostic::NullDiagnostic

Namespaces

namespace  clang

Typedefs

typedef std::pair
< SourceLocation,
PartialDiagnostic > 
clang::PartialDiagnosticAt
 A partial diagnostic along with the source location where this diagnostic occurs.

Functions

const DiagnosticBuilder & clang::operator<< (const DiagnosticBuilder &DB, const PartialDiagnostic &PD)

Detailed Description

Implements a partial diagnostic that can be emitted anwyhere in a DiagnosticBuilder stream.

Definition in file PartialDiagnostic.h.