This is an archive of the discontinued LLVM Phabricator instance.

Automate common diagnostic checking for statement attributes
ClosedPublic

Authored by aaron.ballman on Mar 18 2021, 12:59 PM.

Details

Reviewers
aaron.ballman
Summary

Clang currently automates a fair amount of diagnostic checking for declaration attributes based on the declarations in Attr.td. It checks for things like subject appertainment, number of arguments, language options, etc. This patch uses the same machinery to perform diagnostic checking on statement attributes.

Diff Detail

Event Timeline

aaron.ballman requested review of this revision.Mar 18 2021, 12:59 PM
aaron.ballman created this revision.
aaron.ballman created this object with visibility "aaron.ballman (Aaron Ballman)".
Herald added a project: Restricted Project. · View Herald TranscriptMar 18 2021, 12:59 PM

Trying to trigger a new bot build because the old one got stuck.

aaron.ballman changed the visibility from "aaron.ballman (Aaron Ballman)" to "Public (No Login Required)".Mar 19 2021, 4:39 AM
aaron.ballman set the repository for this revision to rG LLVM Github Monorepo.
aaron.ballman removed a project: Restricted Project.
aaron.ballman removed a subscriber: jdoerfert.

Triggering another rebuild, perhaps the CI only works when the review is not private?

Herald added a project: Restricted Project. · View Herald TranscriptMar 19 2021, 4:40 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
aaron.ballman accepted this revision.Mar 19 2021, 5:36 AM

Accepting so I can close (the review was only created so I could run the CI and wasn't meant to be public in the first place).

This revision is now accepted and ready to land.Mar 19 2021, 5:36 AM