Home | History | Annotate | Download | only in AST

Lines Matching defs:NamedDecl

98 /// NamedDecl - This represents a decl with a name.  Many decls have names such
100 class NamedDecl : public Decl {
107 NamedDecl(Kind DK, DeclContext *DC, SourceLocation L, DeclarationName N)
158 /// This is the method invoked by Sema when displaying a NamedDecl
180 bool declarationReplaces(NamedDecl *OldD) const;
299 NamedDecl *getUnderlyingDecl();
300 const NamedDecl *getUnderlyingDecl() const {
301 return const_cast<NamedDecl*>(this)->getUnderlyingDecl();
305 static bool classof(const NamedDecl *D) { return true; }
309 inline raw_ostream &operator<<(raw_ostream &OS, const NamedDecl &ND) {
319 class LabelDecl : public NamedDecl {
328 : NamedDecl(Label, DC, IdentL, II), TheStmt(S), LocStart(StartL) {}
354 class NamespaceDecl : public NamedDecl, public DeclContext {
390 : NamedDecl(Namespace, DC, IdLoc, Id), DeclContext(Namespace),
497 class ValueDecl : public NamedDecl {
503 : NamedDecl(DK, DC, L, N), DeclType(T) {}
2180 NamedDecl **Chaining;
2185 NamedDecl **CH, unsigned CHS)
2191 QualType T, NamedDecl **CH, unsigned CHS);
2193 typedef NamedDecl * const *chain_iterator;
2218 class TypeDecl : public NamedDecl {
2235 : NamedDecl(DK, DC, L, Id), TypeForDecl(0), LocStart(StartL) {}
3074 /// Insertion operator for diagnostics. This allows sending NamedDecl's
3077 const NamedDecl* ND) {
3085 // Note: This routine is implemented here because we need both NamedDecl
3105 if (NamedDecl *ND = dyn_cast<NamedDecl>(static_cast<decl_type*>(this)))