[polly] r177528 - Remove unnecessary explicit typing in std::make_pair

Andy Gibbs andyg1001 at hotmail.co.uk
Wed Mar 20 08:42:59 PDT 2013


Author: andyg
Date: Wed Mar 20 10:42:59 2013
New Revision: 177528

URL: http://llvm.org/viewvc/llvm-project?rev=177528&view=rev
Log:
Remove unnecessary explicit typing in std::make_pair

Modified:
    polly/trunk/lib/CodeGen/LoopGenerators.cpp

Modified: polly/trunk/lib/CodeGen/LoopGenerators.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/CodeGen/LoopGenerators.cpp?rev=177528&r1=177527&r2=177528&view=diff
==============================================================================
--- polly/trunk/lib/CodeGen/LoopGenerators.cpp (original)
+++ polly/trunk/lib/CodeGen/LoopGenerators.cpp Wed Mar 20 10:42:59 2013
@@ -203,7 +203,7 @@ void OMPGenerator::extractValuesFromStru
   for (unsigned i = 0; i < OldValues.size(); i++) {
     Value *Address = Builder.CreateStructGEP(Struct, i);
     Value *NewValue = Builder.CreateLoad(Address);
-    Map.insert(std::make_pair<Value *, Value *>(OldValues[i], NewValue));
+    Map.insert(std::make_pair(OldValues[i], NewValue));
   }
 }
 





More information about the llvm-commits mailing list