clang 8.0.0

Classes | Namespaces
DelayedDiagnostic.h File Reference

Defines the classes clang::DelayedDiagnostic and clang::AccessedEntity. More...

`#include "clang/AST/DeclAccessPair.h"`
`#include "clang/AST/DeclBase.h"`
`#include "clang/AST/DeclCXX.h"`
`#include "clang/AST/Type.h"`
`#include "clang/Basic/LLVM.h"`
`#include "clang/Basic/PartialDiagnostic.h"`
`#include "clang/Basic/SourceLocation.h"`
`#include "clang/Basic/Specifiers.h"`
`#include "clang/Sema/Sema.h"`
`#include "llvm/ADT/ArrayRef.h"`
`#include "llvm/ADT/SmallVector.h"`
`#include "llvm/ADT/StringRef.h"`
`#include "llvm/Support/Casting.h"`
`#include <cassert>`
`#include <cstddef>`
`#include <utility>`
Include dependency graph for DelayedDiagnostic.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Classes
class | clang::sema::AccessedEntity
| A declaration being accessed, together with information about how it was accessed. More...
class | clang::sema::DelayedDiagnostic
| A diagnostic message which has been conditionally emitted pending the complete parsing of the current declaration. More...
class | clang::sema::DelayedDiagnosticPool
| A collection of diagnostics which were delayed. More...

## Namespaces
| clang
| Dataflow Directional Tag Classes.
| clang::sema

## Detailed Description

Defines the classes clang::DelayedDiagnostic and clang::AccessedEntity.

DelayedDiangostic is used to record diagnostics that are being conditionally produced during declarator parsing. Certain kinds of diagnostics – notably deprecation and access control – are suppressed based on semantic properties of the parsed declaration that aren't known until it is fully parsed.

Definition in file DelayedDiagnostic.h.