Page MenuHomePhabricator

[LLDB][Clang Integration][NFC] Remove redundant condition

Authored by baloghadamsoftware on Jun 25 2020, 8:04 AM.



Condition omit_empty_base_classes is checked both in an outer and in an inner if statement in TypeSystemClang::GetNumBaseClasses(). This patch removes the redundant inner check.

The issue was found using clang-tidy check under review misc-redundant-condition. See

Diff Detail

Event Timeline

shafik accepted this revision.Jun 25 2020, 5:24 PM
shafik added a subscriber: shafik.


This revision is now accepted and ready to land.Jun 25 2020, 5:24 PM
This revision was automatically updated to reflect the committed changes.