This is an archive of the discontinued LLVM Phabricator instance.

[OpenMP] Add diagnostic for unterminated 'omp [begin] declare target'
ClosedPublic

Authored by mikerice on May 24 2022, 2:31 PM.

Details

Summary

Warns when end-of-file is reached without seeing all matching
'omp end declare target' directives. The diagnostic shows the
location of the related begin directive.

Diff Detail

Event Timeline

mikerice created this revision.May 24 2022, 2:31 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 24 2022, 2:31 PM
mikerice requested review of this revision.May 24 2022, 2:31 PM
This revision is now accepted and ready to land.May 25 2022, 2:55 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 25 2022, 10:34 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript

Cool! Can we have that for begin declare variant too :D ?

Cool! Can we have that for begin declare variant too :D ?

I'll take a look when I get a moment.