Home
last modified time | relevance | path

Searched refs:OrigDecl (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaTemplateDeductionGuide.cpp140 TypedefNameDecl *OrigDecl = TL.getTypedefNameDecl(); in TransformTypedefType() local
141 TypedefNameDecl *Decl = OrigDecl; in TransformTypedefType()
144 bool InDependentContext = OrigDecl->getDeclContext()->isDependentContext(); in TransformTypedefType()
162 OrigDecl, /*IsTypeAlias=*/isa<TypeAliasDecl>(OrigDecl))); in TransformTypedefType()
169 TransformType(InnerTLB, OrigDecl->getTypeSourceInfo()->getTypeLoc()); in TransformTypedefType()
171 if (isa<TypeAliasDecl>(OrigDecl)) in TransformTypedefType()
173 Context, Context.getTranslationUnitDecl(), OrigDecl->getBeginLoc(), in TransformTypedefType()
174 OrigDecl->getLocation(), OrigDecl->getIdentifier(), TSI); in TransformTypedefType()
176 assert(isa<TypedefDecl>(OrigDecl) && "Not a Type alias or typedef"); in TransformTypedefType()
178 Context, Context.getTranslationUnitDecl(), OrigDecl->getBeginLoc(), in TransformTypedefType()
[all …]
H A DSemaAccess.cpp1321 const NamedDecl *OrigDecl = Entity.getTargetDecl()->getUnderlyingDecl(); in IsMicrosoftUsingDeclarationAccessBug() local
1323 (OrigDecl->getAccess() == AS_public || in IsMicrosoftUsingDeclarationAccessBug()
1324 OrigDecl->getAccess() == AS_protected)) { in IsMicrosoftUsingDeclarationAccessBug()
1327 << OrigDecl->getQualifiedNameAsString(); in IsMicrosoftUsingDeclarationAccessBug()
H A DSemaDecl.cpp12455 Decl *OrigDecl; member in __anondd060bcd1e11::SelfReferenceChecker
12466 SelfReferenceChecker(Sema &S, Decl *OrigDecl) : Inherited(S.Context), in SelfReferenceChecker() argument
12467 S(S), OrigDecl(OrigDecl) { in SelfReferenceChecker()
12472 if (ValueDecl *VD = dyn_cast<ValueDecl>(OrigDecl)) { in SelfReferenceChecker()
12519 if (!DRE || DRE->getDecl() != OrigDecl) in CheckInitListMemberExpr()
12732 if (OrigDecl != ReferenceDecl) return; in HandleDeclRefExpr()
12736 } else if (cast<VarDecl>(OrigDecl)->isStaticLocal()) { in HandleDeclRefExpr()
12738 } else if (isa<TranslationUnitDecl>(OrigDecl->getDeclContext()) || in HandleDeclRefExpr()
12739 isa<NamespaceDecl>(OrigDecl->getDeclContext()) || in HandleDeclRefExpr()
12749 << DRE->getDecl() << OrigDecl->getLocation() in HandleDeclRefExpr()
[all …]