Home
last modified time | relevance | path

Searched refs:UsingDecl (Results 1 – 20 of 20) sorted by relevance

/external/clang/lib/Sema/
DSemaTemplateInstantiateDecl.cpp1766 Decl *TemplateDeclInstantiator::VisitUsingDecl(UsingDecl *D) { in VisitUsingDecl()
1794 UsingDecl *NewUD = UsingDecl::Create(SemaRef.Context, Owner, in VisitUsingDecl()
1830 for (UsingDecl::shadow_iterator I = D->shadow_begin(), E = D->shadow_end(); in VisitUsingDecl()
1881 SemaRef.Context.setInstantiatedFromUsingDecl(cast<UsingDecl>(UD), D); in VisitUnresolvedUsingTypenameDecl()
1905 SemaRef.Context.setInstantiatedFromUsingDecl(cast<UsingDecl>(UD), D); in VisitUnresolvedUsingValueDecl()
2896 static bool isInstantiationOf(UsingDecl *Pattern, in isInstantiationOf()
2897 UsingDecl *Instance, in isInstantiationOf()
2903 UsingDecl *Instance, in isInstantiationOf()
2909 UsingDecl *Instance, in isInstantiationOf()
2935 if (UsingDecl *UD = dyn_cast<UsingDecl>(Other)) { in isInstantiationOf()
[all …]
DTreeTransform.h7095 if (isa<UsingDecl>(InstD)) { in TransformUnresolvedLookupExpr()
7096 UsingDecl *UD = cast<UsingDecl>(InstD); in TransformUnresolvedLookupExpr()
7097 for (UsingDecl::shadow_iterator I = UD->shadow_begin(), in TransformUnresolvedLookupExpr()
7547 if (isa<UsingDecl>(InstD)) { in TransformUnresolvedMemberExpr()
7548 UsingDecl *UD = cast<UsingDecl>(InstD); in TransformUnresolvedMemberExpr()
7549 for (UsingDecl::shadow_iterator I = UD->shadow_begin(), in TransformUnresolvedMemberExpr()
8191 if (isa<UsingDecl>(D)) { in RebuildUnresolvedUsingType()
8192 UsingDecl *Using = cast<UsingDecl>(D); in RebuildUnresolvedUsingType()
DSemaDeclCXX.cpp5069 bool Sema::CheckUsingShadowDecl(UsingDecl *Using, NamedDecl *Orig, in CheckUsingShadowDecl()
5197 UsingDecl *UD, in BuildUsingShadowDecl()
5341 D = UsingDecl::Create(Context, CurContext, UsingLoc, QualifierLoc, in BuildUsingDeclaration()
5348 UsingDecl *UD = cast<UsingDecl>(D); in BuildUsingDeclaration()
5428 bool Sema::CheckInheritedConstructorUsingDecl(UsingDecl *UD) { in CheckInheritedConstructorUsingDecl()
5489 if (UsingDecl *UD = dyn_cast<UsingDecl>(D)) { in CheckUsingDeclRedeclaration()
6135 UsingDecl *UD = dyn_cast_or_null<UsingDecl>( in DeclareInheritedConstructors()
DSemaLookup.cpp2311 assert(isa<UsingDecl>(Cand) && "illegal Kind of operator = Decl"); in LookupSpecialMember()
DSemaCodeComplete.cpp490 if (isa<UsingDecl>(ND)) in isInterestingDecl()
DSemaOverload.cpp622 } else if (isa<UsingDecl>(OldD)) { in CheckOverload()
/external/clang/include/clang/AST/
DDeclCXX.h2234 friend class UsingDecl;
2236 UsingShadowDecl(DeclContext *DC, SourceLocation Loc, UsingDecl *Using,
2250 SourceLocation Loc, UsingDecl *Using,
2268 UsingDecl *getUsingDecl() const;
2286 class UsingDecl : public NamedDecl {
2304 UsingDecl(DeclContext *DC, SourceLocation UL,
2390 static UsingDecl *Create(ASTContext &C, DeclContext *DC,
2401 static bool classof(const UsingDecl *D) { return true; }
DASTContext.h75 class UsingDecl; variable
282 llvm::DenseMap<UsingDecl *, NamedDecl *> InstantiatedFromUsingDecl;
389 NamedDecl *getInstantiatedFromUsingDecl(UsingDecl *Inst);
393 void setInstantiatedFromUsingDecl(UsingDecl *Inst, NamedDecl *Pattern);
DRecursiveASTVisitor.h1205 DEF_TRAVERSE_DECL(UsingDecl, {
/external/clang/lib/AST/
DDeclCXX.cpp1620 UsingDecl *UsingShadowDecl::getUsingDecl() const { in getUsingDecl()
1625 return cast<UsingDecl>(Shadow->UsingOrNextShadow); in getUsingDecl()
1628 void UsingDecl::addShadowDecl(UsingShadowDecl *S) { in addShadowDecl()
1638 void UsingDecl::removeShadowDecl(UsingShadowDecl *S) { in removeShadowDecl()
1658 UsingDecl *UsingDecl::Create(ASTContext &C, DeclContext *DC, SourceLocation UL, in Create()
1662 return new (C) UsingDecl(DC, UL, QualifierLoc, NameInfo, IsTypeNameArg); in Create()
DStmtDumper.cpp281 } else if (UsingDecl *UD = dyn_cast<UsingDecl>(D)) { in DumpDeclarator()
DDeclPrinter.cpp78 void VisitUsingDecl(UsingDecl *D);
971 void DeclPrinter::VisitUsingDecl(UsingDecl *D) { in VisitUsingDecl()
DDecl.cpp926 if (isa<UsingDecl>(this) && isa<UsingDecl>(OldD)) { in declarationReplaces()
929 cast<UsingDecl>(this)->getQualifier()) == in declarationReplaces()
931 cast<UsingDecl>(OldD)->getQualifier()); in declarationReplaces()
DASTContext.cpp500 ASTContext::getInstantiatedFromUsingDecl(UsingDecl *UUD) { in getInstantiatedFromUsingDecl()
501 llvm::DenseMap<UsingDecl *, NamedDecl *>::const_iterator Pos in getInstantiatedFromUsingDecl()
510 ASTContext::setInstantiatedFromUsingDecl(UsingDecl *Inst, NamedDecl *Pattern) { in setInstantiatedFromUsingDecl()
511 assert((isa<UsingDecl>(Pattern) || in setInstantiatedFromUsingDecl()
/external/clang/include/clang/Sema/
DTemplate.h366 Decl *VisitUsingDecl(UsingDecl *D);
DSema.h148 class UsingDecl; variable
2543 bool CheckUsingShadowDecl(UsingDecl *UD, NamedDecl *Target,
2545 UsingShadowDecl *BuildUsingShadowDecl(Scope *S, UsingDecl *UD,
2566 bool CheckInheritedConstructorUsingDecl(UsingDecl *UD);
/external/clang/tools/libclang/
DCIndex.cpp315 bool VisitUsingDecl(UsingDecl *D);
1141 bool CursorVisitor::VisitUsingDecl(UsingDecl *D) { in VisitUsingDecl()
3843 if (UsingDecl *Using = dyn_cast<UsingDecl>(D)) in clang_getCursorReferenced()
4046 return MakeCursorOverloadedDeclRef(cast<UsingDecl>(D), in clang_getCursorDefinition()
4172 if (UsingDecl *Using = dyn_cast<UsingDecl>(D)) in clang_getNumOverloadedDecls()
4199 if (UsingDecl *Using = dyn_cast<UsingDecl>(D)) { in clang_getOverloadedDecl()
4201 UsingDecl::shadow_iterator Pos = Using->shadow_begin(); in clang_getOverloadedDecl()
DCIndexUSRs.cpp96 void VisitUsingDecl(UsingDecl *D) { in VisitUsingDecl()
/external/clang/lib/Serialization/
DASTReaderDecl.cpp129 void VisitUsingDecl(UsingDecl *D);
816 void ASTDeclReader::VisitUsingDecl(UsingDecl *D) { in VisitUsingDecl()
1514 D = UsingDecl::Create(*Context, 0, SourceLocation(), in ReadDeclRecord()
DASTWriterDecl.cpp90 void VisitUsingDecl(UsingDecl *D);
839 void ASTDeclWriter::VisitUsingDecl(UsingDecl *D) { in VisitUsingDecl()