A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://clang.llvm.org/doxygen/SemaBase_8h_source.html below:

clang: include/clang/Sema/SemaBase.h Source File

14#ifndef LLVM_CLANG_SEMA_SEMABASE_H 15#define LLVM_CLANG_SEMA_SEMABASE_H 23#include "llvm/ADT/DenseMap.h" 32class

DiagnosticsEngine;

76 template

<

typename

T>

87 template

<

typename T

,

88 typename

= std::enable_if_t<!std::is_lvalue_reference<T>::value>>

91

BaseDiag << std::move(

V

);

153 template

<

typename

T>

156 if

(

Diag

.ImmediateDiag)

158 else if

(

Diag

.PartialDiagId)

159 Diag

.getDeviceDeferredDiags()[

Diag

.Fn][*

Diag

.PartialDiagId].second

167 template

<

typename T

,

168 typename

= std::enable_if_t<!std::is_lvalue_reference<T>::value>>

171

*ImmediateDiag << std::move(

V

);

172 else if

(PartialDiagId)

173

getDeviceDeferredDiags()[Fn][*PartialDiagId].second << std::move(

V

);

195

llvm::DenseMap<CanonicalDeclPtr<const FunctionDecl>,

196

std::vector<PartialDiagnosticAt>>;

207

std::optional<ImmediateDiagBuilder> ImmediateDiag;

208

std::optional<unsigned> PartialDiagId;

215 bool

DeferHint =

false

);

219 bool

DeferHint =

false

);

Defines the Diagnostic-related interfaces.

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

Defines the clang::SourceLocation class and associated facilities.

Holds long-lived AST nodes (such as types and decls) that can be referred to throughout the semantic ...

A little helper class used to produce diagnostics.

Concrete class used by the front-end to report problems and issues.

Annotates a diagnostic with some code that should be inserted, removed, or replaced to fix the proble...

Represents a function declaration or definition.

Keeps track of the various options that can be enabled, which controls the dialect of C or C++ that i...

A generic diagnostic builder for errors which may or may not be deferred.

SemaDiagnosticBuilder(const SemaDiagnosticBuilder &)=default

@ K_Deferred

Create a deferred diagnostic, which is emitted only if the function it's attached to is codegen'ed.

@ K_ImmediateWithCallStack

Emit the diagnostic immediately, and, if it's a warning or error, also emit a call stack showing how ...

@ K_Nop

Emit no diagnostics.

@ K_Immediate

Emit the diagnostic immediately (i.e., behave like Sema::Diag()).

void AddFixItHint(const FixItHint &Hint) const

friend const SemaDiagnosticBuilder & operator<<(const SemaDiagnosticBuilder &Diag, const T &Value)

SemaDiagnosticBuilder(Kind K, SourceLocation Loc, unsigned DiagID, const FunctionDecl *Fn, Sema &S)

friend StmtResult StmtError(const SemaDiagnosticBuilder &)

llvm::DenseMap< CanonicalDeclPtr< const FunctionDecl >, std::vector< PartialDiagnosticAt > > DeferredDiagnosticsType

const SemaDiagnosticBuilder & operator<<(T &&V) const

SemaDiagnosticBuilder & operator=(const SemaDiagnosticBuilder &)=delete

friend ExprResult ExprError(const SemaDiagnosticBuilder &)

SemaDiagnosticBuilder & operator=(SemaDiagnosticBuilder &&)=delete

SemaDiagnosticBuilder(SemaDiagnosticBuilder &&D)

SemaDiagnosticBuilder Diag(SourceLocation Loc, unsigned DiagID, bool DeferHint=false)

Emit a diagnostic.

PartialDiagnostic PDiag(unsigned DiagID=0)

Build a partial diagnostic.

ASTContext & getASTContext() const

const LangOptions & getLangOpts() const

DiagnosticsEngine & getDiagnostics() const

Sema - This implements semantic analysis and AST building for C.

Encodes a location in the source.

The JSON file list parser is used to communicate input to InstallAPI.

ActionResult< CXXCtorInitializer * > MemInitResult

ActionResult< Expr * > ExprResult

ActionResult< Stmt * > StmtResult

ActionResult< ParsedType > TypeResult

const FunctionProtoType * T

ActionResult< Decl * > DeclResult


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4