This is an archive of the discontinued LLVM Phabricator instance.

[mlir] Add `empty` to `StringAttr`
ClosedPublic

Authored by Mogball on Sep 5 2023, 2:13 PM.

Details

Summary

It was common to see value.getValue().empty() or value.size()
instead of the idiomatic value.empty().

Depends on D159455

Diff Detail

Event Timeline

Mogball created this revision.Sep 5 2023, 2:13 PM
Herald added a reviewer: ftynse. · View Herald Transcript
Herald added a reviewer: dcaballe. · View Herald Transcript
Herald added a project: Restricted Project. · View Herald Transcript
Mogball requested review of this revision.Sep 5 2023, 2:13 PM
This revision was not accepted when it landed; it landed in state Needs Review.Sep 5 2023, 2:45 PM
This revision was automatically updated to reflect the committed changes.