Searched defs:PointerUnion (Results 1 - 1 of 1) sorted by relevance

/external/llvm/include/llvm/ADT/
H A DPointerUnion.h1 //===- llvm/ADT/PointerUnion.h - Discriminated Union of 2 Ptrs --*- C++ -*-===//
10 // This file defines the PointerUnion class, which is a discriminated union of
49 /// Provide PointerLikeTypeTraits for void* that is used by PointerUnion
63 /// PointerUnion - This implements a discriminated union of two pointer types,
69 /// PointerUnion<int*, float*> P;
79 class PointerUnion {
96 PointerUnion() {}
98 PointerUnion(PT1 V) {
103 PointerUnion(PT2 V) {
113 // we recursively strip off low bits if we have a nested PointerUnion
189 getAsVoidPointer(const PointerUnion<PT1, PT2> &P) argument
[all...]

Completed in 80 milliseconds