Searched refs:TagT (Results 1 – 6 of 6) sorted by relevance
35 template <typename TagT, typename... MemberTs> struct PointerSumTypeHelper;70 template <typename TagT, typename... MemberTs> class PointerSumType {71 using HelperT = detail::PointerSumTypeHelper<TagT, MemberTs...>;99 template <TagT N>108 template <TagT N>119 TagT getTag() const { in getTag()120 return static_cast<TagT>(getOpaqueValue() & HelperT::TagMask); in getTag()123 template <TagT N> bool is() const { return N == getTag(); } in is()125 template <TagT N> typename HelperT::template Lookup<N>::PointerT get() const { in get()130 template <TagT N>[all …]
106 class TagT>116 typedef TagT tag;
33 template <typename TagT, typename... MemberTs>62 template <typename TagT, typename... MemberTs> class PointerSumType {65 typedef detail::PointerSumTypeHelper<TagT, MemberTs...> HelperT;71 template <TagT N>82 TagT getTag() const { return static_cast<TagT>(Value & HelperT::TagMask); } in getTag()84 template <TagT N> bool is() const { return N == getTag(); } in is()86 template <TagT N> typename HelperT::template Lookup<N>::PointerT get() const { in get()91 template <TagT N>118 template <typename TagT, typename... MemberTs>125 template <TagT N, typename PointerT, typename TraitsT>[all …]
108 class TagT>118 typedef TagT tag;
1494 if (const TagType *TagT = dyn_cast<TagType>(T)) in GetCompletionTypeString() local1495 if (TagDecl *Tag = TagT->getDecl()) in GetCompletionTypeString()
8397 if (const TagType *TagT = dyn_cast<TagType>(TD->getTypeForDecl())) { in finishPendingActions() local8399 const_cast<TagType*>(TagT)->decl = TD; in finishPendingActions()