[polly] r229344 - Update Polly for the removal of LLVM_DELETED_FUNCTION now that '= delete' works on all supported compilers (MSVC2012 compat has been dropped)
David Blaikie
dblaikie at gmail.com
Sun Feb 15 15:40:18 PST 2015
Author: dblaikie
Date: Sun Feb 15 17:40:18 2015
New Revision: 229344
URL: http://llvm.org/viewvc/llvm-project?rev=229344&view=rev
Log:
Update Polly for the removal of LLVM_DELETED_FUNCTION now that '= delete' works on all supported compilers (MSVC2012 compat has been dropped)
Modified:
polly/trunk/include/polly/ScopDetection.h
polly/trunk/include/polly/ScopInfo.h
polly/trunk/include/polly/TempScopInfo.h
polly/trunk/lib/Transform/Canonicalization.cpp
polly/trunk/lib/Transform/CodePreparation.cpp
Modified: polly/trunk/include/polly/ScopDetection.h
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/include/polly/ScopDetection.h?rev=229344&r1=229343&r2=229344&view=diff
==============================================================================
--- polly/trunk/include/polly/ScopDetection.h (original)
+++ polly/trunk/include/polly/ScopDetection.h Sun Feb 15 17:40:18 2015
@@ -125,8 +125,8 @@ public:
private:
//===--------------------------------------------------------------------===//
- ScopDetection(const ScopDetection &) LLVM_DELETED_FUNCTION;
- const ScopDetection &operator=(const ScopDetection &) LLVM_DELETED_FUNCTION;
+ ScopDetection(const ScopDetection &) = delete;
+ const ScopDetection &operator=(const ScopDetection &) = delete;
/// @brief Analysis passes used.
//@{
Modified: polly/trunk/include/polly/ScopInfo.h
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/include/polly/ScopInfo.h?rev=229344&r1=229343&r2=229344&view=diff
==============================================================================
--- polly/trunk/include/polly/ScopInfo.h (original)
+++ polly/trunk/include/polly/ScopInfo.h Sun Feb 15 17:40:18 2015
@@ -162,8 +162,8 @@ public:
};
private:
- MemoryAccess(const MemoryAccess &) LLVM_DELETED_FUNCTION;
- const MemoryAccess &operator=(const MemoryAccess &) LLVM_DELETED_FUNCTION;
+ MemoryAccess(const MemoryAccess &) = delete;
+ const MemoryAccess &operator=(const MemoryAccess &) = delete;
isl_map *AccessRelation;
enum AccessType AccType;
@@ -355,8 +355,8 @@ llvm::raw_ostream &operator<<(llvm::raw_
/// At the moment every statement represents a single basic block of LLVM-IR.
class ScopStmt {
//===-------------------------------------------------------------------===//
- ScopStmt(const ScopStmt &) LLVM_DELETED_FUNCTION;
- const ScopStmt &operator=(const ScopStmt &) LLVM_DELETED_FUNCTION;
+ ScopStmt(const ScopStmt &) = delete;
+ const ScopStmt &operator=(const ScopStmt &) = delete;
/// Polyhedral description
//@{
@@ -628,8 +628,8 @@ public:
using MinMaxVectorVectorTy = SmallVector<MinMaxVectorTy *, 4>;
private:
- Scop(const Scop &) LLVM_DELETED_FUNCTION;
- const Scop &operator=(const Scop &) LLVM_DELETED_FUNCTION;
+ Scop(const Scop &) = delete;
+ const Scop &operator=(const Scop &) = delete;
ScalarEvolution *SE;
@@ -940,8 +940,8 @@ static inline raw_ostream &operator<<(ra
///
class ScopInfo : public RegionPass {
//===-------------------------------------------------------------------===//
- ScopInfo(const ScopInfo &) LLVM_DELETED_FUNCTION;
- const ScopInfo &operator=(const ScopInfo &) LLVM_DELETED_FUNCTION;
+ ScopInfo(const ScopInfo &) = delete;
+ const ScopInfo &operator=(const ScopInfo &) = delete;
// The Scop
Scop *scop;
Modified: polly/trunk/include/polly/TempScopInfo.h
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/include/polly/TempScopInfo.h?rev=229344&r1=229343&r2=229344&view=diff
==============================================================================
--- polly/trunk/include/polly/TempScopInfo.h (original)
+++ polly/trunk/include/polly/TempScopInfo.h Sun Feb 15 17:40:18 2015
@@ -199,8 +199,8 @@ typedef std::map<const Region *, TempSco
///
class TempScopInfo : public FunctionPass {
//===-------------------------------------------------------------------===//
- TempScopInfo(const TempScopInfo &) LLVM_DELETED_FUNCTION;
- const TempScopInfo &operator=(const TempScopInfo &) LLVM_DELETED_FUNCTION;
+ TempScopInfo(const TempScopInfo &) = delete;
+ const TempScopInfo &operator=(const TempScopInfo &) = delete;
// The ScalarEvolution to help building Scop.
ScalarEvolution *SE;
Modified: polly/trunk/lib/Transform/Canonicalization.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/Transform/Canonicalization.cpp?rev=229344&r1=229343&r2=229344&view=diff
==============================================================================
--- polly/trunk/lib/Transform/Canonicalization.cpp (original)
+++ polly/trunk/lib/Transform/Canonicalization.cpp Sun Feb 15 17:40:18 2015
@@ -34,9 +34,9 @@ void polly::registerCanonicalicationPass
namespace {
class PollyCanonicalize : public ModulePass {
- PollyCanonicalize(const PollyCanonicalize &) LLVM_DELETED_FUNCTION;
+ PollyCanonicalize(const PollyCanonicalize &) = delete;
const PollyCanonicalize &
- operator=(const PollyCanonicalize &) LLVM_DELETED_FUNCTION;
+ operator=(const PollyCanonicalize &) = delete;
public:
static char ID;
Modified: polly/trunk/lib/Transform/CodePreparation.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/Transform/CodePreparation.cpp?rev=229344&r1=229343&r2=229344&view=diff
==============================================================================
--- polly/trunk/lib/Transform/CodePreparation.cpp (original)
+++ polly/trunk/lib/Transform/CodePreparation.cpp Sun Feb 15 17:40:18 2015
@@ -65,9 +65,9 @@ static void DemotePHI(
/// @brief Prepare the IR for the scop detection.
///
class CodePreparation : public FunctionPass {
- CodePreparation(const CodePreparation &) LLVM_DELETED_FUNCTION;
+ CodePreparation(const CodePreparation &) = delete;
const CodePreparation &
- operator=(const CodePreparation &) LLVM_DELETED_FUNCTION;
+ operator=(const CodePreparation &) = delete;
LoopInfo *LI;
ScalarEvolution *SE;
More information about the llvm-commits
mailing list