Searched refs:UsingDecl (Results 1 - 22 of 22) sorted by relevance

/freebsd-9.3-release/contrib/llvm/tools/clang/lib/AST/
H A DDeclCXX.cpp1984 UsingDecl *UsingShadowDecl::getUsingDecl() const {
1989 return cast<UsingDecl>(Shadow->UsingOrNextShadow);
1992 void UsingDecl::anchor() { }
1994 void UsingDecl::addShadowDecl(UsingShadowDecl *S) {
2004 void UsingDecl::removeShadowDecl(UsingShadowDecl *S) {
2025 UsingDecl *UsingDecl::Create(ASTContext &C, DeclContext *DC, SourceLocation UL,
2029 return new (C) UsingDecl(DC, UL, QualifierLoc, NameInfo, HasTypename);
2032 UsingDecl *UsingDecl
[all...]
H A DDeclPrinter.cpp83 void VisitUsingDecl(UsingDecl *D);
1159 void DeclPrinter::VisitUsingDecl(UsingDecl *D) {
H A DASTDumper.cpp241 void VisitUsingDecl(const UsingDecl *D);
1201 void ASTDumper::VisitUsingDecl(const UsingDecl *D) {
H A DDecl.cpp1402 if (isa<UsingDecl>(this) && isa<UsingDecl>(OldD)) {
1405 cast<UsingDecl>(this)->getQualifier()) ==
1407 cast<UsingDecl>(OldD)->getQualifier());
H A DASTContext.cpp1122 ASTContext::getInstantiatedFromUsingDecl(UsingDecl *UUD) {
1123 llvm::DenseMap<UsingDecl *, NamedDecl *>::const_iterator Pos
1132 ASTContext::setInstantiatedFromUsingDecl(UsingDecl *Inst, NamedDecl *Pattern) {
1133 assert((isa<UsingDecl>(Pattern) ||
/freebsd-9.3-release/contrib/llvm/tools/clang/include/clang/AST/
H A DDeclCXX.h45 class UsingDecl;
2662 /// using A::foo; // <- a UsingDecl
2675 friend class UsingDecl;
2677 UsingShadowDecl(DeclContext *DC, SourceLocation Loc, UsingDecl *Using,
2702 SourceLocation Loc, UsingDecl *Using,
2735 UsingDecl *getUsingDecl() const;
2756 class UsingDecl : public NamedDecl { class in namespace:clang
2776 UsingDecl(DeclContext *DC, SourceLocation UL, function in class:clang::UsingDecl
2865 static UsingDecl *Create(ASTContext &C, DeclContext *DC,
2871 static UsingDecl *CreateDeserialize
[all...]
H A DASTContext.h67 class UsingDecl;
319 /// \brief Keeps track of the declaration from which a UsingDecl was
322 /// The source declaration is always a UsingDecl, an UnresolvedUsingValueDecl,
340 /// This mapping will contain an entry that maps from the UsingDecl in
342 llvm::DenseMap<UsingDecl *, NamedDecl *> InstantiatedFromUsingDecl;
665 NamedDecl *getInstantiatedFromUsingDecl(UsingDecl *Inst);
669 void setInstantiatedFromUsingDecl(UsingDecl *Inst, NamedDecl *Pattern);
H A DRecursiveASTVisitor.h1429 DEF_TRAVERSE_DECL(UsingDecl, {
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGDebugInfo.h39 class UsingDecl;
274 void EmitUsingDecl(const UsingDecl &UD);
H A DCGDecl.cpp100 DI->EmitUsingDecl(cast<UsingDecl>(D));
H A DCGDebugInfo.cpp3191 void CGDebugInfo::EmitUsingDecl(const UsingDecl &UD) {
3195 "We shouldn't be codegening an invalid UsingDecl containing no decls");
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/Sema/
H A DSemaTemplateInstantiateDecl.cpp2103 Decl *TemplateDeclInstantiator::VisitUsingDecl(UsingDecl *D) {
2131 UsingDecl *NewUD = UsingDecl::Create(SemaRef.Context, Owner,
2173 for (UsingDecl::shadow_iterator I = D->shadow_begin(), E = D->shadow_end();
2203 // Ignore these; we handle them in bulk when processing the UsingDecl.
2227 SemaRef.Context.setInstantiatedFromUsingDecl(cast<UsingDecl>(UD), D);
2251 SemaRef.Context.setInstantiatedFromUsingDecl(cast<UsingDecl>(UD), D);
4185 static bool isInstantiationOf(UsingDecl *Pattern,
4186 UsingDecl *Instance,
4192 UsingDecl *Instanc
[all...]
H A DTreeTransform.h7832 if (isa<UsingDecl>(InstD)) {
7833 UsingDecl *UD = cast<UsingDecl>(InstD);
7834 for (UsingDecl::shadow_iterator I = UD->shadow_begin(),
8737 if (isa<UsingDecl>(InstD)) {
8738 UsingDecl *UD = cast<UsingDecl>(InstD);
8739 for (UsingDecl::shadow_iterator I = UD->shadow_begin(),
9584 if (isa<UsingDecl>(D)) {
9585 UsingDecl *Usin
[all...]
H A DSemaDeclCXX.cpp7055 bool Sema::CheckUsingShadowDecl(UsingDecl *Using, NamedDecl *Orig,
7190 UsingDecl *UD,
7374 D = UsingDecl::Create(Context, CurContext, UsingLoc, QualifierLoc,
7381 UsingDecl *UD = cast<UsingDecl>(D);
7484 bool Sema::CheckInheritingConstructorUsingDecl(UsingDecl *UD) {
7545 if (UsingDecl *UD = dyn_cast<UsingDecl>(D)) {
7665 // in the UsingDecl and UsingShadowDecl so that these checks didn't
H A DSemaLookup.cpp2596 assert(isa<UsingDecl>(Cand) && "illegal Kind of operator = Decl");
H A DSemaCodeComplete.cpp505 if (isa<UsingDecl>(ND))
H A DSemaOverload.cpp956 } else if (isa<UsingDecl>(OldD)) {
/freebsd-9.3-release/contrib/llvm/tools/clang/include/clang/ASTMatchers/
H A DASTMatchers.h659 const internal::VariadicDynCastAllOfMatcher<Decl, UsingDecl> usingDecl;
1955 if (const UsingShadowDecl *UsingDecl = dyn_cast<UsingShadowDecl>(FoundDecl))
1956 return InnerMatcher.matches(*UsingDecl, Finder, Builder);
2751 AST_MATCHER_P(UsingDecl, hasAnyUsingShadowDecl,
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/Index/
H A DUSRGeneration.cpp74 void VisitUsingDecl(const UsingDecl *D) {
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/Serialization/
H A DASTWriterDecl.cpp100 void VisitUsingDecl(UsingDecl *D);
930 void ASTDeclWriter::VisitUsingDecl(UsingDecl *D) {
H A DASTReaderDecl.cpp274 void VisitUsingDecl(UsingDecl *D);
1127 void ASTDeclReader::VisitUsingDecl(UsingDecl *D) {
2413 D = UsingDecl::CreateDeserialized(Context, ID);
/freebsd-9.3-release/contrib/llvm/tools/clang/include/clang/Sema/
H A DSema.h173 class UsingDecl;
3671 bool CheckUsingShadowDecl(UsingDecl *UD, NamedDecl *Target,
3674 UsingShadowDecl *BuildUsingShadowDecl(Scope *S, UsingDecl *UD,
3696 bool CheckInheritingConstructorUsingDecl(UsingDecl *UD);

Completed in 344 milliseconds