llvm::raw_ostream::operator<<

Left shift operators

Synopses

Declared in <llvm/Support/raw_ostream.h>

Write long long N to the stream.

raw_ostream&
operator<<(long long N);
» more...

Write formatted bytes to the stream.

raw_ostream&
operator<<(FormattedBytes const& FB);
» more...

Write a formatv object to the stream.

raw_ostream&
operator<<(formatv_object_base const& Obj);
» more...

Write a formatted number to the stream.

raw_ostream&
operator<<(FormattedNumber const& FN);
» more...

Write a FormattedString with width and justification applied.

raw_ostream&
operator<<(FormattedString const& FS);
» more...

Write output produced by snprintf-style callback Snprint.

raw_ostream&
operator<<(function_ref<int(char*, size_t)> Snprint);
» more...

Change the foreground color of text.

raw_ostream&
operator<<(Colors C);
» more...

Write floating-point value N to the stream.

raw_ostream&
operator<<(double N);
» more...

Write N to the stream.

raw_ostream&
operator<<(int N);
» more...

Write unsigned int N to the stream.

raw_ostream&
operator<<(unsigned int N);
» more...

Write pointer P to the stream.

raw_ostream&
operator<<(void const* P);
» more...

Write character C to the stream.

raw_ostream&
operator<<(char C);
» more...

Write unsigned long long N to the stream.

raw_ostream&
operator<<(unsigned long long N);
» more...

Write long N to the stream.

raw_ostream&
operator<<(long N);
» more...

Write unsigned long N to the stream.

raw_ostream&
operator<<(unsigned long N);
» more...

Write SmallVector characters Str to the stream.

raw_ostream&
operator<<(SmallVectorImpl<char> const& Str);
» more...

Write string_view Str to the stream.

raw_ostream&
operator<<(std::string_view const& Str);
» more...

Write std::string Str to the stream.

raw_ostream&
operator<<(std::string const& Str);
» more...

Write null-terminated C string Str to the stream.

raw_ostream&
operator<<(char const* Str);
» more...

Deleted: UTF-8 char8_t strings are not supported.

raw_ostream&
operator<<(char8_t const* Str) = delete;
» more...

Write Str to the stream.

raw_ostream&
operator<<(StringRef Str);
» more...

Write signed character C to the stream.

raw_ostream&
operator<<(signed char C);
» more...

Write unsigned character C to the stream.

raw_ostream&
operator<<(unsigned char C);
» more...

Return Value

This stream, for chaining.

Parameters

NameDescription
NValue to write.
FBFormatted bytes to write.
Objformatv object to write.
FNFormatted number to write.
FSFormatted string to write.
SnprintCallback that formats into a provided buffer.
CColor to apply to subsequent output.
PPointer value to write.
StrCharacter vector to write.