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

References

gen/tools/clang/include/clang/AST/AttrImpl.inc
 3012 DLLExportAttr *DLLExportAttr::clone(ASTContext &C) const {
 3013   auto *A = new (C) DLLExportAttr(C, *this);
 3013   auto *A = new (C) DLLExportAttr(C, *this);
11638     return cast<DLLExportAttr>(this)->getSpelling();
12218     return cast<DLLExportAttr>(this)->clone(C);
12798     return cast<DLLExportAttr>(this)->printPretty(OS, Policy);
gen/tools/clang/include/clang/AST/AttrVisitor.inc
  295   bool TraverseDLLExportAttr(DLLExportAttr *A);
  296   bool VisitDLLExportAttr(DLLExportAttr *A) {
 1875 bool VISITORCLASS<Derived>::TraverseDLLExportAttr(DLLExportAttr *A) {
 4098       return getDerived().TraverseDLLExportAttr(cast<DLLExportAttr>(A));
gen/tools/clang/include/clang/AST/Attrs.inc
 3946   static DLLExportAttr *CreateImplicit(ASTContext &Ctx, const AttributeCommonInfo &CommonInfo = {SourceRange{}}) {
 3947     auto *A = new (Ctx) DLLExportAttr(Ctx, CommonInfo);
 3947     auto *A = new (Ctx) DLLExportAttr(Ctx, CommonInfo);
 3954   static DLLExportAttr *Create(ASTContext &Ctx, const AttributeCommonInfo &CommonInfo = {SourceRange{}}) {
 3955     auto *A = new (Ctx) DLLExportAttr(Ctx, CommonInfo);
 3955     auto *A = new (Ctx) DLLExportAttr(Ctx, CommonInfo);
 3961   static DLLExportAttr *CreateImplicit(ASTContext &Ctx, SourceRange Range, AttributeCommonInfo::Syntax Syntax) {
 3965   static DLLExportAttr *Create(ASTContext &Ctx, SourceRange Range, AttributeCommonInfo::Syntax Syntax) {
 3975   DLLExportAttr *clone(ASTContext &C) const;
gen/tools/clang/include/clang/Sema/AttrTemplateInstantiate.inc
  366       const auto *A = cast<DLLExportAttr>(At);
  366       const auto *A = cast<DLLExportAttr>(At);
gen/tools/clang/include/clang/Serialization/AttrPCHRead.inc
  678     New = new (Context) DLLExportAttr(Context, Info);
gen/tools/clang/include/clang/Serialization/AttrPCHWrite.inc
  511     const auto *SA = cast<DLLExportAttr>(A);
  511     const auto *SA = cast<DLLExportAttr>(A);
include/llvm/ADT/STLExtras.h
   75       typename std::add_pointer<typename std::add_const<T>::type>::type;
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,
  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) {
  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/AttrIterator.h
   47     while (!isa<SpecificAttr>(*Current))
   52     while (Current != I && !isa<SpecificAttr>(*Current))
   57   using value_type = SpecificAttr *;
   58   using reference = SpecificAttr *;
   59   using pointer = SpecificAttr *;
   68     return cast<SpecificAttr>(*Current);
  101 inline specific_attr_iterator<SpecificAttr, Container>
  106 inline specific_attr_iterator<SpecificAttr, Container>
  113   return specific_attr_begin<SpecificAttr>(container) !=
  114           specific_attr_end<SpecificAttr>(container);
  117 inline SpecificAttr *getSpecificAttr(const Container& container) {
  118   specific_attr_iterator<SpecificAttr, Container> i =
  119       specific_attr_begin<SpecificAttr>(container);
  120   if (i != specific_attr_end<SpecificAttr>(container))
tools/clang/include/clang/AST/DeclBase.h
  517     Vec.erase(std::remove_if(Vec.begin(), Vec.end(), isa<T, Attr*>), Vec.end());
  538   template<typename T> T *getAttr() const {
  539     return hasAttrs() ? getSpecificAttr<T>(getAttrs()) : nullptr;
  543     return hasAttrs() && hasSpecificAttr<T>(getAttrs());
tools/clang/include/clang/Sema/Sema.h
 2799   DLLExportAttr *mergeDLLExportAttr(Decl *D, const AttributeCommonInfo &CI);
tools/clang/include/clang/Sema/SemaInternal.h
   59   if (auto *Export = D->getAttr<DLLExportAttr>())
   59   if (auto *Export = D->getAttr<DLLExportAttr>())
tools/clang/lib/AST/ASTContext.cpp
 9798        !FD->hasAttr<DLLExportAttr>()) ||
 9827   } else if (D->hasAttr<DLLExportAttr>()) {
tools/clang/lib/AST/Decl.cpp
 3228       !hasAttr<DLLExportAttr>())
tools/clang/lib/AST/Mangle.cpp
  401         if (CD->hasAttr<DLLExportAttr>() && CD->isDefaultConstructor())
tools/clang/lib/CodeGen/Address.h
  108 template <class U> inline U cast(CodeGen::Address addr) {
tools/clang/lib/CodeGen/CGBlocks.cpp
 2966     if (GV->isDeclaration() && (!ND || !ND->hasAttr<DLLExportAttr>())) {
tools/clang/lib/CodeGen/CGObjCGNU.cpp
 1242         else if (OID->hasAttr<DLLExportAttr>())
 1771           else if (SuperClassDecl->hasAttr<DLLExportAttr>())
 1935       if (OID->getClassInterface()->hasAttr<DLLExportAttr>()) {
tools/clang/lib/CodeGen/CGObjCMac.cpp
 6365   if (VD->hasAttr<DLLExportAttr>())
 6406                            ? !CI->hasAttr<DLLExportAttr>()
 6746       else if (ContainingID->hasAttr<DLLExportAttr>() && !IsPrivateOrPackage)
tools/clang/lib/CodeGen/CGVTables.cpp
  881   if (RD->hasAttr<DLLExportAttr>()) {
 1017     if (RD->hasAttr<DLLExportAttr>() || RD->hasAttr<DLLImportAttr>())
tools/clang/lib/CodeGen/CodeGenModule.cpp
  874     else if (D->hasAttr<DLLExportAttr>() && !GV->isDeclarationForLinker())
 3127     if (D && !D->hasAttr<DLLImportAttr>() && !D->hasAttr<DLLExportAttr>()) {
 3420     if (D && !D->hasAttr<DLLImportAttr>() && !D->hasAttr<DLLExportAttr>())
 4061   else if (D->hasAttr<DLLExportAttr>())
 4688           if (!VD || !VD->hasAttr<DLLExportAttr>())
tools/clang/lib/CodeGen/ItaniumCXXABI.cpp
 3369     if (RD && RD->hasAttr<DLLExportAttr>())
 3837       RD->hasAttr<DLLExportAttr>()
tools/clang/lib/CodeGen/MicrosoftCXXABI.cpp
 1225   if (D->hasAttr<DLLExportAttr>() && D->isDefaultConstructor())
 1322     if (Dtor->hasAttr<DLLExportAttr>())
 1849   if (RD->hasAttr<DLLExportAttr>())
 2068   else if (RD->hasAttr<DLLExportAttr>())
tools/clang/lib/Sema/Sema.cpp
  671     if (ND->hasAttr<DLLImportAttr>() || ND->hasAttr<DLLExportAttr>()) {
tools/clang/lib/Sema/SemaDecl.cpp
 2541   else if (const auto *ExportA = dyn_cast<DLLExportAttr>(Attr))
 2541   else if (const auto *ExportA = dyn_cast<DLLExportAttr>(Attr))
 6245   const DLLExportAttr *OldExportAttr = OldDecl->getAttr<DLLExportAttr>();
 6245   const DLLExportAttr *OldExportAttr = OldDecl->getAttr<DLLExportAttr>();
 6247   const DLLExportAttr *NewExportAttr = NewDecl->getAttr<DLLExportAttr>();
 6247   const DLLExportAttr *NewExportAttr = NewDecl->getAttr<DLLExportAttr>();
 6320           DLLExportAttr::CreateImplicit(S.Context, NewImportAttr->getRange()));
 6347       if (const DLLExportAttr *ParentExportAttr =
 6348               MD->getParent()->getAttr<DLLExportAttr>()) {
 6349         DLLExportAttr *NewAttr = ParentExportAttr->clone(S.Context);
11945         VDecl->hasAttr<DLLExportAttr>() && VDecl->getDefinition())
12594     auto *NewAttr = DLLExportAttr::CreateImplicit(getASTContext(), *A);
12594     auto *NewAttr = DLLExportAttr::CreateImplicit(getASTContext(), *A);
12600     if (!FD->hasAttr<DLLExportAttr>())
tools/clang/lib/Sema/SemaDeclAttr.cpp
 5951   if (D->hasAttr<DLLExportAttr>()) {
 5962 DLLExportAttr *Sema::mergeDLLExportAttr(Decl *D,
 5969   if (D->hasAttr<DLLExportAttr>())
 5972   return ::new (Context) DLLExportAttr(Context, CI);
tools/clang/lib/Sema/SemaDeclCXX.cpp
 5771     if (VD && Member->getAttr<DLLExportAttr>() &&
 5780     if (Member->getAttr<DLLExportAttr>()) {
 5828     auto *Attr = CD->getAttr<DLLExportAttr>();
 5828     auto *Attr = CD->getAttr<DLLExportAttr>();
 5927     Class->dropAttr<DLLExportAttr>();
 6423         M->hasAttr<DLLExportAttr>()) {
 6428         M->dropAttr<DLLExportAttr>();
 6430       if (M->hasAttr<DLLExportAttr>()) {
tools/clang/lib/Sema/SemaExpr.cpp
15419   if (Func->isTrivial() && !Func->hasAttr<DLLExportAttr>() &&
15495                 !Constructor->hasAttr<DLLExportAttr>())
15510           if (Destructor->isTrivial() && !Destructor->hasAttr<DLLExportAttr>())
tools/clang/lib/Sema/SemaTemplate.cpp
 8105   D->dropAttr<DLLExportAttr>();
 9005     if (auto *A = ClassTemplate->getTemplatedDecl()->getAttr<DLLExportAttr>()) {
 9005     if (auto *A = ClassTemplate->getTemplatedDecl()->getAttr<DLLExportAttr>()) {
 9140   bool PreviouslyDLLExported = Specialization->hasAttr<DLLExportAttr>();
 9203         !PreviouslyDLLExported && Specialization->hasAttr<DLLExportAttr>();
 9228         PrevDecl->hasAttr<DLLExportAttr>()) {
tools/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
  589       if (New->hasAttr<DLLExportAttr>() || New->hasAttr<DLLImportAttr>()) {
 4158   DLLExportAttr *Attr = Ctor->getAttr<DLLExportAttr>();
 4158   DLLExportAttr *Attr = Ctor->getAttr<DLLExportAttr>();
usr/include/c++/7.4.0/type_traits
 1558     { typedef _Tp     type; };
 1580     { typedef _Tp const     type; };