[llvm-commits] [llvm] r172454 - /llvm/trunk/include/llvm/ADT/DenseMap.h

Joe Groff arcata at gmail.com
Mon Jan 14 11:37:42 PST 2013


Author: joe
Date: Mon Jan 14 13:37:42 2013
New Revision: 172454

URL: http://llvm.org/viewvc/llvm-project?rev=172454&view=rev
Log:
Fix DenseMap when LLVM_HAS_RVALUE_REFERENCES is defined but equals 0.

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

Modified: llvm/trunk/include/llvm/ADT/DenseMap.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ADT/DenseMap.h?rev=172454&r1=172453&r2=172454&view=diff
==============================================================================
--- llvm/trunk/include/llvm/ADT/DenseMap.h (original)
+++ llvm/trunk/include/llvm/ADT/DenseMap.h Mon Jan 14 13:37:42 2013
@@ -159,7 +159,7 @@
     return std::make_pair(iterator(TheBucket, getBucketsEnd(), true), true);
   }
 
-#ifdef LLVM_HAS_RVALUE_REFERENCES
+#if LLVM_HAS_RVALUE_REFERENCES
   // Inserts key,value pair into the map if the key isn't already in the map.
   // If the key is already in the map, it returns false and doesn't update the
   // value.





More information about the llvm-commits mailing list