HomePhabricator

[Sema][NFC] Remove Redundant Condition

Authored by baloghadamsoftware on Jun 25 2020, 7:41 AM.

Description

[Sema][NFC] Remove Redundant Condition

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 https://reviews.llvm.org/D81272.

Differential Revision: https://reviews.llvm.org/D82563

Details

Committed
baloghadamsoftwareJul 1 2020, 12:04 AM
Differential Revision
D82563: [Sema][NFC] Remove Redundant Condition
Parents
rGff2d09148c91: [LLDB][Clang Integration][NFC] Remove redundant condition
Branches
Unknown
Tags
Unknown