[polly] r261787 - Replace std::auto_ptr with std::unique_ptr. NFC.

Michael Kruse via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 24 14:08:05 PST 2016


Author: meinersbur
Date: Wed Feb 24 16:08:05 2016
New Revision: 261787

URL: http://llvm.org/viewvc/llvm-project?rev=261787&view=rev
Log:
Replace std::auto_ptr with std::unique_ptr. NFC.

std::auto_ptr has been deprecated in C++11, which some compilers warn
about.

Modified:
    polly/trunk/include/polly/DependenceInfo.h

Modified: polly/trunk/include/polly/DependenceInfo.h
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/include/polly/DependenceInfo.h?rev=261787&r1=261786&r2=261787&view=diff
==============================================================================
--- polly/trunk/include/polly/DependenceInfo.h (original)
+++ polly/trunk/include/polly/DependenceInfo.h Wed Feb 24 16:08:05 2016
@@ -207,7 +207,7 @@ private:
   Scop *S;
 
   /// @brief Dependences struct for the current SCoP.
-  std::auto_ptr<Dependences> D;
+  std::unique_ptr<Dependences> D;
 };
 
 } // End polly namespace.




More information about the llvm-commits mailing list