LLVM  8.0.1
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]
Collaboration diagram for llvm::DiagnosticPrinterRawOStream:
Collaboration 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
 

Protected Attributes

raw_ostreamStream
 

Detailed Description

Basic diagnostic printer that uses an underlying raw_ostream.

Definition at line 62 of file DiagnosticPrinter.h.

Constructor & Destructor Documentation

◆ DiagnosticPrinterRawOStream()

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

Definition at line 67 of file DiagnosticPrinter.h.

References C, N, llvm::DiagnosticPrinter::operator<<(), and P.

Member Function Documentation

◆ operator<<() [1/18]

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

Implements llvm::DiagnosticPrinter.

Definition at line 23 of file DiagnosticPrinter.cpp.

References C, and Stream.

Referenced by operator<<().

◆ operator<<() [2/18]

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

Implements llvm::DiagnosticPrinter.

Definition at line 28 of file DiagnosticPrinter.cpp.

References C, and Stream.

◆ operator<<() [3/18]

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

Implements llvm::DiagnosticPrinter.

Definition at line 33 of file DiagnosticPrinter.cpp.

References C, and Stream.

◆ operator<<() [4/18]

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

Implements llvm::DiagnosticPrinter.

Definition at line 38 of file DiagnosticPrinter.cpp.

References Stream.

◆ operator<<() [5/18]

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

Implements llvm::DiagnosticPrinter.

Definition at line 43 of file DiagnosticPrinter.cpp.

References Stream.

◆ operator<<() [6/18]

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

Implements llvm::DiagnosticPrinter.

Definition at line 48 of file DiagnosticPrinter.cpp.

References Stream.

◆ operator<<() [7/18]

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

Implements llvm::DiagnosticPrinter.

Definition at line 54 of file DiagnosticPrinter.cpp.

References N, and Stream.

◆ operator<<() [8/18]

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

Implements llvm::DiagnosticPrinter.

Definition at line 58 of file DiagnosticPrinter.cpp.

References N, and Stream.

◆ operator<<() [9/18]

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

Implements llvm::DiagnosticPrinter.

Definition at line 63 of file DiagnosticPrinter.cpp.

References N, and Stream.

◆ operator<<() [10/18]

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

Implements llvm::DiagnosticPrinter.

Definition at line 69 of file DiagnosticPrinter.cpp.

References N, and Stream.

◆ operator<<() [11/18]

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

Implements llvm::DiagnosticPrinter.

Definition at line 74 of file DiagnosticPrinter.cpp.

References P, and Stream.

◆ operator<<() [12/18]

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

Implements llvm::DiagnosticPrinter.

Definition at line 79 of file DiagnosticPrinter.cpp.

References N, and Stream.

◆ operator<<() [13/18]

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

Implements llvm::DiagnosticPrinter.

Definition at line 84 of file DiagnosticPrinter.cpp.

References N, and Stream.

◆ operator<<() [14/18]

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

Implements llvm::DiagnosticPrinter.

Definition at line 89 of file DiagnosticPrinter.cpp.

References N, and Stream.

◆ operator<<() [15/18]

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

Implements llvm::DiagnosticPrinter.

Definition at line 94 of file DiagnosticPrinter.cpp.

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

◆ operator<<() [16/18]

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

Implements llvm::DiagnosticPrinter.

Definition at line 100 of file DiagnosticPrinter.cpp.

References llvm::Value::getName(), and Stream.

◆ operator<<() [17/18]

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

◆ operator<<() [18/18]

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

Implements llvm::DiagnosticPrinter.

Definition at line 112 of file DiagnosticPrinter.cpp.

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

Member Data Documentation

◆ Stream

raw_ostream& llvm::DiagnosticPrinterRawOStream::Stream
protected

Definition at line 64 of file DiagnosticPrinter.h.

Referenced by operator<<().


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