[llvm-commits] [llvm] r74389 - /llvm/trunk/include/llvm/ADT/FoldingSet.h

Dan Gohman gohman at apple.com
Sat Jun 27 13:53:16 PDT 2009


Author: djg
Date: Sat Jun 27 15:53:16 2009
New Revision: 74389

URL: http://llvm.org/viewvc/llvm-project?rev=74389&view=rev
Log:
Add a 'const' in a comment.

Modified:
    llvm/trunk/include/llvm/ADT/FoldingSet.h

Modified: llvm/trunk/include/llvm/ADT/FoldingSet.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ADT/FoldingSet.h?rev=74389&r1=74388&r2=74389&view=diff

==============================================================================
--- llvm/trunk/include/llvm/ADT/FoldingSet.h (original)
+++ llvm/trunk/include/llvm/ADT/FoldingSet.h Sat Jun 27 15:53:16 2009
@@ -51,7 +51,7 @@
 ///    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);
 ///       }





More information about the llvm-commits mailing list