Fix two warnings in polly, -Wmismatched-tags and -Wreorder
llvm-svn: 310667
diff --git a/polly/lib/Transform/ForwardOpTree.cpp b/polly/lib/Transform/ForwardOpTree.cpp
index 0b916c5..9e809a3 100644
--- a/polly/lib/Transform/ForwardOpTree.cpp
+++ b/polly/lib/Transform/ForwardOpTree.cpp
@@ -197,7 +197,7 @@
// (i.e. not: { Dom[0] -> A[0]; Dom[1] -> B[1] }).
// Look through all spaces until we find one that contains at least the
// wanted statement instance.s
- MustKnown.foreach_map([&, this](isl::map Map) -> isl::stat {
+ MustKnown.foreach_map([&](isl::map Map) -> isl::stat {
// Get the array this is accessing.
isl::id ArrayId = Map.get_tuple_id(isl::dim::out);
ScopArrayInfo *SAI = static_cast<ScopArrayInfo *>(ArrayId.get_user());