LLVM  13.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"

Inheritance diagram for llvm::DIFile::ChecksumInfo< T >:
Inheritance graph
[legend]
Collaboration diagram for llvm::DIFile::ChecksumInfo< T >:
Collaboration graph
[legend]

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. More...
 
Value
 The string value of the checksum. More...
 

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 548 of file DebugInfoMetadata.h.

Constructor & Destructor Documentation

◆ ChecksumInfo()

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

Definition at line 554 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 560 of file DebugInfoMetadata.h.

◆ operator!=()

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

Definition at line 559 of file DebugInfoMetadata.h.

◆ operator==()

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

Definition at line 556 of file DebugInfoMetadata.h.

Member Data Documentation

◆ Kind

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

◆ Value

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

The string value of the checksum.

Definition at line 552 of file DebugInfoMetadata.h.


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