class OptionalDiagnostic

Declaration

class OptionalDiagnostic { /* full declaration omitted */ };

Description

A partial diagnostic which we might know in advance that we are not going to emit.

Declared at: clang/include/clang/AST/OptionalDiagnostic.h:28

Member Variables

private clang::PartialDiagnostic* Diag

Method Overview

Methods

ΒΆOptionalDiagnostic(
    clang::PartialDiagnostic* Diag = nullptr)

Declared at: clang/include/clang/AST/OptionalDiagnostic.h:32

Parameters

clang::PartialDiagnostic* Diag = nullptr