Page MenuHomePhabricator

[MLIR] Add setPublic(), setPrivate(), and setNested() to Symbol interface
ClosedPublic

Authored by jurahul on Nov 9 2020, 11:44 AM.

Details

Summary
  • Add shorter helper functions to set visibility for Symbols.

Diff Detail

Event Timeline

jurahul created this revision.Nov 9 2020, 11:44 AM
jurahul requested review of this revision.Nov 9 2020, 11:44 AM

This is in prep for the verification check I'll be adding to disallow public declarations. Several place (in and out-of-tree) now need to mark declarations private and its much short to use of these functions.

mehdi_amini accepted this revision.Nov 9 2020, 11:53 AM
This revision is now accepted and ready to land.Nov 9 2020, 11:53 AM