LLVM  7.0.0svn
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"

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

Constructor & Destructor Documentation

◆ ChecksumInfo()

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

Definition at line 526 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

◆ operator!=()

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

Definition at line 531 of file DebugInfoMetadata.h.

References X.

◆ operator==()

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

Member Data Documentation

◆ Kind

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

The kind of checksum which Value encodes.

Definition at line 522 of file DebugInfoMetadata.h.

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

◆ Value

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

The string value of the checksum.

Definition at line 524 of file DebugInfoMetadata.h.

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


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