reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

gen/tools/clang/include/clang/AST/TypeNodes.inc
   38 DEPENDENT_TYPE(DependentTemplateSpecialization, Type)

References

include/llvm/ADT/FoldingSet.h
  256   static void Profile(T &X, FoldingSetNodeID &ID, Ctx Context) {
  260   static inline bool Equals(T &X, const FoldingSetNodeID &ID, unsigned IDHash,
  262   static inline unsigned ComputeHash(T &X, FoldingSetNodeID &TempID,
  269   : public DefaultContextualFoldingSetTrait<T, Ctx> {};
  385   ContextualFoldingSetTrait<T, Ctx>::Profile(X, TempID, Context);
  393   ContextualFoldingSetTrait<T, Ctx>::Profile(X, TempID, Context);
  410   using iterator = FoldingSetIterator<T>;
  415   using const_iterator = FoldingSetIterator<const T>;
  420   using bucket_iterator = FoldingSetBucketIterator<T>;
  432   bool RemoveNode(T *N) { return FoldingSetBase::RemoveNode(N); }
  437   T *GetOrInsertNode(T *N) {
  437   T *GetOrInsertNode(T *N) {
  444   T *FindNodeOrInsertPos(const FoldingSetNodeID &ID, void *&InsertPos) {
  451   void InsertNode(T *N, void *InsertPos) {
  457   void InsertNode(T *N) {
  515 class ContextualFoldingSet final : public FoldingSetImpl<T> {
  521   using Super = FoldingSetImpl<T>;
  529     T *TN = static_cast<T *>(N);
  530     ContextualFoldingSetTrait<T, Ctx>::Profile(*TN, ID, Context);
  535     T *TN = static_cast<T *>(N);
  536     return ContextualFoldingSetTrait<T, Ctx>::Equals(*TN, ID, IDHash, TempID,
  541     T *TN = static_cast<T *>(N);
  542     return ContextualFoldingSetTrait<T, Ctx>::ComputeHash(*TN, TempID, Context);
include/llvm/Support/Casting.h
   58     return To::classof(&Val);
  106     return isa_impl<To, From>::doit(*Val);
  122     return isa_impl_wrap<To, SimpleFrom,
  132     return isa_impl_cl<To,FromTy>::doit(Val);
  142   return isa_impl_wrap<X, const Y,
  176   using ret_type = const To *; // Constant pointer arg case, return const Ty*
  198   using ret_type = typename cast_retty<To, SimpleFrom>::ret_type;
  204   using ret_type = typename cast_retty_impl<To,FromTy>::ret_type;
  210       To, From, typename simplify_type<From>::SimpleType>::ret_type;
  218   static typename cast_retty<To, From>::ret_type doit(From &Val) {
  219     return cast_convert_val<To, SimpleFrom,
  227   static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  228     typename cast_retty<To, FromTy>::ret_type Res2
  248                                typename cast_retty<X, const Y>::ret_type>::type
  256 inline typename cast_retty<X, Y>::ret_type cast(Y &Val) {
  258   return cast_convert_val<X, Y,
  263 inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  265   return cast_convert_val<X, Y*,
  337 LLVM_NODISCARD inline typename cast_retty<X, Y>::ret_type dyn_cast(Y &Val) {
  342 LLVM_NODISCARD inline typename cast_retty<X, Y *>::ret_type dyn_cast(Y *Val) {
  343   return isa<X>(Val) ? cast<X>(Val) : nullptr;
  343   return isa<X>(Val) ? cast<X>(Val) : nullptr;
tools/clang/include/clang/AST/ASTContext.h
  215   mutable llvm::ContextualFoldingSet<DependentTemplateSpecializationType,
tools/clang/include/clang/AST/ASTTypeTraits.h
   65     return ASTNodeKind(KindToKindId<T>::Id);
   65     return ASTNodeKind(KindToKindId<T>::Id);
   65     return ASTNodeKind(KindToKindId<T>::Id);
tools/clang/include/clang/AST/RecursiveASTVisitor.h
 1079   TRY_TO(TraverseNestedNameSpecifier(T->getQualifier()));
 1080   TRY_TO(TraverseTemplateArguments(T->getArgs(), T->getNumArgs()));
 1080   TRY_TO(TraverseTemplateArguments(T->getArgs(), T->getNumArgs()));
 1329   if (TL.getQualifierLoc()) {
 1330     TRY_TO(TraverseNestedNameSpecifierLoc(TL.getQualifierLoc()));
 1333   for (unsigned I = 0, E = TL.getNumArgs(); I != E; ++I) {
 1334     TRY_TO(TraverseTemplateArgumentLoc(TL.getArgLoc(I)));
tools/clang/include/clang/AST/TemplateBase.h
  688 inline DependentTemplateSpecializationType::iterator
tools/clang/include/clang/AST/Type.h
 6858 template <typename T> const T *Type::getAs() const {
 6859   static_assert(!TypeIsArrayType<T>::value,
 6863   if (const auto *Ty = dyn_cast<T>(this))
 6863   if (const auto *Ty = dyn_cast<T>(this))
 6867   if (!isa<T>(CanonicalType))
 6872   return cast<T>(getUnqualifiedDesugaredType());
tools/clang/include/clang/AST/TypeLoc.h
  370     return TypeClass::classof(Ty);
  405   const TypeClass *getTypePtr() const {
  406     return cast<TypeClass>(Base::getTypePtr());
 2087                            DependentTemplateSpecializationType,
tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h
  499   explicit Matcher(MatcherInterface<T> *Implementation)
  520             std::is_same<T, QualType>::value &&
  529     static_assert(std::is_base_of<To, T>::value, "Invalid dynCast call.");
  534   bool matches(const T &Node,
  581     return Other.dynCastTo(ast_type_traits::ASTNodeKind::getFromNodeKind<T>());
 1243   operator Matcher<T>() const {
 1245                ast_type_traits::ASTNodeKind::getFromNodeKind<T>())
 1246         .template unconditionalConvertTo<T>();
 1255 class BindableMatcher : public Matcher<T> {
 1257   explicit BindableMatcher(const Matcher<T> &M) : Matcher<T>(M) {}
 1258   explicit BindableMatcher(MatcherInterface<T> *Implementation)
 1265   Matcher<T> bind(StringRef ID) const {
 1370 inline Matcher<T> DynTypedMatcher::unconditionalConvertTo() const {
 1376 BindableMatcher<T> makeAllOfComposite(
 1377     ArrayRef<const Matcher<T> *> InnerMatchers) {
 1388   using PI = llvm::pointee_iterator<const Matcher<T> *const *>;
 1395           ast_type_traits::ASTNodeKind::getFromNodeKind<T>(),
 1397           .template unconditionalConvertTo<T>());
 1408     ArrayRef<const Matcher<InnerT> *> InnerMatchers) {
 1557     : public VariadicFunction<BindableMatcher<SourceT>, Matcher<TargetT>,
 1558                               makeDynCastAllOfComposite<SourceT, TargetT>> {
tools/clang/lib/AST/ASTContext.cpp
 4394   DependentTemplateSpecializationType::Profile(ID, *this, Keyword, NNS,
 4398   DependentTemplateSpecializationType *T
 4427   void *Mem = Allocate((sizeof(DependentTemplateSpecializationType) +
 4430   T = new (Mem) DependentTemplateSpecializationType(Keyword, NNS,
tools/clang/lib/AST/ASTImporter.cpp
  350         const DependentTemplateSpecializationType *T);
 1455     const DependentTemplateSpecializationType *T) {
tools/clang/lib/AST/ASTStructuralEquivalence.cpp
  852     const auto *Spec1 = cast<DependentTemplateSpecializationType>(T1);
  852     const auto *Spec1 = cast<DependentTemplateSpecializationType>(T1);
  853     const auto *Spec2 = cast<DependentTemplateSpecializationType>(T2);
  853     const auto *Spec2 = cast<DependentTemplateSpecializationType>(T2);
tools/clang/lib/AST/ItaniumMangle.cpp
 1096   } else if (const auto *DTST =
 1097                  type->getAs<DependentTemplateSpecializationType>()) {
 2105     const DependentTemplateSpecializationType *DTST =
 2106         cast<DependentTemplateSpecializationType>(Ty);
 3349 void CXXNameMangler::mangleType(const DependentTemplateSpecializationType *T) {
tools/clang/lib/AST/MicrosoftMangle.cpp
 2846     const DependentTemplateSpecializationType *T, Qualifiers,
tools/clang/lib/AST/ODRHash.cpp
 1067       const DependentTemplateSpecializationType *T) {
tools/clang/lib/AST/Type.cpp
 2741   else if (const auto *DepTST =
 2742                dyn_cast<DependentTemplateSpecializationType>(this))
tools/clang/lib/AST/TypePrinter.cpp
 1375         const DependentTemplateSpecializationType *T, raw_ostream &OS) {
 1390         const DependentTemplateSpecializationType *T, raw_ostream &OS) {}
tools/clang/lib/CodeGen/Address.h
  108 template <class U> inline U cast(CodeGen::Address addr) {
tools/clang/lib/Sema/SemaTemplate.cpp
 2673     if (const DependentTemplateSpecializationType *DependentTST
 2674                           = T->getAs<DependentTemplateSpecializationType>()) {
 2804     } else if (T->getAs<DependentTemplateSpecializationType>()) {
 5650                                  const DependentTemplateSpecializationType* T) {
tools/clang/lib/Sema/SemaTemplateDeduction.cpp
 5546     const DependentTemplateSpecializationType *Spec
 5547       = cast<DependentTemplateSpecializationType>(T);
tools/clang/lib/Sema/TreeTransform.h
 4491   } else if (isa<DependentTemplateSpecializationType>(T)) {
 6069     if (isa<DependentTemplateSpecializationType>(Result)) {
 6348   if (TL.getQualifierLoc()) {
 6350       = getDerived().TransformNestedNameSpecifierLoc(TL.getQualifierLoc());
 6356            .TransformDependentTemplateSpecializationType(TLB, TL, QualifierLoc);
 6356            .TransformDependentTemplateSpecializationType(TLB, TL, QualifierLoc);
 6364   const DependentTemplateSpecializationType *T = TL.getTypePtr();
 6401   } else if (isa<DependentTemplateSpecializationType>(Result)) {
tools/clang/lib/Serialization/ASTWriter.cpp
  497                                 const DependentTemplateSpecializationType *T) {
tools/clang/unittests/AST/ASTImporterTest.cpp
  850                                             DependentTemplateSpecializationType>
usr/include/c++/7.4.0/type_traits
  215     : public __is_void_helper<typename remove_cv<_Tp>::type>::type
  326     : public __is_integral_helper<typename remove_cv<_Tp>::type>::type
  354     : public __is_floating_point_helper<typename remove_cv<_Tp>::type>::type
  381     : public __is_pointer_helper<typename remove_cv<_Tp>::type>::type
  567     : public __is_null_pointer_helper<typename remove_cv<_Tp>::type>::type
  581     : public __or_<is_lvalue_reference<_Tp>,
  582                    is_rvalue_reference<_Tp>>::type
  588     : public __or_<is_integral<_Tp>, is_floating_point<_Tp>>::type
  588     : public __or_<is_integral<_Tp>, is_floating_point<_Tp>>::type
  611     : public __or_<is_arithmetic<_Tp>, is_enum<_Tp>, is_pointer<_Tp>,
  611     : public __or_<is_arithmetic<_Tp>, is_enum<_Tp>, is_pointer<_Tp>,
  611     : public __or_<is_arithmetic<_Tp>, is_enum<_Tp>, is_pointer<_Tp>,
  612                    is_member_pointer<_Tp>, is_null_pointer<_Tp>>::type
  612                    is_member_pointer<_Tp>, is_null_pointer<_Tp>>::type
  631     : public __is_member_pointer_helper<typename remove_cv<_Tp>::type>::type
  777     : public __and_<is_array<_Tp>, __not_<extent<_Tp>>>
  777     : public __and_<is_array<_Tp>, __not_<extent<_Tp>>>
  798       typedef decltype(__test<_Tp>(0)) type;
  811                remove_all_extents<_Tp>::type>::type
  825     : public __is_destructible_safe<_Tp>::type
 1447     : public __and_<is_destructible<_Tp>, integral_constant<bool,
 1554     { typedef _Tp     type; };
 1563     { typedef _Tp     type; };
 1574       remove_const<typename remove_volatile<_Tp>::type>::type     type;
 1659     { typedef _Tp&&   type; };
 1955     { typedef _Tp     type; };