class raw_sha1_ostream

Declaration

class raw_sha1_ostream : public raw_ostream { /* full declaration omitted */ };

Description

A raw_ostream that hash the content using the sha1 algorithm.

Declared at: llvm/include/llvm/Support/raw_sha1_ostream.h:23

Inherits from: raw_ostream

Member Variables

Inherited from raw_ostream:

public static BLACK = Colors::BLACK
public static RED = Colors::RED
public static GREEN = Colors::GREEN
public static YELLOW = Colors::YELLOW
public static BLUE = Colors::BLUE
public static MAGENTA = Colors::MAGENTA
public static CYAN = Colors::CYAN
public static WHITE = Colors::WHITE
public static SAVEDCOLOR = Colors::SAVEDCOLOR
public static RESET = Colors::RESET

Method Overview

Inherited from raw_ostream:

Methods

uint64_t current_pos() const

Description

Return the current position within the stream, not counting the bytes currently in the buffer.

Declared at: llvm/include/llvm/Support/raw_sha1_ostream.h:41

void resetHash()

Description

Reset the internal state to start over from scratch.

Declared at: llvm/include/llvm/Support/raw_sha1_ostream.h:39

llvm::StringRef sha1()

Description

Return the current SHA1 hash for the content of the stream

Declared at: llvm/include/llvm/Support/raw_sha1_ostream.h:33