[PATCH] D17641: [Polly] [MemAccInst] Delete all the assignment operators, as they are not need.

Michael Kruse via llvm-commits llvm-commits at lists.llvm.org
Sun Feb 28 07:56:57 PST 2016

Meinersbur added a comment.

OK, I looked something up: The compiler generates `operator=` based on the implicit ctors. Declaring them explicitly therefore is unnecessary.

But if `I` is declared `const`, the implicit `operator=(...)` is `= delete`d.

Could you therefore update the patch that it deletes the overloaded operators, but keeps `I` non-const?



More information about the llvm-commits mailing list