LLVM 19.0.0git
Public Member Functions | Public Attributes | List of all members
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 593 of file DebugInfoMetadata.h.

Constructor & Destructor Documentation

◆ ChecksumInfo()

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

Definition at line 599 of file DebugInfoMetadata.h.

◆ ~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 605 of file DebugInfoMetadata.h.

References llvm::DIFile::ChecksumInfo< T >::Kind.

◆ operator!=()

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

Definition at line 604 of file DebugInfoMetadata.h.

References X.

◆ operator==()

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

Definition at line 601 of file DebugInfoMetadata.h.

References llvm::DIFile::ChecksumInfo< T >::Kind, 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 595 of file DebugInfoMetadata.h.

Referenced by llvm::DIFile::ChecksumInfo< T >::getKindAsString(), and llvm::DIFile::ChecksumInfo< T >::operator==().

◆ Value

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

The string value of the checksum.

Definition at line 597 of file DebugInfoMetadata.h.


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