[cfe-commits] r42712 - /cfe/trunk/include/clang/AST/Decl.h
Chris Lattner
sabre at nondot.org
Sat Oct 6 16:30:21 PDT 2007
Author: lattner
Date: Sat Oct 6 18:30:21 2007
New Revision: 42712
URL: http://llvm.org/viewvc/llvm-project?rev=42712&view=rev
Log:
add comments.
Modified:
cfe/trunk/include/clang/AST/Decl.h
Modified: cfe/trunk/include/clang/AST/Decl.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/Decl.h?rev=42712&r1=42711&r2=42712&view=diff
==============================================================================
--- cfe/trunk/include/clang/AST/Decl.h (original)
+++ cfe/trunk/include/clang/AST/Decl.h Sat Oct 6 18:30:21 2007
@@ -111,6 +111,8 @@
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 @@
const char *getName() const;
- // FIXME: classof.
+ // FIXME: classof when the hierarchy is sorted out.
static bool classof(const NamedDecl *D) { return true; }
};
More information about the cfe-commits
mailing list