LLVM 22.0.0git
llvm::DIFile::ChecksumInfo< T > Struct Template Reference

A single checksum, represented by a Kind and a Value (a string). More...

#include "llvm/IR/DebugInfoMetadata.h"

Public Member Functions

 ChecksumInfo (ChecksumKind Kind, T Value)
 ~ChecksumInfo ()=default
bool operator== (const ChecksumInfo< T > &X) const
bool operator!= (const ChecksumInfo< T > &X) const
StringRef getKindAsString () const

Public Attributes

ChecksumKind Kind
 The kind of checksum which Value encodes.
T Value
 The string value of the checksum.

Detailed Description

template<typename T>
struct llvm::DIFile::ChecksumInfo< T >

A single checksum, represented by a Kind and a Value (a string).

Definition at line 599 of file DebugInfoMetadata.h.

Constructor & Destructor Documentation

◆ ChecksumInfo()

template<typename T>
llvm::DIFile::ChecksumInfo< T >::ChecksumInfo ( ChecksumKind Kind,
T Value )
inline

Definition at line 605 of file DebugInfoMetadata.h.

References Kind, T, and Value.

Referenced by operator!=(), and operator==().

◆ ~ChecksumInfo()

template<typename T>
llvm::DIFile::ChecksumInfo< T >::~ChecksumInfo ( )
default

Member Function Documentation

◆ getKindAsString()

template<typename T>
StringRef llvm::DIFile::ChecksumInfo< T >::getKindAsString ( ) const
inline

Definition at line 611 of file DebugInfoMetadata.h.

References Kind.

◆ operator!=()

template<typename T>
bool llvm::DIFile::ChecksumInfo< T >::operator!= ( const ChecksumInfo< T > & X) const
inline

Definition at line 610 of file DebugInfoMetadata.h.

References ChecksumInfo(), and X.

◆ operator==()

template<typename T>
bool llvm::DIFile::ChecksumInfo< T >::operator== ( const ChecksumInfo< T > & X) const
inline

Definition at line 607 of file DebugInfoMetadata.h.

References ChecksumInfo(), Kind, Value, and X.

Member Data Documentation

◆ Kind

template<typename T>
ChecksumKind llvm::DIFile::ChecksumInfo< T >::Kind

The kind of checksum which Value encodes.

Definition at line 601 of file DebugInfoMetadata.h.

Referenced by ChecksumInfo(), getKindAsString(), and operator==().

◆ Value

template<typename T>
T llvm::DIFile::ChecksumInfo< T >::Value

The string value of the checksum.

Definition at line 603 of file DebugInfoMetadata.h.

Referenced by ChecksumInfo(), and operator==().


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