This is an archive of the discontinued LLVM Phabricator instance.

[OPENMP]Honor constantness of captured variables.
ClosedPublic

Authored by ABataev on Nov 17 2020, 9:56 AM.

Details

Summary

Fixes bug reported via Stackoverflow:
https://stackoverflow.com/questions/64179168/clang-overload-resolution-failure-with-templates-and-openmp-collapse

Need to honor constantness of private/target variables to make the code
compilable.

Diff Detail

Event Timeline

ABataev created this revision.Nov 17 2020, 9:56 AM
Herald added a project: Restricted Project. · View Herald TranscriptNov 17 2020, 9:56 AM
ABataev requested review of this revision.Nov 17 2020, 9:56 AM
jdoerfert accepted this revision.Nov 19 2020, 6:26 PM
This revision is now accepted and ready to land.Nov 19 2020, 6:26 PM
This revision was landed with ongoing or failed builds.Nov 20 2020, 11:12 AM
This revision was automatically updated to reflect the committed changes.