This is an archive of the discontinued LLVM Phabricator instance.

[OpenMP] Refactor const restriction for linear
ClosedPublic

Authored by jdenny on Jan 3 2019, 3:37 PM.

Details

Summary

As discussed in D56113, this patch refactors the implementation of the
const restriction for linear to reuse a function introduced by D56113.
A side effect is that, if a variable has mutable members, this
diagnostic is now skipped, and the diagnostic for the variable not
being an integer or pointer is reported instead.

Diff Detail

Repository
rC Clang

Event Timeline

jdenny created this revision.Jan 3 2019, 3:37 PM
This revision is now accepted and ready to land.Jan 4 2019, 6:39 AM
jdenny updated this revision to Diff 180283.Jan 4 2019, 11:05 AM

Update for changes to earlier patches in series.

jdenny updated this revision to Diff 180301.Jan 4 2019, 12:25 PM

Update for changes to earlier patches in series.

jdenny set the repository for this revision to rC Clang.Jan 4 2019, 12:25 PM
This revision was automatically updated to reflect the committed changes.