Searched refs:AliasDecl (Results 1 – 7 of 7) sorted by relevance
113 bool CodeGenModule::TryEmitDefinitionAsAlias(GlobalDecl AliasDecl, in TryEmitDefinitionAsAlias() argument121 llvm::GlobalValue::LinkageTypes Linkage = getFunctionLinkage(AliasDecl); in TryEmitDefinitionAsAlias()128 if (AliasDecl.getDecl()->hasAttr<DLLExportAttr>() && in TryEmitDefinitionAsAlias()136 StringRef MangledName = getMangledName(AliasDecl); in TryEmitDefinitionAsAlias()145 = getTypes().GetFunctionType(AliasDecl)->getPointerTo(); in TryEmitDefinitionAsAlias()200 setAliasAttributes(cast<NamedDecl>(AliasDecl.getDecl()), Alias); in TryEmitDefinitionAsAlias()
3183 GlobalDecl AliasDecl; in getCodegenToUse() local3185 AliasDecl = GlobalDecl(DD, Dtor_Complete); in getCodegenToUse()3188 AliasDecl = GlobalDecl(CD, Ctor_Complete); in getCodegenToUse()3190 llvm::GlobalValue::LinkageTypes Linkage = CGM.getFunctionLinkage(AliasDecl); in getCodegenToUse()3210 GlobalDecl AliasDecl, in emitConstructorDestructorAlias() argument3212 llvm::GlobalValue::LinkageTypes Linkage = CGM.getFunctionLinkage(AliasDecl); in emitConstructorDestructorAlias()3214 StringRef MangledName = CGM.getMangledName(AliasDecl); in emitConstructorDestructorAlias()3238 CGM.setAliasAttributes(cast<NamedDecl>(AliasDecl.getDecl()), Alias); in emitConstructorDestructorAlias()
776 TypeAliasDecl *AliasDecl = cast<TypeAliasTemplateDecl>( in CreateType() local779 SourceLocation Loc = AliasDecl->getLocation(); in CreateType()782 getContextDescriptor(cast<Decl>(AliasDecl->getDeclContext()))); in CreateType()
793 TypeAliasDecl *AliasDecl = dyn_cast<TypeAliasDecl>(Templated); in getAsCXXRecordDecl() local794 assert(AliasDecl); in getAsCXXRecordDecl()795 return getAsCXXRecordDecl(AliasDecl->getUnderlyingType().getTypePtr()); in getAsCXXRecordDecl()
130 using AliasDecl = int; // expected-warning {{alias declarations are incompatible with C++98}} typedef
662 ObjCCompatibleAliasDecl *AliasDecl = in ActOnCompatibilityAlias() local665 if (!CheckObjCDeclScope(AliasDecl)) in ActOnCompatibilityAlias()666 PushOnScopeChains(AliasDecl, TUScope); in ActOnCompatibilityAlias()668 return AliasDecl; in ActOnCompatibilityAlias()
8688 NamespaceAliasDecl *AliasDecl = in ActOnNamespaceAliasDef() local8693 AliasDecl->setPreviousDecl(cast<NamespaceAliasDecl>(PrevDecl)); in ActOnNamespaceAliasDef()8695 PushOnScopeChains(AliasDecl, S); in ActOnNamespaceAliasDef()8696 return AliasDecl; in ActOnNamespaceAliasDef()