================
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());
----------------
Benjamin Kramer wrote:
> std::remove should be sufficient here :)
Yep!  Thanks.


http://llvm-reviews.chandlerc.com/D2993

BRANCH
  fpsw

ARCANIST PROJECT
  clang
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to