class VLADiagnoser

Declaration

class VLADiagnoser : public VerifyICEDiagnoser { /* full declaration omitted */ };

Description

Abstract base class used for diagnosing integer constant expression violations.

Declared at: clang/lib/Sema/SemaType.cpp:2349

Inherits from: Sema::VerifyICEDiagnoser

Member Variables

public unsigned int VLADiag
public bool VLAIsError
public bool IsVLA = false

Inherited from Sema::VerifyICEDiagnoser:

public Suppress

Method Overview

  • public VLADiagnoser(unsigned int VLADiag, bool VLAIsError)
  • public Sema::SemaDiagnosticBuilder diagnoseFold(clang::Sema & S, clang::SourceLocation Loc)
  • public Sema::SemaDiagnosticBuilder diagnoseNotICE(clang::Sema & S, clang::SourceLocation Loc)
  • public Sema::SemaDiagnosticBuilder diagnoseNotICEType(clang::Sema & S, clang::SourceLocation Loc, clang::QualType T)

Inherited from Sema::VerifyICEDiagnoser:

Methods

VLADiagnoser(unsigned int VLADiag,
             bool VLAIsError)

Declared at: clang/lib/Sema/SemaType.cpp:2355

Parameters

unsigned int VLADiag
bool VLAIsError

Sema::SemaDiagnosticBuilder diagnoseFold(
    clang::Sema& S,
    clang::SourceLocation Loc)

Declared at: clang/lib/Sema/SemaType.cpp:2369

Parameters

clang::Sema& S
clang::SourceLocation Loc

Sema::SemaDiagnosticBuilder diagnoseNotICE(
    clang::Sema& S,
    clang::SourceLocation Loc)

Declared at: clang/lib/Sema/SemaType.cpp:2363

Parameters

clang::Sema& S
clang::SourceLocation Loc

Sema::SemaDiagnosticBuilder diagnoseNotICEType(
    clang::Sema& S,
    clang::SourceLocation Loc,
    clang::QualType T)

Declared at: clang/lib/Sema/SemaType.cpp:2358

Parameters

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