HomePhabricator

[NFC] Use hasSection instead of getSection().empty()

Authored by snehasish on Apr 22 2021, 5:38 PM.

Description

[NFC] Use hasSection instead of getSection().empty()

Use the optimized check hasSection() instead of calling
getSection().empty(). Originally suggested in D101004, but was dropped
in the commit.

Details

Committed
snehasishApr 23 2021, 10:00 AM
Parents
rGdf82fa8d9ba6: [AST] Update tests to query for introspection support
Branches
Unknown
Tags
Unknown