clang 24.0.0git
Utils.h File Reference
#include "llvm/ADT/ImmutableMap.h"
#include "llvm/ADT/ImmutableSet.h"

Go to the source code of this file.

Classes

struct  clang::lifetimes::internal::utils::ID< Tag >
 A generic, type-safe wrapper for an ID, distinguished by its Tag type. More...
struct  llvm::DenseMapInfo< clang::lifetimes::internal::utils::ID< Tag > >

Namespaces

namespace  clang
 The JSON file list parser is used to communicate input to InstallAPI.
namespace  clang::lifetimes
namespace  clang::lifetimes::internal
namespace  clang::lifetimes::internal::utils
namespace  llvm
 Diagnostic wrappers for TextAPI types for error reporting.

Typedefs

template<typename T>
using clang::lifetimes::internal::utils::SetTy
 The lifetime analyses do not benefit from canonicalizing their immutable collections, so they opt out of it via these aliases.
template<typename KeyT, typename ValT>
using clang::lifetimes::internal::utils::MapTy

Enumerations

enum class  clang::lifetimes::internal::utils::JoinKind { clang::lifetimes::internal::utils::Symmetric , clang::lifetimes::internal::utils::Asymmetric }
 Describes the strategy for joining two ImmutableMap instances, primarily differing in how they handle keys that are unique to one of the maps. More...

Functions

template<typename T>
SetTy< Tclang::lifetimes::internal::utils::join (SetTy< T > A, SetTy< T > B, typename SetTy< T >::Factory &F)
 Computes the union of two ImmutableSets.
template<typename KeyT, typename ValT, typename Joiner>
MapTy< KeyT, ValT > clang::lifetimes::internal::utils::join (MapTy< KeyT, ValT > A, MapTy< KeyT, ValT > B, typename MapTy< KeyT, ValT >::Factory &F, Joiner JoinValues, JoinKind Kind)
 Computes the key-wise union of two ImmutableMaps in a single traversal (see ImmutableMap::Factory::mergeWith), sharing subtrees the two maps do not overlap.