Home
last modified time | relevance | path

Searched refs:AliasDecl (Results 1 – 7 of 7) sorted by relevance

/external/clang/lib/CodeGen/
DCGCXX.cpp113 bool CodeGenModule::TryEmitDefinitionAsAlias(GlobalDecl AliasDecl, in TryEmitDefinitionAsAlias() argument
121 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()
DItaniumCXXABI.cpp3183 GlobalDecl AliasDecl; in getCodegenToUse() local
3185 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() argument
3212 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()
DCGDebugInfo.cpp776 TypeAliasDecl *AliasDecl = cast<TypeAliasTemplateDecl>( in CreateType() local
779 SourceLocation Loc = AliasDecl->getLocation(); in CreateType()
782 getContextDescriptor(cast<Decl>(AliasDecl->getDeclContext()))); in CreateType()
/external/clang/lib/ASTMatchers/
DASTMatchFinder.cpp793 TypeAliasDecl *AliasDecl = dyn_cast<TypeAliasDecl>(Templated); in getAsCXXRecordDecl() local
794 assert(AliasDecl); in getAsCXXRecordDecl()
795 return getAsCXXRecordDecl(AliasDecl->getUnderlyingType().getTypePtr()); in getAsCXXRecordDecl()
/external/clang/test/SemaCXX/
Dcxx98-compat.cpp130 using AliasDecl = int; // expected-warning {{alias declarations are incompatible with C++98}} typedef
/external/clang/lib/Sema/
DSemaDeclObjC.cpp662 ObjCCompatibleAliasDecl *AliasDecl = in ActOnCompatibilityAlias() local
665 if (!CheckObjCDeclScope(AliasDecl)) in ActOnCompatibilityAlias()
666 PushOnScopeChains(AliasDecl, TUScope); in ActOnCompatibilityAlias()
668 return AliasDecl; in ActOnCompatibilityAlias()
DSemaDeclCXX.cpp8688 NamespaceAliasDecl *AliasDecl = in ActOnNamespaceAliasDef() local
8693 AliasDecl->setPreviousDecl(cast<NamespaceAliasDecl>(PrevDecl)); in ActOnNamespaceAliasDef()
8695 PushOnScopeChains(AliasDecl, S); in ActOnNamespaceAliasDef()
8696 return AliasDecl; in ActOnNamespaceAliasDef()