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

Declarations

gen/tools/clang/include/clang/AST/DeclNodes.inc
  213 TYPEALIASTEMPLATE(TypeAliasTemplate, RedeclarableTemplateDecl)
tools/clang/include/clang/AST/Decl.h
   75 class TypeAliasTemplateDecl;
tools/clang/tools/libclang/CXIndexDataConsumer.h
   25   class TypeAliasTemplateDecl;

References

include/llvm/ADT/STLExtras.h
   75       typename std::add_pointer<typename std::add_const<T>::type>::type;
include/llvm/Support/Casting.h
   57   static inline bool doit(const From &Val) {
   58     return To::classof(&Val);
  104   static inline bool doit(const From *Val) {
  106     return isa_impl<To, From>::doit(*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,
  172   using ret_type = To *;       // Pointer arg case, return Ty*
  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;
  227   static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  228     typename cast_retty<To, FromTy>::ret_type Res2
  256 inline typename cast_retty<X, Y>::ret_type cast(Y &Val) {
  263 inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  263 inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  263 inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  265   return cast_convert_val<X, Y*,
  265   return cast_convert_val<X, Y*,
  266                           typename simplify_type<Y*>::SimpleType>::doit(Val);
  305 LLVM_NODISCARD inline typename cast_retty<X, Y *>::ret_type
  309   return cast<X>(Val);
  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) {
  342 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;
  366 LLVM_NODISCARD inline typename cast_retty<X, Y *>::ret_type
  368   return (Val && isa<X>(Val)) ? cast<X>(Val) : nullptr;
  368   return (Val && isa<X>(Val)) ? cast<X>(Val) : nullptr;
tools/clang/include/clang/AST/ASTNodeTraverser.h
  461   void VisitTypeAliasTemplateDecl(const TypeAliasTemplateDecl *D) {
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/Decl.h
 3116   TypeAliasTemplateDecl *Template;
 3131   TypeAliasTemplateDecl *getDescribedAliasTemplate() const { return Template; }
 3132   void setDescribedAliasTemplate(TypeAliasTemplateDecl *TAT) { Template = TAT; }
tools/clang/include/clang/AST/DeclBase.h
 2536   static ::clang::DeclContext *doit(const FromTy *Val) {
 2537     return FromTy::castToDeclContext(Val);
tools/clang/include/clang/AST/DeclTemplate.h
 2367   TypeAliasTemplateDecl *getCanonicalDecl() override {
 2368     return cast<TypeAliasTemplateDecl>(
 2371   const TypeAliasTemplateDecl *getCanonicalDecl() const {
 2372     return cast<TypeAliasTemplateDecl>(
 2378   TypeAliasTemplateDecl *getPreviousDecl() {
 2379     return cast_or_null<TypeAliasTemplateDecl>(
 2382   const TypeAliasTemplateDecl *getPreviousDecl() const {
 2383     return cast_or_null<TypeAliasTemplateDecl>(
 2388   TypeAliasTemplateDecl *getInstantiatedFromMemberTemplate() const {
 2389     return cast_or_null<TypeAliasTemplateDecl>(
 2394   static TypeAliasTemplateDecl *Create(ASTContext &C, DeclContext *DC,
 2401   static TypeAliasTemplateDecl *CreateDeserialized(ASTContext &C, unsigned ID);
 3091                 isa<TypeAliasTemplateDecl>(TD) ||
tools/clang/include/clang/AST/RecursiveASTVisitor.h
 1803   TRY_TO(TraverseDecl(D->getTemplatedDecl()));
 1804   TRY_TO(TraverseTemplateParameterListHelper(D->getTemplateParameters()));
tools/clang/include/clang/AST/TextNodeDumper.h
  319   void VisitTypeAliasTemplateDecl(const TypeAliasTemplateDecl *D);
tools/clang/include/clang/ASTMatchers/ASTMatchers.h
  219 extern const internal::VariadicDynCastAllOfMatcher<Decl, TypeAliasTemplateDecl>
tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h
  436     return canConvertTo(ast_type_traits::ASTNodeKind::getFromNodeKind<T>());
  445   template <typename T> Matcher<T> convertTo() const {
  447     return unconditionalConvertTo<T>();
  499   explicit Matcher(MatcherInterface<T> *Implementation)
  507           typename std::enable_if<std::is_base_of<From, T>::value &&
  508                                !std::is_same<From, T>::value>::type * = nullptr)
  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/include/clang/ASTMatchers/Dynamic/VariantValue.h
  199   ast_matchers::internal::Matcher<T> getTypedMatcher() const {
  202         ->template convertTo<T>();
  227       : MatcherOps(ast_type_traits::ASTNodeKind::getFromNodeKind<T>()) {}
  228   typedef ast_matchers::internal::Matcher<T> MatcherT;
  232     return DynTypedMatcher(Matcher.convertTo<T>());
tools/clang/include/clang/Sema/Lookup.h
  507   DeclClass *getAsSingle() const {
  509     return dyn_cast<DeclClass>(getFoundDecl());
tools/clang/include/clang/Serialization/ASTReader.h
 1887   T *ReadDeclAs(ModuleFile &F, const RecordData &R, unsigned &I) {
 1888     return cast_or_null<T>(GetDecl(ReadDeclID(F, R, I)));
 2541   T *readDeclAs() {
 2542     return Reader->ReadDeclAs<T>(*F, Record, Idx);
tools/clang/lib/AST/ASTContext.cpp
 4208     isa<TypeAliasTemplateDecl>(Template.getAsTemplateDecl());
tools/clang/lib/AST/ASTImporter.cpp
  217           -> decltype(ToDeclT::Create(std::forward<Args>(args)...)) {
  218         return ToDeclT::Create(std::forward<Args>(args)...);
  229     LLVM_NODISCARD bool GetImportedOrCreateDecl(ToDeclT *&ToD, FromDeclT *FromD,
  229     LLVM_NODISCARD bool GetImportedOrCreateDecl(ToDeclT *&ToD, FromDeclT *FromD,
  234       CallOverloadedCreateFun<ToDeclT> OC;
  256     GetImportedOrCreateSpecialDecl(ToDeclT *&ToD, CreateFunT CreateFun,
  257                                    FromDeclT *FromD, Args &&... args) {
  262       ToD = cast_or_null<ToDeclT>(Importer.GetAlreadyImportedOrNull(FromD));
  459     ExpectedDecl VisitTypeAliasTemplateDecl(TypeAliasTemplateDecl *D);
 2390 ASTNodeImporter::VisitTypeAliasTemplateDecl(TypeAliasTemplateDecl *D) {
 2411       if (auto *FoundAlias = dyn_cast<TypeAliasTemplateDecl>(FoundDecl))
 2411       if (auto *FoundAlias = dyn_cast<TypeAliasTemplateDecl>(FoundDecl))
 2433   TypeAliasTemplateDecl *ToAlias;
tools/clang/lib/AST/Comment.cpp
  343     const TypeAliasTemplateDecl *TAT = cast<TypeAliasTemplateDecl>(CommentDecl);
  343     const TypeAliasTemplateDecl *TAT = cast<TypeAliasTemplateDecl>(CommentDecl);
tools/clang/lib/AST/DeclTemplate.cpp
  948 TypeAliasTemplateDecl *TypeAliasTemplateDecl::Create(ASTContext &C,
  955   return new (C, DC) TypeAliasTemplateDecl(C, DC, L, Name, Params, Decl);
  958 TypeAliasTemplateDecl *TypeAliasTemplateDecl::CreateDeserialized(ASTContext &C,
  960   return new (C, ID) TypeAliasTemplateDecl(C, nullptr, SourceLocation(),
tools/clang/lib/AST/TextNodeDumper.cpp
 1519     const TypeAliasTemplateDecl *D) {
tools/clang/lib/ASTMatchers/ASTMatchersInternal.cpp
  558 const internal::VariadicDynCastAllOfMatcher<Decl, TypeAliasTemplateDecl>
tools/clang/lib/ASTMatchers/Dynamic/Marshallers.h
   75     return Value.isMatcher() && Value.getMatcher().hasTypedMatcher<T>();
   78   static ast_matchers::internal::Matcher<T> get(const VariantValue &Value) {
   79     return Value.getMatcher().getTypedMatcher<T>();
   83     return ArgKind(ast_type_traits::ASTNodeKind::getFromNodeKind<T>());
  466       ast_matchers::internal::VariadicDynCastAllOfMatcher<BaseT, DerivedT> Func,
  469         DerivedKind(ast_type_traits::ASTNodeKind::getFromNodeKind<DerivedT>()) {
  778     ast_matchers::internal::VariadicDynCastAllOfMatcher<BaseT, DerivedT>
tools/clang/lib/CodeGen/Address.h
  108 template <class U> inline U cast(CodeGen::Address addr) {
tools/clang/lib/CodeGen/CGDebugInfo.cpp
 1116       cast<TypeAliasTemplateDecl>(Ty->getTemplateName().getAsTemplateDecl())
tools/clang/lib/Frontend/ASTUnit.cpp
  299       isa<TypeAliasTemplateDecl>(ND)) {
tools/clang/lib/Sema/SemaDecl.cpp
 1241   if (isa<TypeAliasTemplateDecl>(TD))
14483   else if (isa<TypeAliasTemplateDecl>(PrevDecl))
tools/clang/lib/Sema/SemaDeclCXX.cpp
11023     TypeAliasTemplateDecl *OldDecl = nullptr;
11043       OldDecl = Previous.getAsSingle<TypeAliasTemplateDecl>();
11086     TypeAliasTemplateDecl *NewDecl =
11087       TypeAliasTemplateDecl::Create(Context, CurContext, UsingLoc,
tools/clang/lib/Sema/SemaTemplate.cpp
 2973                             : isa<TypeAliasTemplateDecl>(Template) ? 3 : 4)
 3062 static bool isEnableIfAliasTemplate(TypeAliasTemplateDecl *AliasTemplate) {
 3236   if (TypeAliasTemplateDecl *AliasTemplate =
 3237           dyn_cast<TypeAliasTemplateDecl>(Template)) {
 3589   if (TypeAliasTemplateDecl *TAT =
 3590         dyn_cast_or_null<TypeAliasTemplateDecl>(Template.getAsTemplateDecl())) {
 5271       if (PackExpansionIntoNonPack && isa<TypeAliasTemplateDecl>(Template)) {
 6900       !isa<TypeAliasTemplateDecl>(Template) &&
tools/clang/lib/Sema/SemaTemplateInstantiate.cpp
  527           << cast<TypeAliasTemplateDecl>(D)
  735       if (isa<TypeAliasTemplateDecl>(Active->Entity))
tools/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
  800 TemplateDeclInstantiator::VisitTypeAliasTemplateDecl(TypeAliasTemplateDecl *D) {
  812   TypeAliasTemplateDecl *PrevAliasTemplate = nullptr;
  816       PrevAliasTemplate = dyn_cast<TypeAliasTemplateDecl>(Found.front());
  825   TypeAliasTemplateDecl *Inst
  826     = TypeAliasTemplateDecl::Create(SemaRef.Context, Owner, D->getLocation(),
tools/clang/lib/Sema/TreeTransform.h
 6182       if (TypeAliasTemplateDecl *TAT = dyn_cast_or_null<TypeAliasTemplateDecl>(
 6182       if (TypeAliasTemplateDecl *TAT = dyn_cast_or_null<TypeAliasTemplateDecl>(
tools/clang/lib/Serialization/ASTReaderDecl.cpp
  144     T *ReadDeclAs() {
  145       return Record.readDeclAs<T>();
  392     void VisitTypeAliasTemplateDecl(TypeAliasTemplateDecl *D);
  694   if (auto *Template = ReadDeclAs<TypeAliasTemplateDecl>())
  694   if (auto *Template = ReadDeclAs<TypeAliasTemplateDecl>())
 2333 void ASTDeclReader::VisitTypeAliasTemplateDecl(TypeAliasTemplateDecl *D) {
 3771     D = TypeAliasTemplateDecl::CreateDeserialized(Context, ID);
tools/clang/lib/Serialization/ASTWriterDecl.cpp
  111     void VisitTypeAliasTemplateDecl(TypeAliasTemplateDecl *D);
 1683 void ASTDeclWriter::VisitTypeAliasTemplateDecl(TypeAliasTemplateDecl *D) {
tools/clang/lib/Tooling/Refactoring/Rename/USRLocFinder.cpp
  196       if (const auto* TAT = dyn_cast<TypeAliasTemplateDecl>(Decl))
  196       if (const auto* TAT = dyn_cast<TypeAliasTemplateDecl>(Decl))
tools/clang/tools/extra/clang-move/Move.cpp
  200       if (const auto * TD = TAD->getDescribedAliasTemplate())
tools/clang/tools/extra/modularize/Modularize.cpp
  622         isa<TypeAliasTemplateDecl>(ND) || isa<UsingShadowDecl>(ND) ||
tools/clang/tools/libclang/CIndex.cpp
  680 bool CursorVisitor::VisitTypeAliasTemplateDecl(TypeAliasTemplateDecl *D) {
tools/clang/tools/libclang/CXIndexDataConsumer.cpp
  140   bool VisitTypeAliasTemplateDecl(const TypeAliasTemplateDecl *D) {
  879 bool CXIndexDataConsumer::handleTypeAliasTemplate(const TypeAliasTemplateDecl *D) {
tools/clang/tools/libclang/CXIndexDataConsumer.h
  411   bool handleTypeAliasTemplate(const TypeAliasTemplateDecl *D);
tools/clang/tools/libclang/CursorVisitor.h
  197   bool VisitTypeAliasTemplateDecl(TypeAliasTemplateDecl *D);
usr/include/c++/7.4.0/type_traits
  215     : public __is_void_helper<typename remove_cv<_Tp>::type>::type
  581     : public __or_<is_lvalue_reference<_Tp>,
  582                    is_rvalue_reference<_Tp>>::type
  601     : public __not_<__or_<is_function<_Tp>, is_reference<_Tp>,
  601     : public __not_<__or_<is_function<_Tp>, is_reference<_Tp>,
  602                           is_void<_Tp>>>::type
  638     : public __or_<is_object<_Tp>, is_reference<_Tp>>::type
  638     : public __or_<is_object<_Tp>, is_reference<_Tp>>::type
 1554     { typedef _Tp     type; };
 1558     { typedef _Tp     type; };
 1563     { typedef _Tp     type; };
 1574       remove_const<typename remove_volatile<_Tp>::type>::type     type;
 1580     { typedef _Tp const     type; };
 1629     { typedef _Tp   type; };
 1983     { typedef _Up     type; };
 1999     { typedef typename remove_reference<_Tp>::type*     type; };
 2003     : public __add_pointer_helper<_Tp>