This is an archive of the discontinued LLVM Phabricator instance.

[lldb-mi] Use find, not find_first_of, for "--".
ClosedPublic

Authored by brucem on Aug 31 2015, 9:23 PM.

Details

Summary

find_first_of will look for any of the characters, not the full
string passed in. When looking for "--" then, we must use find
and not find_first_of.

Diff Detail

Repository
rL LLVM

Event Timeline

brucem updated this revision to Diff 33662.Aug 31 2015, 9:23 PM
brucem retitled this revision from to [lldb-mi] Use find, not find_first_of, for "--"..
brucem updated this object.
brucem added reviewers: ki.stfu, abidh.
brucem added a subscriber: lldb-commits.
ki.stfu accepted this revision.Aug 31 2015, 9:34 PM
ki.stfu edited edge metadata.
This revision is now accepted and ready to land.Aug 31 2015, 9:34 PM
This revision was automatically updated to reflect the committed changes.