reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
64 return std::min<int>({PointerLikeTypeTraits<Ts>::NumLowBitsAvailable...}); 76 static constexpr int Index = 1 + TypeIndex<T, Us...>::Index; 76 static constexpr int Index = 1 + TypeIndex<T, Us...>::Index; 93 static constexpr int NumLowBitsAvailable = lowBitsAvailable<PTs...>(); 124 PointerUnionMembers(Type V) 130 Derived &operator=(Type V) { 132 const_cast<void *>(PointerLikeTypeTraits<Type>::getAsVoidPointer(V)), 158 PointerUnion<PTs...>, 161 pointer_union_detail::PointerUnionUIntTraits<PTs...>>, 162 0, PTs...> { 168 using First = typename pointer_union_detail::GetFirstType<PTs...>::type; 185 constexpr int Index = pointer_union_detail::TypeIndex<T, PTs...>::Index; 185 constexpr int Index = pointer_union_detail::TypeIndex<T, PTs...>::Index; 194 template <typename T> T get() const { 196 return PointerLikeTypeTraits<T>::getFromVoidPointer(this->Val.getPointer()); 201 template <typename T> T dyn_cast() const { 202 if (is<T>()) 203 return get<T>(); 248 bool operator!=(PointerUnion<PTs...> lhs, PointerUnion<PTs...> rhs) { 248 bool operator!=(PointerUnion<PTs...> lhs, PointerUnion<PTs...> rhs) {tools/clang/include/clang/AST/APValue.h
72 static DynamicAllocLValue getFromOpaqueValue(void *Value) { 73 DynamicAllocLValue V; 100 static void *getAsVoidPointer(clang::DynamicAllocLValue V) { 103 static clang::DynamicAllocLValue getFromVoidPointer(void *P) { 104 return clang::DynamicAllocLValue::getFromOpaqueValue(P); 107 clang::DynamicAllocLValue::NumLowBitsAvailable; 140 DynamicAllocLValue> 147 static LValueBase getDynamicAlloc(DynamicAllocLValue LV, QualType Type); 151 bool is() const { return Ptr.is<T>(); } 154 T get() const { return Ptr.get<T>(); } 154 T get() const { return Ptr.get<T>(); } 157 T dyn_cast() const { return Ptr.dyn_cast<T>(); } 157 T dyn_cast() const { return Ptr.dyn_cast<T>(); }tools/clang/lib/AST/APValue.cpp
45 APValue::LValueBase APValue::LValueBase::getDynamicAlloc(DynamicAllocLValue LV, 62 return (is<TypeInfoLValue>() || is<DynamicAllocLValue>()) ? 0 67 return (is<TypeInfoLValue>() || is<DynamicAllocLValue>()) ? 0 : Local.Version; 128 if (Base.is<TypeInfoLValue>() || Base.is<DynamicAllocLValue>()) 553 } else if (DynamicAllocLValue DA = Base.dyn_cast<DynamicAllocLValue>()) { 553 } else if (DynamicAllocLValue DA = Base.dyn_cast<DynamicAllocLValue>()) { 585 } else if (DynamicAllocLValue DA = Base.dyn_cast<DynamicAllocLValue>()) { 585 } else if (DynamicAllocLValue DA = Base.dyn_cast<DynamicAllocLValue>()) {tools/clang/lib/AST/ExprConstant.cpp
99 if (B.is<DynamicAllocLValue>()) 726 bool operator()(DynamicAllocLValue L, DynamicAllocLValue R) const { 726 bool operator()(DynamicAllocLValue L, DynamicAllocLValue R) const { 805 std::map<DynamicAllocLValue, DynAlloc, DynAllocOrder> HeapAllocs; 989 Optional<DynAlloc*> lookupDynamicAlloc(DynamicAllocLValue DA) { 1788 if (NumHeapAllocs > DynamicAllocLValue::getMaxIndex()) { 1793 DynamicAllocLValue DA(NumHeapAllocs++); 1872 if (B.is<TypeInfoLValue>() || B.is<DynamicAllocLValue>()) 1971 else if (DynamicAllocLValue DA = Base.dyn_cast<DynamicAllocLValue>()) { 1971 else if (DynamicAllocLValue DA = Base.dyn_cast<DynamicAllocLValue>()) { 2029 if (Base.is<DynamicAllocLValue>()) { 3633 } else if (DynamicAllocLValue DA = LVal.Base.dyn_cast<DynamicAllocLValue>()) { 3633 } else if (DynamicAllocLValue DA = LVal.Base.dyn_cast<DynamicAllocLValue>()) { 6048 DynamicAllocLValue DA = Pointer.Base.dyn_cast<DynamicAllocLValue>(); 6048 DynamicAllocLValue DA = Pointer.Base.dyn_cast<DynamicAllocLValue>(); 6116 Info.HeapAllocs.erase(Pointer.Base.get<DynamicAllocLValue>()); 10185 } else if (B.is<DynamicAllocLValue>()) { 13252 if (!Info.HeapAllocs.erase(Pointer.Base.dyn_cast<DynamicAllocLValue>())) {usr/include/c++/7.4.0/bits/move.h
72 constexpr _Tp&& 83 constexpr _Tp&&usr/include/c++/7.4.0/bits/stl_map.h
102 typedef _Key key_type; 104 typedef std::pair<const _Key, _Tp> value_type;usr/include/c++/7.4.0/bits/stl_tree.h
563 typedef _Key key_type; 758 static const _Key& 782 static const _Key& 894 const _Key& __k); 898 const _Key& __k) const; 902 const _Key& __k); 906 const _Key& __k) const;usr/include/c++/7.4.0/tuple
125 constexpr _Head_base(const _Head& __h) 132 constexpr _Head_base(_UHead&& __h) 159 static constexpr _Head& 162 static constexpr const _Head& 350 static constexpr _Head& 353 static constexpr const _Head& 360 constexpr _Tuple_impl(const _Head& __head) 365 constexpr _Tuple_impl(_UHead&& __head) 390 const _Head& __head) 473 return __and_<is_constructible<_Elements, const _UElements&>...>::value; 479 return __and_<is_convertible<const _UElements&, _Elements>...>::value; 485 return __and_<is_constructible<_Elements, _UElements&&>...>::value; 491 return __and_<is_convertible<_UElements&&, _Elements>...>::value; 608 constexpr tuple(const _Elements&... __elements) 619 explicit constexpr tuple(const _Elements&... __elements) 646 constexpr tuple(_UElements&&... __elements) 730 const _Elements&... __elements) 741 const _Elements&... __elements) 1302 constexpr _Head& 1307 constexpr const _Head& 1313 constexpr __tuple_element_t<__i, tuple<_Elements...>>& 1319 constexpr const __tuple_element_t<__i, tuple<_Elements...>>& 1325 constexpr __tuple_element_t<__i, tuple<_Elements...>>&& 1458 constexpr tuple<_Elements&&...> 1459 forward_as_tuple(_Elements&&... __args) noexceptusr/include/c++/7.4.0/type_traits
1246 : public is_nothrow_constructible<_Tp, _Tp&&> 1554 { typedef _Tp type; }; 1558 { typedef _Tp type; }; 1563 { typedef _Tp type; }; 1574 remove_const<typename remove_volatile<_Tp>::type>::type type; 1633 { typedef _Tp type; }; 1659 { typedef _Tp&& type; };