clang 22.0.0git
clang::lifetimes::internal::utils Namespace Reference

Functions

template<typename T>
static llvm::ImmutableSet< Tjoin (llvm::ImmutableSet< T > A, llvm::ImmutableSet< T > B, typename llvm::ImmutableSet< T >::Factory &F)
 Computes the union of two ImmutableSets.
template<typename T>
static bool isSubsetOf (const llvm::ImmutableSet< T > &A, const llvm::ImmutableSet< T > &B)
 Checks if set A is a subset of set B.
template<typename K, typename V, typename Joiner>
static llvm::ImmutableMap< K, Vjoin (llvm::ImmutableMap< K, V > A, llvm::ImmutableMap< K, V > B, typename llvm::ImmutableMap< K, V >::Factory &F, Joiner JoinValues)
 Computes the key-wise union of two ImmutableMaps.

Function Documentation

◆ isSubsetOf()

template<typename T>
bool clang::lifetimes::internal::utils::isSubsetOf ( const llvm::ImmutableSet< T > & A,
const llvm::ImmutableSet< T > & B )
static

Checks if set A is a subset of set B.

Definition at line 979 of file LifetimeSafety.cpp.

References clang::T.

◆ join() [1/2]

template<typename K, typename V, typename Joiner>
llvm::ImmutableMap< K, V > clang::lifetimes::internal::utils::join ( llvm::ImmutableMap< K, V > A,
llvm::ImmutableMap< K, V > B,
typename llvm::ImmutableMap< K, V >::Factory & F,
Joiner JoinValues )
static

Computes the key-wise union of two ImmutableMaps.

Definition at line 997 of file LifetimeSafety.cpp.

References V.

◆ join() [2/2]

template<typename T>
llvm::ImmutableSet< T > clang::lifetimes::internal::utils::join ( llvm::ImmutableSet< T > A,
llvm::ImmutableSet< T > B,
typename llvm::ImmutableSet< T >::Factory & F )
static