This is an archive of the discontinued LLVM Phabricator instance.

Check for a ‘buffer’ type instead of ‘buffer-live’.
ClosedPublic

Authored by phst on Apr 21 2023, 5:37 AM.

Diff Detail

Event Timeline

phst created this revision.Apr 21 2023, 5:37 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 21 2023, 5:37 AM
phst requested review of this revision.Apr 21 2023, 5:37 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 21 2023, 5:38 AM
phst updated this revision to Diff 515694.Apr 21 2023, 5:38 AM
  • Add customization group for MLIR.
Herald added a project: Restricted Project. · View Herald TranscriptApr 21 2023, 5:38 AM
phst updated this revision to Diff 515695.Apr 21 2023, 5:39 AM
  • Check for a ‘buffer’ type instead of ‘buffer-live’.
Herald added a project: Restricted Project. · View Herald TranscriptApr 21 2023, 5:39 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
phst updated this revision to Diff 515697.Apr 21 2023, 5:42 AM

Check for a ‘buffer’ type instead of ‘buffer-live’.

In Emacs 29, ‘buffer-live’ is no longer recognized as a type and generates a
compilation warning. Every function that requires a live buffer already checks
whether the buffer is live, so we don’t need to check ourselves.

phst retitled this revision from [Test] Regenerate checks using update_test_checks.py to Check for a ‘buffer’ type instead of ‘buffer-live’..Apr 21 2023, 5:42 AM
sammccall accepted this revision.Apr 21 2023, 6:07 AM
This revision is now accepted and ready to land.Apr 21 2023, 6:07 AM
phst added a comment.Apr 21 2023, 6:46 AM

Thanks for the review! I think you also need to land it (I don't seem to have the necessary permissions).

This revision was automatically updated to reflect the committed changes.