LLVM 20.0.0git
Public Member Functions | Protected Attributes | List of all members
llvm::DiagnosticPrinterRawOStream Class Reference

Basic diagnostic printer that uses an underlying raw_ostream. More...

#include "llvm/IR/DiagnosticPrinter.h"

Inheritance diagram for llvm::DiagnosticPrinterRawOStream:
Inheritance graph
[legend]

Public Member Functions

 DiagnosticPrinterRawOStream (raw_ostream &Stream)
 
DiagnosticPrinteroperator<< (char C) override
 
DiagnosticPrinteroperator<< (unsigned char C) override
 
DiagnosticPrinteroperator<< (signed char C) override
 
DiagnosticPrinteroperator<< (StringRef Str) override
 
DiagnosticPrinteroperator<< (const char *Str) override
 
DiagnosticPrinteroperator<< (const std::string &Str) override
 
DiagnosticPrinteroperator<< (unsigned long N) override
 
DiagnosticPrinteroperator<< (long N) override
 
DiagnosticPrinteroperator<< (unsigned long long N) override
 
DiagnosticPrinteroperator<< (long long N) override
 
DiagnosticPrinteroperator<< (const void *P) override
 
DiagnosticPrinteroperator<< (unsigned int N) override
 
DiagnosticPrinteroperator<< (int N) override
 
DiagnosticPrinteroperator<< (double N) override
 
DiagnosticPrinteroperator<< (const Twine &Str) override
 
DiagnosticPrinteroperator<< (const Value &V) override
 
DiagnosticPrinteroperator<< (const Module &M) override
 
DiagnosticPrinteroperator<< (const SMDiagnostic &Diag) override
 
- Public Member Functions inherited from llvm::DiagnosticPrinter
virtual ~DiagnosticPrinter ()=default
 
virtual DiagnosticPrinteroperator<< (char C)=0
 
virtual DiagnosticPrinteroperator<< (unsigned char C)=0
 
virtual DiagnosticPrinteroperator<< (signed char C)=0
 
virtual DiagnosticPrinteroperator<< (StringRef Str)=0
 
virtual DiagnosticPrinteroperator<< (const char *Str)=0
 
virtual DiagnosticPrinteroperator<< (const std::string &Str)=0
 
virtual DiagnosticPrinteroperator<< (unsigned long N)=0
 
virtual DiagnosticPrinteroperator<< (long N)=0
 
virtual DiagnosticPrinteroperator<< (unsigned long long N)=0
 
virtual DiagnosticPrinteroperator<< (long long N)=0
 
virtual DiagnosticPrinteroperator<< (const void *P)=0
 
virtual DiagnosticPrinteroperator<< (unsigned int N)=0
 
virtual DiagnosticPrinteroperator<< (int N)=0
 
virtual DiagnosticPrinteroperator<< (double N)=0
 
virtual DiagnosticPrinteroperator<< (const Twine &Str)=0
 
virtual DiagnosticPrinteroperator<< (const Value &V)=0
 
virtual DiagnosticPrinteroperator<< (const Module &M)=0
 
virtual DiagnosticPrinteroperator<< (const SMDiagnostic &Diag)=0
 

Protected Attributes

raw_ostreamStream
 

Detailed Description

Basic diagnostic printer that uses an underlying raw_ostream.

Definition at line 61 of file DiagnosticPrinter.h.

Constructor & Destructor Documentation

◆ DiagnosticPrinterRawOStream()

llvm::DiagnosticPrinterRawOStream::DiagnosticPrinterRawOStream ( raw_ostream Stream)
inline

Definition at line 66 of file DiagnosticPrinter.h.

Member Function Documentation

◆ operator<<() [1/18]

DiagnosticPrinter & DiagnosticPrinterRawOStream::operator<< ( char  C)
overridevirtual

Implements llvm::DiagnosticPrinter.

Definition at line 22 of file DiagnosticPrinter.cpp.

References llvm::CallingConv::C, and Stream.

◆ operator<<() [2/18]

DiagnosticPrinter & DiagnosticPrinterRawOStream::operator<< ( const char Str)
overridevirtual

Implements llvm::DiagnosticPrinter.

Definition at line 42 of file DiagnosticPrinter.cpp.

References Stream.

◆ operator<<() [3/18]

DiagnosticPrinter & DiagnosticPrinterRawOStream::operator<< ( const Module M)
overridevirtual

Implements llvm::DiagnosticPrinter.

Definition at line 109 of file DiagnosticPrinter.cpp.

References Stream.

◆ operator<<() [4/18]

DiagnosticPrinter & DiagnosticPrinterRawOStream::operator<< ( const SMDiagnostic Diag)
overridevirtual

Implements llvm::DiagnosticPrinter.

Definition at line 115 of file DiagnosticPrinter.cpp.

References llvm::SMDiagnostic::print(), and Stream.

◆ operator<<() [5/18]

DiagnosticPrinter & DiagnosticPrinterRawOStream::operator<< ( const std::string &  Str)
overridevirtual

Implements llvm::DiagnosticPrinter.

Definition at line 47 of file DiagnosticPrinter.cpp.

References Stream.

◆ operator<<() [6/18]

DiagnosticPrinter & DiagnosticPrinterRawOStream::operator<< ( const Twine Str)
overridevirtual

Implements llvm::DiagnosticPrinter.

Definition at line 93 of file DiagnosticPrinter.cpp.

References Stream.

◆ operator<<() [7/18]

DiagnosticPrinter & DiagnosticPrinterRawOStream::operator<< ( const Value V)
overridevirtual

Implements llvm::DiagnosticPrinter.

Definition at line 99 of file DiagnosticPrinter.cpp.

References Stream.

◆ operator<<() [8/18]

DiagnosticPrinter & DiagnosticPrinterRawOStream::operator<< ( const void *  P)
overridevirtual

Implements llvm::DiagnosticPrinter.

Definition at line 73 of file DiagnosticPrinter.cpp.

References P, and Stream.

◆ operator<<() [9/18]

DiagnosticPrinter & DiagnosticPrinterRawOStream::operator<< ( double  N)
overridevirtual

Implements llvm::DiagnosticPrinter.

Definition at line 88 of file DiagnosticPrinter.cpp.

References N, and Stream.

◆ operator<<() [10/18]

DiagnosticPrinter & DiagnosticPrinterRawOStream::operator<< ( int  N)
overridevirtual

Implements llvm::DiagnosticPrinter.

Definition at line 83 of file DiagnosticPrinter.cpp.

References N, and Stream.

◆ operator<<() [11/18]

DiagnosticPrinter & DiagnosticPrinterRawOStream::operator<< ( long long  N)
overridevirtual

Implements llvm::DiagnosticPrinter.

Definition at line 68 of file DiagnosticPrinter.cpp.

References N, and Stream.

◆ operator<<() [12/18]

DiagnosticPrinter & DiagnosticPrinterRawOStream::operator<< ( long  N)
overridevirtual

Implements llvm::DiagnosticPrinter.

Definition at line 57 of file DiagnosticPrinter.cpp.

References N, and Stream.

◆ operator<<() [13/18]

DiagnosticPrinter & DiagnosticPrinterRawOStream::operator<< ( signed char  C)
overridevirtual

Implements llvm::DiagnosticPrinter.

Definition at line 32 of file DiagnosticPrinter.cpp.

References llvm::CallingConv::C, and Stream.

◆ operator<<() [14/18]

DiagnosticPrinter & DiagnosticPrinterRawOStream::operator<< ( StringRef  Str)
overridevirtual

Implements llvm::DiagnosticPrinter.

Definition at line 37 of file DiagnosticPrinter.cpp.

References Stream.

◆ operator<<() [15/18]

DiagnosticPrinter & DiagnosticPrinterRawOStream::operator<< ( unsigned char  C)
overridevirtual

Implements llvm::DiagnosticPrinter.

Definition at line 27 of file DiagnosticPrinter.cpp.

References llvm::CallingConv::C, and Stream.

◆ operator<<() [16/18]

DiagnosticPrinter & DiagnosticPrinterRawOStream::operator<< ( unsigned int  N)
overridevirtual

Implements llvm::DiagnosticPrinter.

Definition at line 78 of file DiagnosticPrinter.cpp.

References N, and Stream.

◆ operator<<() [17/18]

DiagnosticPrinter & DiagnosticPrinterRawOStream::operator<< ( unsigned long long  N)
overridevirtual

Implements llvm::DiagnosticPrinter.

Definition at line 62 of file DiagnosticPrinter.cpp.

References N, and Stream.

◆ operator<<() [18/18]

DiagnosticPrinter & DiagnosticPrinterRawOStream::operator<< ( unsigned long  N)
overridevirtual

Implements llvm::DiagnosticPrinter.

Definition at line 53 of file DiagnosticPrinter.cpp.

References N, and Stream.

Member Data Documentation

◆ Stream

raw_ostream& llvm::DiagnosticPrinterRawOStream::Stream
protected

Definition at line 63 of file DiagnosticPrinter.h.

Referenced by operator<<().


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