]> granicus.if.org Git - clang/commitdiff
add comments.
authorChris Lattner <sabre@nondot.org>
Sat, 6 Oct 2007 23:30:21 +0000 (23:30 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 6 Oct 2007 23:30:21 +0000 (23:30 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@42712 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/AST/Decl.h

index 5f45041a75b3774109b98eb7b4d816da1e7d9c68..5da94c0e4b8427b9a1a7396fbe561ae7493ee3b7 100644 (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; }
 };