Lines Matching defs:NamedDecl

49   NamedDecl *Function;
51 AnyFunctionDecl(NamedDecl *ND) : Function(ND) { }
59 operator NamedDecl *() const { return Function; }
62 NamedDecl *get() const { return Function; }
64 static AnyFunctionDecl getFromNamedDecl(NamedDecl *ND) {
81 static_cast< ::clang::NamedDecl*>(P));
1082 void removeConversion(const NamedDecl *Old);
2533 /// \note UsingDirectiveDecl should be Decl not NamedDecl, but we provide
2536 class UsingDirectiveDecl : public NamedDecl {
2548 NamedDecl *NominatedNamespace;
2566 NamedDecl *Nominated,
2568 : NamedDecl(UsingDirective, DC, IdentLoc, getName()), UsingLoc(UsingLoc),
2583 NamedDecl *getNominatedNamespaceAsWritten() { return NominatedNamespace; }
2584 const NamedDecl *getNominatedNamespaceAsWritten() const {
2615 NamedDecl *Nominated,
2639 class NamespaceAliasDecl : public NamedDecl {
2655 NamedDecl *Namespace;
2660 SourceLocation IdentLoc, NamedDecl *Namespace)
2661 : NamedDecl(NamespaceAlias, DC, AliasLoc, Alias),
2702 NamedDecl *getAliasedNamespace() const { return Namespace; }
2710 NamedDecl *Namespace);
2735 class UsingShadowDecl : public NamedDecl, public Redeclarable<UsingShadowDecl> {
2739 NamedDecl *Underlying;
2743 NamedDecl *UsingOrNextShadow;
2747 UsingDecl *Using, NamedDecl *Target)
2748 : NamedDecl(UsingShadow, DC, Loc, DeclarationName()),
2750 UsingOrNextShadow(reinterpret_cast<NamedDecl *>(Using)) {
2772 NamedDecl *Target) {
2795 NamedDecl *getTargetDecl() const { return Underlying; }
2799 void setTargetDecl(NamedDecl* ND) {
2827 class UsingDecl : public NamedDecl {
2850 : NamedDecl(Using, DC, NameInfo.getLoc(), NameInfo.getName()),