[cfe-commits] r63708 - /cfe/trunk/include/clang/Basic/IdentifierTable.h

Chris Lattner sabre at nondot.org
Tue Feb 3 17:54:28 PST 2009


Author: lattner
Date: Tue Feb  3 19:54:28 2009
New Revision: 63708

URL: http://llvm.org/viewvc/llvm-project?rev=63708&view=rev
Log:
simplify.

Modified:
    cfe/trunk/include/clang/Basic/IdentifierTable.h

Modified: cfe/trunk/include/clang/Basic/IdentifierTable.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/IdentifierTable.h?rev=63708&r1=63707&r2=63708&view=diff

==============================================================================
--- cfe/trunk/include/clang/Basic/IdentifierTable.h (original)
+++ cfe/trunk/include/clang/Basic/IdentifierTable.h Tue Feb  3 19:54:28 2009
@@ -262,7 +262,7 @@
   ///
   IdentifierInfo &get(const char *NameStart, const char *NameEnd) {
     llvm::StringMapEntry<IdentifierInfo*> &Entry =
-      HashTable.GetOrCreateValue(NameStart, NameEnd, 0);
+      HashTable.GetOrCreateValue(NameStart, NameEnd);
     
     IdentifierInfo *II = Entry.getValue();
     





More information about the cfe-commits mailing list