LLVM 22.0.0git
llvm::ValueMapIteratorImpl< DenseMapT, KeyT, IsConst >::ValueTypeProxy Struct Reference

#include "llvm/IR/ValueMap.h"

Public Member Functions

ValueTypeProxyoperator-> ()
 operator std::pair< KeyT, ValueT > () const

Public Attributes

const KeyT first
std::conditional_t< IsConst, const ValueT &, ValueT & > second

Detailed Description

template<typename DenseMapT, typename KeyT, bool IsConst>
struct llvm::ValueMapIteratorImpl< DenseMapT, KeyT, IsConst >::ValueTypeProxy

Definition at line 347 of file ValueMap.h.

Member Function Documentation

◆ operator std::pair< KeyT, ValueT >()

template<typename DenseMapT, typename KeyT, bool IsConst>
llvm::ValueMapIteratorImpl< DenseMapT, KeyT, IsConst >::ValueTypeProxy::operator std::pair< KeyT, ValueT > ( ) const
inline

Definition at line 353 of file ValueMap.h.

References first, and second.

◆ operator->()

template<typename DenseMapT, typename KeyT, bool IsConst>
ValueTypeProxy * llvm::ValueMapIteratorImpl< DenseMapT, KeyT, IsConst >::ValueTypeProxy::operator-> ( )
inline

Definition at line 351 of file ValueMap.h.

Member Data Documentation

◆ first

template<typename DenseMapT, typename KeyT, bool IsConst>
const KeyT llvm::ValueMapIteratorImpl< DenseMapT, KeyT, IsConst >::ValueTypeProxy::first

Definition at line 348 of file ValueMap.h.

Referenced by operator std::pair< KeyT, ValueT >().

◆ second

template<typename DenseMapT, typename KeyT, bool IsConst>
std::conditional_t<IsConst, const ValueT &, ValueT &> llvm::ValueMapIteratorImpl< DenseMapT, KeyT, IsConst >::ValueTypeProxy::second

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