clang 20.0.0git
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>

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

namespace  clang
 The JSON file list parser is used to communicate input to InstallAPI.
 
namespace  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.