This is an archive of the discontinued LLVM Phabricator instance.

[LLDB][GUI] Add required property to text fields
ClosedPublic

Authored by OmarEmaraDev on Jul 21 2021, 10:00 AM.

Details

Summary

This patch adds a required property to text fields and their
derivatives. Additionally, the Process Name and PID fields in the attach
form were marked as required.

Diff Detail

Event Timeline

OmarEmaraDev created this revision.Jul 21 2021, 10:00 AM
OmarEmaraDev requested review of this revision.Jul 21 2021, 10:00 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 21 2021, 10:00 AM
clayborg requested changes to this revision.Jul 21 2021, 12:12 PM

Nice smaller changes!

lldb/source/Core/IOHandlerCursesGUI.cpp
1079

I would remove the default parameter to make sure everyone sets this correctly. It also will help avoid compilation issue if we ever add more parameters in the future as this can sometimes cause implicit conversion bugs.

1278–1279

Remove default argument value for "required" as mentioned above.

1290–1293

Remove default argument value for "required" as mentioned above.

1321–1323

Remove default argument value for "required" as mentioned above.

1875

Remove default argument value for "required" as mentioned above.

1883–1884

Remove default argument value for "need_to_exist" and "required" as mentioned above. Have everyone set them each time.

1892–1893

Remove default argument value for "need_to_exist" and "required" as mentioned above. Have everyone set them each time.

1900

Remove default argument value for "required" as mentioned above.

This revision now requires changes to proceed.Jul 21 2021, 12:12 PM
  • Remove default arguments
clayborg accepted this revision.Jul 21 2021, 2:40 PM
This revision is now accepted and ready to land.Jul 21 2021, 2:40 PM
This revision was landed with ongoing or failed builds.Jul 21 2021, 2:40 PM
This revision was automatically updated to reflect the committed changes.