HomePhabricator

[MemLoc] Use hasValue() method (NFC)

Authored by nikic on Thu, Nov 19, 12:53 PM.

Description

[MemLoc] Use hasValue() method (NFC)

Instead of comparing to LocationSize::unknown(), prefer calling
the hasValue() method instead, which is less reliant on
implementation details.

Details

Committed
nikicThu, Nov 19, 12:53 PM
Parents
rGd8eb99810dc3: [MemLoc] Specify LocationSize in unit test
Branches
Unknown
Tags
Unknown