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

Declarations

gen/tools/clang/include/clang/AST/DeclNodes.inc
  341 USINGPACK(UsingPack, NamedDecl)

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);
   66   static inline bool doit(const From &) { return true; }
   77     return isa_impl<To, From>::doit(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,
  168   using ret_type = const To &; // Normal case, return Ty&
  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) {
  258   return cast_convert_val<X, Y,
  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);
  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;
  360                             typename cast_retty<X, Y>::ret_type>::type
  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;
include/llvm/Support/TrailingObjects.h
  134     : public TrailingObjectsImpl<Align, BaseTy, TopTrailingObj, NextTy,
  137   typedef TrailingObjectsImpl<Align, BaseTy, TopTrailingObj, NextTy, MoreTys...>
  141     static const bool value = alignof(PrevTy) < alignof(NextTy);
  162   getTrailingObjectsImpl(const BaseTy *Obj,
  177   getTrailingObjectsImpl(BaseTy *Obj,
  179     auto *Ptr = TopTrailingObj::getTrailingObjectsImpl(
  232                             BaseTy, TrailingObjects<BaseTy, TrailingTys...>,
  232                             BaseTy, TrailingObjects<BaseTy, TrailingTys...>,
  233                             BaseTy, TrailingTys...> {
  242       BaseTy, TrailingObjects<BaseTy, TrailingTys...>, BaseTy, TrailingTys...>
  242       BaseTy, TrailingObjects<BaseTy, TrailingTys...>, BaseTy, TrailingTys...>
  242       BaseTy, TrailingObjects<BaseTy, TrailingTys...>, BaseTy, TrailingTys...>
  257   static const BaseTy *
  258   getTrailingObjectsImpl(const BaseTy *Obj,
  259                          TrailingObjectsBase::OverloadToken<BaseTy>) {
  263   static BaseTy *
  264   getTrailingObjectsImpl(BaseTy *Obj,
  265                          TrailingObjectsBase::OverloadToken<BaseTy>) {
  277   callNumTrailingObjects(const BaseTy *Obj,
  278                          TrailingObjectsBase::OverloadToken<BaseTy>) {
  283   static size_t callNumTrailingObjects(const BaseTy *Obj,
  284                                        TrailingObjectsBase::OverloadToken<T>) {
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/DeclCXX.h
 3426     : public NamedDecl, public Mergeable<UsingPackDecl>,
 3427       private llvm::TrailingObjects<UsingPackDecl, NamedDecl *> {
 3465   static UsingPackDecl *Create(ASTContext &C, DeclContext *DC,
 3469   static UsingPackDecl *CreateDeserialized(ASTContext &C, unsigned ID,
 3476   UsingPackDecl *getCanonicalDecl() override { return getFirstDecl(); }
 3477   const UsingPackDecl *getCanonicalDecl() const { return getFirstDecl(); }
tools/clang/include/clang/AST/JSONNodeDumper.h
  166   template <typename T> void writePreviousDeclImpl(const Mergeable<T> *D) {
  167     const T *First = D->getFirstDecl();
tools/clang/include/clang/AST/Redeclarable.h
  318   decl_type *getFirstDecl() {
  319     auto *D = static_cast<decl_type *>(this);
  322     return cast<decl_type>(getPrimaryMergedDecl(const_cast<decl_type*>(D)));
  327   const decl_type *getFirstDecl() const {
  328     const auto *D = static_cast<const decl_type *>(this);
  331     return cast<decl_type>(getPrimaryMergedDecl(const_cast<decl_type*>(D)));
tools/clang/lib/AST/DeclCXX.cpp
 2901 UsingPackDecl *UsingPackDecl::Create(ASTContext &C, DeclContext *DC,
 2905   return new (C, DC, Extra) UsingPackDecl(DC, InstantiatedFrom, UsingDecls);
 2908 UsingPackDecl *UsingPackDecl::CreateDeserialized(ASTContext &C, unsigned ID,
 2911   auto *Result = new (C, ID, Extra) UsingPackDecl(nullptr, nullptr, None);
 2911   auto *Result = new (C, ID, Extra) UsingPackDecl(nullptr, nullptr, None);
tools/clang/lib/AST/TextNodeDumper.cpp
   24 static void dumpPreviousDeclImpl(raw_ostream &OS, const Mergeable<T> *D) {
   25   const T *First = D->getFirstDecl();
tools/clang/lib/CodeGen/Address.h
  108 template <class U> inline U cast(CodeGen::Address addr) {
tools/clang/lib/CodeGen/CGDecl.cpp
  124     for (auto *Using : cast<UsingPackDecl>(D).expansions())
tools/clang/lib/Sema/SemaDeclCXX.cpp
10099     if (isa<UsingDecl>(D) || isa<UsingPackDecl>(D))
10656   auto *UPD =
10657       UsingPackDecl::Create(Context, CurContext, InstantiatedFrom, Expansions);
10716         if (!isa<TypeDecl>(D) && !isa<UsingDecl>(D) && !isa<UsingPackDecl>(D)) {
tools/clang/lib/Sema/SemaOverload.cpp
 1046     } else if (isa<UsingDecl>(OldD) || isa<UsingPackDecl>(OldD)) {
tools/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
 2957 Decl *TemplateDeclInstantiator::VisitUsingPackDecl(UsingPackDecl *D) {
 5173   } else if (auto *OtherUPD = dyn_cast<UsingPackDecl>(Other)) {
 5173   } else if (auto *OtherUPD = dyn_cast<UsingPackDecl>(Other)) {
tools/clang/lib/Sema/TreeTransform.h
10867     if (auto *UPD = dyn_cast<UsingPackDecl>(InstD))
10867     if (auto *UPD = dyn_cast<UsingPackDecl>(InstD))
13047   if (auto *UPD = dyn_cast<UsingPackDecl>(D)) {
13047   if (auto *UPD = dyn_cast<UsingPackDecl>(D)) {
tools/clang/lib/Serialization/ASTReaderDecl.cpp
  249       operator T*() const { return dyn_cast_or_null<T>(Existing); }
  249       operator T*() const { return dyn_cast_or_null<T>(Existing); }
  394     void VisitUsingPackDecl(UsingPackDecl *D);
  424     void mergeMergeable(Mergeable<T> *D);
 1601 void ASTDeclReader::VisitUsingPackDecl(UsingPackDecl *D) {
 2563     if (T *Existing = ExistingRes)
 3685     D = UsingPackDecl::CreateDeserialized(Context, ID, Record.readInt());
tools/clang/lib/Serialization/ASTWriterDecl.cpp
  113     void VisitUsingPackDecl(UsingPackDecl *D);
 1242 void ASTDeclWriter::VisitUsingPackDecl(UsingPackDecl *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>