add comments.

llvm-svn: 42712
This commit is contained in:
Chris Lattner 2007-10-06 23:30:21 +00:00
parent 6a2b09ecd9
commit efc0b5e372
1 changed files with 3 additions and 1 deletions

View File

@ -111,6 +111,8 @@ public:
static bool classof(const Decl *) { return true; }
};
/// NamedDecl - This represents a decl with an identifier for a name. Many
/// decls have names, but not ObjcMethodDecl, @class, etc.
class NamedDecl : public Decl {
/// Identifier - The identifier for this declaration (e.g. the name for the
/// variable, the tag for a struct).
@ -123,7 +125,7 @@ public:
const char *getName() const;
// FIXME: classof.
// FIXME: classof when the hierarchy is sorted out.
static bool classof(const NamedDecl *D) { return true; }
};