This is an archive of the discontinued LLVM Phabricator instance.

Remove redundant code from lldb-mi.
ClosedPublic

Authored by abidh on Feb 23 2015, 10:16 AM.

Details

Summary

After recent changes, some code has become redundant. This revision tries to remove
the un-used code and tidy up the rest.

Following 4 files have been removed. I have updated CMake files and checked that it builds
fine on Linux and Windows. Can somebody update the xcode related file accordingly?

tools/lldb-mi/MICmnStreamStdinLinux.cpp
tools/lldb-mi/MICmnStreamStdinLinux.h
tools/lldb-mi/MICmnStreamStdinWindows.cpp
tools/lldb-mi/MICmnStreamStdinWindows.h

Diff Detail

Event Timeline

abidh updated this revision to Diff 20521.Feb 23 2015, 10:16 AM
abidh retitled this revision from to Remove redundant code from lldb-mi..
abidh updated this object.
abidh edited the test plan for this revision. (Show Details)
abidh added reviewers: clayborg, ki.stfu.
abidh added a subscriber: Unknown Object (MLST).
clayborg accepted this revision.Feb 23 2015, 10:52 AM
clayborg edited edge metadata.

Looks good.

This revision is now accepted and ready to land.Feb 23 2015, 10:52 AM
ki.stfu accepted this revision.Feb 24 2015, 8:11 AM
ki.stfu edited edge metadata.

Looks good. All tests pass on OS X.

tools/lldb-mi/MICmnStreamStdin.cpp
90–92

Can you add extra lines here? :)

}

m_bInitialized = bOk;

return MIstatus::success;
abidh closed this revision.Feb 24 2015, 9:10 AM
tools/lldb-mi/MICmnStreamStdin.cpp