From: Chris Lattner Date: Sat, 6 Oct 2007 23:30:21 +0000 (+0000) Subject: add comments. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=675218bd93229b0b63f172711391234f66f5f62a;p=clang add comments. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@42712 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/AST/Decl.h b/include/clang/AST/Decl.h index 5f45041a75..5da94c0e4b 100644 --- a/include/clang/AST/Decl.h +++ b/include/clang/AST/Decl.h @@ -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; } };