Searched refs:AliasDecl (Results 1 – 6 of 6) sorted by relevance
112 bool CodeGenModule::TryEmitDefinitionAsAlias(GlobalDecl AliasDecl, in TryEmitDefinitionAsAlias() argument120 llvm::GlobalValue::LinkageTypes Linkage = getFunctionLinkage(AliasDecl); in TryEmitDefinitionAsAlias()130 StringRef MangledName = getMangledName(AliasDecl); in TryEmitDefinitionAsAlias()139 = getTypes().GetFunctionType(AliasDecl)->getPointerTo(); in TryEmitDefinitionAsAlias()194 SetCommonAttributes(cast<NamedDecl>(AliasDecl.getDecl()), Alias); in TryEmitDefinitionAsAlias()
738 TypeAliasDecl *AliasDecl = in CreateType() local742 SourceLocation Loc = AliasDecl->getLocation(); in CreateType()746 llvm::DIDescriptor Ctxt = getContextDescriptor(cast<Decl>(AliasDecl->getDeclContext())); in CreateType()
654 TypeAliasDecl *AliasDecl = dyn_cast<TypeAliasDecl>(Templated); in getAsCXXRecordDecl() local655 assert(AliasDecl); in getAsCXXRecordDecl()656 return getAsCXXRecordDecl(AliasDecl->getUnderlyingType().getTypePtr()); in getAsCXXRecordDecl()
130 using AliasDecl = int; // expected-warning {{alias declarations are incompatible with C++98}} typedef
666 ObjCCompatibleAliasDecl *AliasDecl = in ActOnCompatibilityAlias() local669 if (!CheckObjCDeclScope(AliasDecl)) in ActOnCompatibilityAlias()670 PushOnScopeChains(AliasDecl, TUScope); in ActOnCompatibilityAlias()672 return AliasDecl; in ActOnCompatibilityAlias()
8232 NamespaceAliasDecl *AliasDecl = in ActOnNamespaceAliasDef() local8237 PushOnScopeChains(AliasDecl, S); in ActOnNamespaceAliasDef()8238 return AliasDecl; in ActOnNamespaceAliasDef()