This is an archive of the discontinued LLVM Phabricator instance.

[OpenMP] parsing and sema support for 'close' map-type-modifier
ClosedPublic

Authored by saghir on Dec 14 2018, 2:01 PM.

Details

Summary

A map clause with the close map-type-modifier is a hint to prefer that the variables are mapped using a copy into faster memory.

Reference: TR7 Section 2.15.8 and 2.22.7.1

Diff Detail

Repository
rC Clang

Event Timeline

saghir created this revision.Dec 14 2018, 2:01 PM
saghir updated this revision to Diff 178336.EditedDec 14 2018, 7:08 PM

Made following changes:

  • added more tests for checking diagnostic error messages.
  • added initialization of modifiers' location in OMPMapClause.
  • improved variable names to depict multiple modifiers as opposed to a single modifier.
  • improved comments.

Also updated to get latest changes.

This revision is now accepted and ready to land.Dec 17 2018, 6:25 AM
This revision was automatically updated to reflect the committed changes.