Add a 'const' in a comment.
authorDan Gohman <gohman@apple.com>
Sat, 27 Jun 2009 20:53:16 +0000 (20:53 +0000)
committerDan Gohman <gohman@apple.com>
Sat, 27 Jun 2009 20:53:16 +0000 (20:53 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74389 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/ADT/FoldingSet.h

index e31e112d0e61ed86e567135792d92223cc8fba1d..1bcff3dc9eb3f30565f4fa3b196f5227992a6056 100644 (file)
@@ -51,7 +51,7 @@ namespace llvm {
 ///    public:
 ///      MyNode(const char *N, unsigned V) : Name(N), Value(V) {}
 ///       ...
-///      void Profile(FoldingSetNodeID &ID) {
+///      void Profile(FoldingSetNodeID &ID) const {
 ///        ID.AddString(Name);
 ///        ID.AddInteger(Value);
 ///       }