================
Comment at: lib/Parse/ParseStmt.cpp:2216-2217
@@ +2215,4 @@
+  // fpsr as clobbers.
+  auto End = std::remove_if(Clobbers.begin(), Clobbers.end(),
+                            [&](const std::string &s) { return s == "fpsw"; });
+  Clobbers.erase(End, Clobbers.end());
----------------
std::remove should be sufficient here :)


http://llvm-reviews.chandlerc.com/D2993
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to