Page MenuHomePhabricator

[Sema][NFC] Remove Redundant Condition

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



Condition TypeQuals is checked both in an outer and in an inner if statement in static function ConvertDeclSpecToType() in file SemaType.cpp. 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

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