/external/clang/lib/Sema/ |
D | SemaTemplateInstantiateDecl.cpp | 1766 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 …]
|
D | TreeTransform.h | 7095 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()
|
D | SemaDeclCXX.cpp | 5069 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()
|
D | SemaLookup.cpp | 2311 assert(isa<UsingDecl>(Cand) && "illegal Kind of operator = Decl"); in LookupSpecialMember()
|
D | SemaCodeComplete.cpp | 490 if (isa<UsingDecl>(ND)) in isInterestingDecl()
|
D | SemaOverload.cpp | 622 } else if (isa<UsingDecl>(OldD)) { in CheckOverload()
|
/external/clang/include/clang/AST/ |
D | DeclCXX.h | 2234 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; }
|
D | ASTContext.h | 75 class UsingDecl; variable 282 llvm::DenseMap<UsingDecl *, NamedDecl *> InstantiatedFromUsingDecl; 389 NamedDecl *getInstantiatedFromUsingDecl(UsingDecl *Inst); 393 void setInstantiatedFromUsingDecl(UsingDecl *Inst, NamedDecl *Pattern);
|
D | RecursiveASTVisitor.h | 1205 DEF_TRAVERSE_DECL(UsingDecl, {
|
/external/clang/lib/AST/ |
D | DeclCXX.cpp | 1620 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()
|
D | StmtDumper.cpp | 281 } else if (UsingDecl *UD = dyn_cast<UsingDecl>(D)) { in DumpDeclarator()
|
D | DeclPrinter.cpp | 78 void VisitUsingDecl(UsingDecl *D); 971 void DeclPrinter::VisitUsingDecl(UsingDecl *D) { in VisitUsingDecl()
|
D | Decl.cpp | 926 if (isa<UsingDecl>(this) && isa<UsingDecl>(OldD)) { in declarationReplaces() 929 cast<UsingDecl>(this)->getQualifier()) == in declarationReplaces() 931 cast<UsingDecl>(OldD)->getQualifier()); in declarationReplaces()
|
D | ASTContext.cpp | 500 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/ |
D | Template.h | 366 Decl *VisitUsingDecl(UsingDecl *D);
|
D | Sema.h | 148 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/ |
D | CIndex.cpp | 315 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()
|
D | CIndexUSRs.cpp | 96 void VisitUsingDecl(UsingDecl *D) { in VisitUsingDecl()
|
/external/clang/lib/Serialization/ |
D | ASTReaderDecl.cpp | 129 void VisitUsingDecl(UsingDecl *D); 816 void ASTDeclReader::VisitUsingDecl(UsingDecl *D) { in VisitUsingDecl() 1514 D = UsingDecl::Create(*Context, 0, SourceLocation(), in ReadDeclRecord()
|
D | ASTWriterDecl.cpp | 90 void VisitUsingDecl(UsingDecl *D); 839 void ASTDeclWriter::VisitUsingDecl(UsingDecl *D) { in VisitUsingDecl()
|