HomePhabricator

[Core] GetAPInt should return an Optional

Description

[Core] GetAPInt should return an Optional

The current implementation returns a bool for indicating success and
whether or not the APInt passed by reference was populated. Instead of
doing that, I think it makes more sense to return an Optional<APInt>.

Details

Committed
xiaobaiAug 26 2019, 2:09 PM
Parents
rL369969: Debug Info: Support for DW_AT_export_symbols for anonymous structs
Branches
Unknown
Tags
Unknown