| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/misc/ |
| H A D | UnusedAliasDeclsCheck.cpp | 29 if (const auto *AliasDecl = Result.Nodes.getNodeAs<NamedDecl>("alias")) { in check() local 30 FoundDecls[AliasDecl] = CharSourceRange::getCharRange( in check() 31 AliasDecl->getBeginLoc(), in check() 33 AliasDecl->getEndLoc(), tok::semi, *Result.SourceManager, in check() 41 if (const auto *AliasDecl = NestedName->getAsNamespaceAlias()) { in check() local 42 FoundDecls[AliasDecl] = CharSourceRange(); in check()
|
| /llvm-project-15.0.7/clang/test/Modules/ |
| H A D | no-linkage.cpp | 8 int AliasDecl; // expected-note {{candidate}} variable 33 use(AliasDecl); in use_things() 48 use(AliasDecl); // expected-error {{ambiguous}} in use_things_again()
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CGCXX.cpp | 112 GlobalDecl AliasDecl(D, Dtor_Base); in TryEmitBaseDestructorAsAlias() local 117 llvm::GlobalValue::LinkageTypes Linkage = getFunctionLinkage(AliasDecl); in TryEmitBaseDestructorAsAlias() 127 StringRef MangledName = getMangledName(AliasDecl); in TryEmitBaseDestructorAsAlias() 135 llvm::Type *AliasValueType = getTypes().GetFunctionType(AliasDecl); in TryEmitBaseDestructorAsAlias() 202 SetCommonAttributes(AliasDecl, Alias); in TryEmitBaseDestructorAsAlias()
|
| H A D | ItaniumCXXABI.cpp | 4236 GlobalDecl AliasDecl; in getCodegenToUse() local 4238 AliasDecl = GlobalDecl(DD, Dtor_Complete); in getCodegenToUse() 4241 AliasDecl = GlobalDecl(CD, Ctor_Complete); in getCodegenToUse() 4243 llvm::GlobalValue::LinkageTypes Linkage = CGM.getFunctionLinkage(AliasDecl); in getCodegenToUse() 4264 GlobalDecl AliasDecl, in emitConstructorDestructorAlias() argument 4266 llvm::GlobalValue::LinkageTypes Linkage = CGM.getFunctionLinkage(AliasDecl); in emitConstructorDestructorAlias() 4268 StringRef MangledName = CGM.getMangledName(AliasDecl); in emitConstructorDestructorAlias() 4293 CGM.SetCommonAttributes(AliasDecl, Alias); in emitConstructorDestructorAlias()
|
| H A D | CGDebugInfo.cpp | 1269 auto *AliasDecl = in CreateType() local 1273 if (AliasDecl->hasAttr<NoDebugAttr>()) in CreateType() 1282 SourceLocation Loc = AliasDecl->getLocation(); in CreateType() 1285 getDeclContextDescriptor(AliasDecl)); in CreateType()
|
| /llvm-project-15.0.7/clang/test/Modules/Inputs/no-linkage/ |
| H A D | decls.h | 4 using AliasDecl = int; variable
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/ |
| H A D | LoopConvertUtils.h | 324 const DeclStmt *getAliasDecl() const { return AliasDecl; } in getAliasDecl() 382 const DeclStmt *AliasDecl; variable
|
| H A D | LoopConvertCheck.h | 47 const DeclStmt *AliasDecl, bool AliasUseRequired,
|
| H A D | LoopConvertUtils.cpp | 464 OnlyUsedAsIndex(true), AliasDecl(nullptr), in ForLoopIndexUseVisitor() 807 if (!AliasDecl && S->isSingleDecl() && in VisitDeclStmt() 809 AliasDecl = S; in VisitDeclStmt()
|
| H A D | LoopConvertCheck.cpp | 538 const DeclStmt *AliasDecl, bool AliasUseRequired, bool AliasFromForInit, in doConversion() argument 541 bool VarNameFromAlias = (Usages.size() == 1) && AliasDecl; in doConversion() 546 const auto *AliasVar = cast<VarDecl>(AliasDecl->getSingleDecl()); in doConversion() 561 SourceRange ReplaceRange = AliasDecl->getSourceRange(); in doConversion()
|
| /llvm-project-15.0.7/clang/include/clang/Sema/ |
| H A D | DeclSpec.h | 1787 AliasDecl, // C++11 alias-declaration. enumerator 2038 case DeclaratorContext::AliasDecl: in mayOmitIdentifier() 2085 case DeclaratorContext::AliasDecl: in mayHaveIdentifier() 2125 case DeclaratorContext::AliasDecl: in mayHaveDecompositionDeclarator() 2188 case DeclaratorContext::AliasDecl: in mayBeFollowedByCXXDirectInit() 2402 case DeclaratorContext::AliasDecl: in isFunctionDeclarationContext() 2438 case DeclaratorContext::AliasDecl: in isExpressionContext()
|
| /llvm-project-15.0.7/clang/test/SemaCXX/ |
| H A D | cxx98-compat.cpp | 137 using AliasDecl = int; // expected-warning {{alias declarations are incompatible with C++98}} typedef
|
| /llvm-project-15.0.7/llvm/lib/Transforms/IPO/ |
| H A D | LowerTypeTests.cpp | 1075 Function *AliasDecl = Function::Create( in importFunction() local 1078 AliasDecl->takeName(A); in importFunction() 1079 A->replaceAllUsesWith(AliasDecl); in importFunction()
|
| /llvm-project-15.0.7/llvm/tools/llvm-c-test/ |
| H A D | echo.cpp | 1005 goto AliasDecl; in declare_symbols() 1045 AliasDecl: in declare_symbols()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaType.cpp | 3547 case DeclaratorContext::AliasDecl: in GetDeclSpecTypeForDeclarator() 3667 case DeclaratorContext::AliasDecl: in GetDeclSpecTypeForDeclarator() 4541 D.getContext() == DeclaratorContext::AliasDecl || in GetFullTypeForDeclarator() 4752 case DeclaratorContext::AliasDecl: in GetFullTypeForDeclarator() 5283 << (D.getContext() == DeclaratorContext::AliasDecl || in GetFullTypeForDeclarator() 5806 case DeclaratorContext::AliasDecl: in GetFullTypeForDeclarator() 6516 D.getContext() != DeclaratorContext::AliasDecl && in ActOnTypeName()
|
| H A D | SemaDeclObjC.cpp | 1176 ObjCCompatibleAliasDecl *AliasDecl = in ActOnCompatibilityAlias() local 1179 if (!CheckObjCDeclScope(AliasDecl)) in ActOnCompatibilityAlias() 1180 PushOnScopeChains(AliasDecl, TUScope); in ActOnCompatibilityAlias() 1182 return AliasDecl; in ActOnCompatibilityAlias()
|
| H A D | SemaDeclCXX.cpp | 13171 NamespaceAliasDecl *AliasDecl = in ActOnNamespaceAliasDef() local 13176 AliasDecl->setPreviousDecl(Prev); in ActOnNamespaceAliasDef() 13178 PushOnScopeChains(AliasDecl, S); in ActOnNamespaceAliasDef() 13179 return AliasDecl; in ActOnNamespaceAliasDef()
|
| /llvm-project-15.0.7/clang/lib/Parse/ |
| H A D | ParseDecl.cpp | 2891 if (Context == DeclaratorContext::AliasDecl || in getDeclSpecContextFromDeclaratorContext() 6263 else if (D.getContext() == DeclaratorContext::AliasDecl || in ParseDirectDeclarator()
|
| H A D | ParseDeclCXX.cpp | 888 : DeclaratorContext::AliasDecl, in ParseAliasDeclarationAfterDeclarator()
|