clang 20.0.0git
Public Member Functions | List of all members
clang::OptionalDiagnostic Class Reference

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

#include "clang/AST/OptionalDiagnostic.h"

Public Member Functions

 OptionalDiagnostic (PartialDiagnostic *Diag=nullptr)
 
template<typename T >
OptionalDiagnosticoperator<< (const T &v)
 
OptionalDiagnosticoperator<< (const llvm::APSInt &I)
 
OptionalDiagnosticoperator<< (const llvm::APFloat &F)
 
OptionalDiagnosticoperator<< (const llvm::APFixedPoint &FX)
 

Detailed Description

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

Definition at line 28 of file OptionalDiagnostic.h.

Constructor & Destructor Documentation

◆ OptionalDiagnostic()

clang::OptionalDiagnostic::OptionalDiagnostic ( PartialDiagnostic Diag = nullptr)
inlineexplicit

Definition at line 32 of file OptionalDiagnostic.h.

Member Function Documentation

◆ operator<<() [1/4]

OptionalDiagnostic & clang::OptionalDiagnostic::operator<< ( const llvm::APFixedPoint &  FX)
inline

Definition at line 66 of file OptionalDiagnostic.h.

◆ operator<<() [2/4]

OptionalDiagnostic & clang::OptionalDiagnostic::operator<< ( const llvm::APFloat &  F)
inline

Definition at line 49 of file OptionalDiagnostic.h.

◆ operator<<() [3/4]

OptionalDiagnostic & clang::OptionalDiagnostic::operator<< ( const llvm::APSInt &  I)
inline

Definition at line 40 of file OptionalDiagnostic.h.

◆ operator<<() [4/4]

template<typename T >
OptionalDiagnostic & clang::OptionalDiagnostic::operator<< ( const T v)
inline

Definition at line 34 of file OptionalDiagnostic.h.

References v.


The documentation for this class was generated from the following file: