class Sema::SizelessTypeDiagnoser

Declaration

template <typename... Ts>
class Sema::SizelessTypeDiagnoser { /* full declaration omitted */ };

Description

A derivative of BoundTypeDiagnoser for which the diagnostic's type parameter is preceded by a 0/1 enum that is 1 if the type is sizeless. For example, a diagnostic with no other parameters would generally have the form "...%select{incomplete|sizeless}0 type %1...".

Declared at: clang/include/clang/Sema/Sema.h:2199

Templates

Ts

Method Overview

Methods

SizelessTypeDiagnoser<Ts...>(unsigned int DiagID,
                             const Ts&... Args)

Declared at: clang/include/clang/Sema/Sema.h:2201

Parameters

unsigned int DiagID
const Ts&... Args

void diagnose(clang::Sema& S,
              clang::SourceLocation Loc,
              clang::QualType T)

Declared at: clang/include/clang/Sema/Sema.h:2204

Parameters

clang::Sema& S
clang::SourceLocation Loc
clang::QualType T