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;
2320 if (auto TagT = dyn_cast<TagType>(QT.getCanonicalType().getTypePtr())) in checkOpenCLDisabledTypeDeclSpec() local2321 Decl = TagT->getDecl(); in checkOpenCLDisabledTypeDeclSpec()
1869 if (const TagType *TagT = dyn_cast<TagType>(T)) in GetCompletionTypeString() local1870 if (TagDecl *Tag = TagT->getDecl()) in GetCompletionTypeString()
6905 if (const clang::TagType *TagT = in AddFieldToRecordType() local6908 llvm::dyn_cast<clang::RecordDecl>(TagT->getDecl())) in AddFieldToRecordType()
9177 if (const TagType *TagT = dyn_cast<TagType>(TD->getTypeForDecl())) { in finishPendingActions() local9179 const_cast<TagType*>(TagT)->decl = TD; in finishPendingActions()