This is an archive of the discontinued LLVM Phabricator instance.

[mlir][ods] Add Deprecate helper
ClosedPublic

Authored by jpienaar on Mar 21 2022, 11:18 AM.

Details

Summary

Add method to tag classes/defs as deprecated. Previously deprecations
were only verbally communicated and folks didn't have an active warning
while building about impending removal. Add mechanism to tag defs as
deprecated to allow warning users.

This doesn't change any policy, it just moves deprecation warnings from
comments to something more user visible.

Diff Detail

Event Timeline

jpienaar created this revision.Mar 21 2022, 11:18 AM
Herald added a project: Restricted Project. · View Herald Transcript
jpienaar requested review of this revision.Mar 21 2022, 11:18 AM
Mogball accepted this revision.Mar 21 2022, 1:22 PM
Mogball added inline comments.
mlir/tools/mlir-tblgen/mlir-tblgen.cpp
86

spel out the auto?

94

same here

99

and here

This revision is now accepted and ready to land.Mar 21 2022, 1:22 PM
This revision was automatically updated to reflect the committed changes.
jpienaar marked 3 inline comments as done.